Skip to content

Latest commit

 

History

History
263 lines (177 loc) · 7.21 KB

NEWS.rst

File metadata and controls

263 lines (177 loc) · 7.21 KB

News / Release Notes

5.5.11

Release Date: 30-Aug-2023

  • Fix issue where fill values were used in var_range calculations
  • Update Python versions in CI actions

5.5.10

Release Date: 27-Oct-2022

  • Add support for daily-resolution climatologies
  • During CI actions, update package lists before install system dependencies

5.5.9

Release Date: 22-Aug-2022

  • Remove an unneccesary and distracting print statement

5.5.8

Release Date: 25-Sep-2021

  • Parse datasets whose metadata attributes follow the CMIP6 standard (in addition to already-supported CMIP5 and CMIP3)
  • Fix a bug that prevented generating unique IDs for hydromodel datasets driven by observations
  • Update netCDF4 version to >= 1.5.4 in response to warnings about a deprecated numpy method
  • Use github actions for CI testing
  • clearer separation in roles between setup.py and requirements.txt

5.5.6

Release Date: 3-Apr-2020

  • Fix a bug in the automatic pypi upload process

5.5.5

Release Date: 1-Apr-2020

  • Fix a bug in the Jenkinsfile pypi upload process

5.5.4

Release Date: 1-Apr-2020

  • Correctly determine climatology interval coverage when a dataset ends on the last timestamp of the climtology
  • Discontinue CI testing for Python <3.6
  • Add Jenkinsfile for automatic testing and building

5.5.3

Release Date: 11-Oct-2019

  • Add support for time-invariant datasets
  • Add README

5.5.2

Release Date: 22-Mar-2019

  • [Extend _cmor_type_filename_components(...) method to support downscaled gridded observations](#59)

5.5.1

Release Date: 26-Feb-2019

  • Add property AutoGcmPrefixedAttribute.is_multi_year to generalize the is_multi_year_mean

5.5.0

Release Date: 22-Aug-2018

  • [Support streamflow model output files; more generally, support discrete sampling geometry (DSG) files](#33)

5.4.0

Release Date: 21-Aug-2018

  • Erroneous release: same as 5.3.0.

5.3.0

Release Date: 10-Jan-2018

  • Add method ``CFDataset.proj4_string(var_name)``(#50) that returns a PROJ.4 string describing the coordinate reference system (CRS) defined in the file's metadata for that variable.

5.2.0

Release Date: 23-Nov-2017

  • Add workaround to support indexing non-CMIP*/climate model based outputs. Adds 'other' project_id and new mappings for unified metadata attributes.

5.1.3

Release Date: 02-Nov-2017

  • No change. Using to test local PyPI server upload.

5.1.2

Release Date: 30-Oct-2017

  • Fix [360-day calendar bug](#45).

5.1.1

Release Date: 06-Oct-2017

  • Fix [non-existent time bounds bug](#43).

5.1.0

Release Date: 03-Oct-2017

  • Update CFDataset to handle CLIMDEX files derived from downscaled GCM outputs.

5.0.0

Release Date: 20-Sep-2017

  • Remove CFDataset.climo_output_filename. A breaking change, although no one uses it.

4.0.0

Release Date: 19-Sep-2017

  • Update the metadata-aware parts of nchelpers to meet the revised PCIC metadata standard. This is a deemed breaking change because this library is no longer compatible with files that do not meet the revised standard.

3.0.0

Release Date: 18-Sep-2017

  • Migrate time-bounds functions from modelmeta. These now support modelmeta and provide more robust internal support for time-bounds based functions like unique_id and cmor_filename.
  • Add optional argument to CFDataset.dependent_varnames to specify the dimesions on which the returned variables must be dependent. Is a breaking change since this changes dependent_varnames from a property to a method.

2.1.0

Release Date: 23-Aug-2017

  • Add path-conversion option to CFDataset.filepath. See [Issue 26](#26)

2.0.0

Release Date: 03-Aug-2017

  • Because of the change to exception-raising noted below, this is technically a breaking change. However, all unit tests of all clients of this package have been run against this new version without failure.
  • Raises package-defined exceptions instead of generic exceptions. This corrects problems caused by netCDF4 capturing and reraising ``AttributeError``s containing a generic error message and lacking stack context of the original error.
  • Fixes a bug in which time units were attempted to be taken from a time bounds variable and not from the time variable proper. This affected the identification of climatological bounds and of files containing multi-year means released in ver 1.1.0.

1.1.0

Release Date: 18-Jul-2017

  • Makes identification of climatological bounds and identification of files containing multi-year means more flexible, i.e., accommodates files that do not comply with PCIC and CF metadata standards but which can be interpreted with the application of some reasonable heuristics. * Adds 'strict_metadata' flag to CFDataset to determine whether strict metadata standards

    are applied, or heuristics. Default non-strict.

    • Climatology bounds heuristics: * Look for variables with likely names, in some cases with addtional check for

      plausible bounds values

      • Allow 'bounds' attribute instead of 'climatology' attribute, check plausible bounds values.
      • For details, see #22
    • Multi-year mean heuristics: * Climatology bounds identified in non-strict mode. * Time variable with suspicious length and with plausible values. * For details, see #22

  • Classifies time resolution more flexibly: * Returns 'seasonal' for time periods between 88 and 92 days. (new - breaking change) * Returns 'monthly' for time periods between 28 and 31 days. (extended) * Returns 'yearly' for time periods of 360, 365, and 366 days. (extended)

1.0.5

Release Date: 27-Jun-2017

  • Adds 'gcm' property, which automatically adds appropriate prefix to dataset attribute name to access the attributes describing the original GCM input data used by the program that generated the file.
  • Uses 'gcm' auto-prefix properties for 'metadata' properties so that they are valid across all PCIC standard data files (not just GCM output).
  • Makes code entirely PEP8 compliant.

1.0.4

Release Date: 12-Jun-2017

  • Fixes first_MiB_md5sum attribute of CFDataset to be hex rather than binary
  • More updates in support of modelmeta index_netcdf.py * Adds 'depth' to set of recognized Z axis dimensions * Adds md5 attribute for a digest of the full file * Adds to_datetime to the date utils * Adds method var_range() * Adds method var_bounds_and_values()

1.0.3

Release Date: 06-Jun-2017

  • Adds undeclared dependency to setup.py (GH #17)

1.0.2

Release Date: 05-Jun-2017

  • Improves detection of GCM ensemble member attributes
  • Improves the handling and detection of dimension attributes
  • Reduces the size of testing files in the repo

1.0.1

Release Date: 11-Apr-2017

  • Adds support for "indirect values" in the CFDataset class