v3.0.4
Overall
requirements.txt has changed - be sure to update dependencies /opt/basestation/bin/pip install -r /usr/local/basestation3/requirements.txt after installing the new code.
Many small bug fixes. Larger features/changes noted below.
Full Changelog: v3.0.3...v3.0.4
Core Basestation
New option --allow_insufficient_dives
CTD corrections require at least two valid data points to be present in order to attempt data correction. In some situations (such as manually setting all the conductivity readings for a dive to be QC_BAD) it may be useful to remove this restriction and let the data corrections proceed.
New option to control whole mission timeseries and profile contents --whole_mission_config
The yaml configuration file specified with the switch --whole_mission_config is used by MakeMissionTimeSeries and MakeMissionProfile
(or Base.p/Reprocess.py when generating whole mission products) to add, delete or
change data types included in the whole mission files. See whole_mission.yml for full documentation.
New basestation extension - CTDAdjustments.py
This extension adds extra data columns for temperature and salinity to reflect post processing T and S adjustments.
See basestation3/sg000/.extensions for setup details (its just adding the single line under [postnetcdf]).
You can put this in the .extension file under basetation3/etc or in the .extensions file in the glider’s mission directory.
Once installed, two additional options are available for Base.py or Reprocess.py - —adjust_final_temperature —adjust_final_salinity (both take float arguments)- these will add the columns temperature_adjusted and salinity_adjusted respectively to the per-dive netcdf files. By default, these columns are added to the whole mission timeseries and profile products as well, but can be configured using the whole_mission.yml file.
sg_directives.txt format checking added
Some rudimentary checking has been added for catch improper formatting of the sg_directives.txt file.
New tool - SectionsTimes.py
tools/SectionTimes.py will calculate the time spent on each mission leg, as specified in sections.yml
vis server
Improved selftest capture file analysis
The selftest capture file page now does more detailed analysis of motor movements (RevE only) looking for issues with motors or motor potentiometers.
Added EEZ layer (under chart)
Switched to AIS Density (under chart)
Added links for marinetraffic and windy in weather context popup
Basestation development
These changes may be of interest to the broader community, but primarily impact the core development team and are not related to use of the basestation code for visualization or data conversion.
CI added
Test suites have been added along with a github CI action to run them after each commit. In order to run the tests, the dependencies in requirements-ci.txt must be installed. See Makefile for the command line to run the tests outside of github actions.