Releases: glamod/marine_qc
v0.2.0
Contributors to this version: Ludwig Lierhammer (@ludwiglierhammer)
Announcements
- First release on zenodo
v0.1.0
Contributors to this version: Ludwig Lierhammer (@ludwiglierhammer), John Kennedy (@jjk-code-otter) and Trevor James Smith (@Zeitsperre).
Announcements
- This marine QC repository is a copy of the results of glamod/glamod-marine-processing#117. This repository replaces
glamod_marine_proccesing.qc_suite.modules
as an independent package (PR/6).
License and Legal
- Update copyright statements in LICENSE (PR/23, PR/43)
- Update author list for publishing on zendodo and readthedocs (GH/20, GH/25, PR/23, PR/43)
CI changes
- Use
cruft
and cookicutter templatehttps://github.com/Ouranosinc/cookiecutter-pypackage
(GH/13, PR/30, PR/55)
New features and enhancements
-
do_night_check
: reversedo_day_check
(PR/21) -
Added
get_value_fast
for extracting values from climatologies (PR/24) -
Added
mds_lat_to_yindex_fast
for extracting values from climatologies (PR/24) -
Added
mds_lon_to_xindex_fast
for extracting values from climatologies (PR/24) -
Implement plotting routines for QC outcomes (PR/24):
marine_qc.plot_qc_outcomes.latitude_variable_plot
: Plot a graph of points showing the latitude and value of a set of observations coloured according to the QC outcomes.marine_qc.plot_qc_outcomes.latitude_longitude_plot
: Plot a graph of points showing the latitude and longitude of a set of observations coloured according to the QC outcomes.
-
decorator
post_formt_return_type
has new parameters (PR/24):- dtype: Desired data type of the result. Default is int.
- multiple: If True, assumes the function returns a sequence of results (e.g., a tuple), and applies
format_return_type
to each element individually.
-
Both
do_bayesian_buddy_check
anddo_mds_buddy_check
allow a list of row numbers to be skipped (ignore_index
) (PR/24).
Internal changes
- Remove both jupyter notebook specific (nbqa-pyupgrade, nbqa-black, nbqa-isort, nbstripout) and json-related (pretty-format-json) pre-commit hooks (PR/7)
- Replace assert statements with if statement raising error messages (PR/7)
- Split some try statements into single if statements giving warnings (PR/7)
- Fixing some typos in docstrings and comments (PR/7)
- Improved unit test coverage (PR/9)
- combine
time_control.day_in_year
andtime_control.dayinyear
totime_control.day_in_year
(PR/9) - new function
time_control.valid_month_day
to validate month and day information (PR/9) - extract daytime check from
do_day_check
anddo_night_check
(PR/21) - vectorised many of the QC checks to speed up processing on large datasets (PR/24)
- moved to using pyproj for spherical geometry calculations (PR/24)
- removed dependence on old Climatology class (PR/24)
- utility functions moved from qc_sequential_reports to track_check_utils (PR/24)