Skip to content

Version 3.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Sep 15:03
· 1 commit to main since this release
ccca299

v3.0.0

2024-09-11

The configuration file schema for earthdata-varinfo is significantly updated
in this release. For more information, see the release notes for schema v1.0.0
in config/CHANGELOG.md.

Added:

  • Groups within a NetCDF-4 or DMR file are now assigned to the VarInfo*.groups
    dictionary, allowing for their metadata attributes to be accessed after parsing
    an input file.

Changed:

  • CFConfig.get_cf_attributes has been renamed CFConfig.get_metadata_overrides,
    as there are now only overrides to be returned from this method. Calls to
    CFConfig.get_metadata_overrides now must specify a variable path. All
    overrides from a configuration file for a given collection are now retrievable
    from the newly public CFConfig.metadata_overrides class attribute.
  • Metadata overrides retrieved for a matching file path are ordered such that
    the most specific applicable override to the variable takes precedence. For
    example, when requesting the value of the "units" metadata attribute for
    variable "/nested/variable", an applicability rule that exactly matches this
    variable path will take precedence over rules matching to either the group,
    or all variables in the file.
  • Handling of nested Applicability_Groups has been removed from the CFConfig
    class, as the configuration file no longer nests these items in overrides.

Removed:

  • CFConfig._cf_supplements has been deprecated in favour of specifying all
    in-file metadata changes via a MetadataOverrides item (formerly
    CFOverrides) instead.