Releases: IOS-OSD-DPG/pycurrents_ADCP_processing
Releases · IOS-OSD-DPG/pycurrents_ADCP_processing
v1.0.1
What's Changed
This release ties up some loose ends that weren't dealt with in release v1.0.0:
- L0 processing is functional again. The L0 and L1 processing scripts were merged to make any future updates easier.
- Example routines were updated accordingly.
- Support for L0 files in the newer plots was added.
- Error catching for rotary spectra plots was added.
Changes can be viewed in the commit history - there were no changes submitted through pull requests.
v1.0.0
What's Changed
Changes to the L1 netCDF files
- Change output name format from STN_YYYYMMDD_YYYYMMDD_DPTHm.adcp.L1.nc to STN_YYYYMMDD_YYYYMMDD_DPTHm_L1.adcp.nc to agree with other mooring data files at IOS (CTD, current meter), and change header file names from STN_YYYYMMDD_YYYYMMDD_DPTHm.adcp to STN_YYYYMMDD_YYYYMMDD_DPTHm_L1.adcp
- Remove bad ensembles from before deployment and after recovery instead of setting them to NaNs and flagging them
- Move splitting of a dataset where pressure changes from a mooring strike from L2 to L1, and add a correction to new instrument depth(s)
- Correction = (segment 1 mean depth from pressure sensor) - (user-input instrument_depth), so instrument_depth for segment n = (segment n mean depth from pressure sensor) - correction
- Remove ALATZZ01, ALONZZ01, and ELTMEP01 variables and add "bodc_code" local attribute to the preexisting latitude and longitude variables and time dimension containing the values, "ALATZZ01", "ALONZZ01", and "ELTMEP01", respectively
- Remove unnecessary DTUT8601 variable containing time values in string format
- Change time _FillValue to NaN
- Change *_QC variable formats from int to float32 so that they can accept a NaN _FillValue
- Change instrument_depth from a global attribute to a variable to agree with other data types at IOS
- Change most global attribute name formats from camelCase to be underscore_separated to agree with other data types at IOS
- Remove repetitive global and local variable attributes
- Add check for Long Ranger Workhorse ADCPs (have frequency = 75 kHz) and update relevant object values for these instruments from the generic Workhorse formats:
- instrument_subtype: "Workhorse" -> "Workhorse Long Ranger"
- instrument_serial_number: "WH1234" -> "LR1234"
- instrument_model: "RDI WH ADCP 75kHz" -> "RDI WH Long Ranger ADCP 75kHz"
- Improve wording and content of processing_history global attribute
Plot changes
- New plots
- Feather plots for select bins: current vectors plotted over time
- Rotary spectra for selected bins
- Depth profile of rotary spectrum
- Depth profile of tidal ellipses
- Single bin North/East velocity plots
- Additional parameters have been added to the plot_westcoast_nc_LX.create_westcoast_plots() function to run any combination of plots
- Unify plot naming
- Various plot bug fixes and aesthetic improvements
Other changes
- Move netCDF variable local attributes and encoding into a .yml file to shorten the python code
- Add more warning for raw ADCP files with time values out of range and point to script
generate_time_range.py
to use for manually generating new time data - Move geographic_area assignment to within the main L1 processing script so that only one version of each netCDF file needs to be made
- Add more support for empty metadata file values
- Add sentence length checker to apply to header files for IOS Shell compliance
Notes
- The L0 and L2 scripts were left out of this update and should not be used before they are brought up-to-date in the next release.
- The PR Changelog is located at v0.0.2...v1.0.0, but the majority of commits were not carried out through PRs.
_FillValue encoding and plot naming fixes
Consistency fixes for netCDF variable _FillValue encoding and plot naming.