Earthdata-varinfo

Latest version: v3.0.1

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

1.2.1

2021-12-01

The `VarInfoFromDmr._set_global_attributes` class method has been updated to
correctly handle `Attribute` XML elements with a DAP4 type: `Container`.

1.2.0

2021-11-18

The `VariableBase` class has been updated to include an `is_temporal` method.
This will return a boolean value indicating whether the variable has a `units`
metadata attribute conforming to the format outlined in the CF-Conventions
(section 4.4). A convenience method `Variable.get_attribute_value` has been
added This will allow an end-user to retrieve the value of a metadata
attribute, while specifying a default value. Lastly, the
`VarInfoBase.get_temporal_dimensions` method has been added, which retrieves a
set of required `Variables` for which `Variable.is_temporal()` is true, based
on a set of requested variables.

1.1.0

2021-09-03

The `VariableBase` class has been updated to retrieve all metadata attributes,
rather than only named attributes. In addition the retrieval of CF-Convention
references from metadata attributes has been consolidated into a `references`
class attribute. This causes a minor change to clients attempting to access
coordinate variable references: `variable.reference.get('coordinates')`. The
`VariableBase.dimensions` attribute remains in place, and will still be
combined with other variable references when using the `get_references` class
method.

1.0.1

2021-08-20

The `VarInfoBase.get_required_variables` and
`VarInfoBase.get_required_dimensions` methods have been updated to filter out
any variable references that point to non-existent variables. This might occur
when a variable has a dimension only present to denote array size. For example,
a CF-Convention `bounds` reference variable, such as `lat_bnds`. In these
cases, the variable will have an additional dimension without a corresponding
variable. The amended class methods continue to return references to all
variables that are both listed via variable metadata and present in the
granule.

1.0.0

2021-07-07

New `VarInfoFromNetCDF4` and `VariableFromNetCDF4` classes have been added to
`sds-varinfo` so that a raw NetCDF-4 file can be parsed to provide the same
level of granule information as from a `.dmr` file.

Additionally, the `CFConfig` class has been updated to not require a
configuration file, resulting in an instance of the class with no CF-Convention
overrides or supplements.

0.2.1

2021-06-18

The `VarInfoFromDmr` class has been updated to make it compatible with `.dmr`
files that place global variables in a container `Attribute` element with a
name of "HDF5_GLOBAL". This is preferentially selected as the root element for
global attribute extraction, falling back on the main `Dataset` element if it
is not present.

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.