Earthdata-varinfo

Latest version: v2.2.1

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

Scan your dependencies

Page 2 of 5

2.2.0

2022-09-12

This minor version update adds the `VarInfoBase.get_variables_with_dimensions`
method to allow a client to retrieve all variables that have a specified set of
dimensions. This will return both variables that only have the listed
dimensions and variables for which the list of dimensions is a subset of all
the variable dimensions.

2.1.2

2023-11-14

This version of `earthdata-varinfo` updates the value of the `LongName`
attribute in generated UMM-Var records to use the value of the CF-Convention
`long_name` attribute for a variable, if it is present in the file. If this
attribute is not present in the in-file metadata, then the full path to the
variable (without the leading `/`) is used as before.

2.1.1

2023-10-24

Fixed deployment issues

2.1.0

2022-08-31

This minor version updates the `VarInfoFromDmr` and `VarInfoFromNetCDF4`
classes to optionally accept a collection short name via the new `short_name`
keyword argument. If this is supplied, it will be used as the identifier for
the collection associated with the granule metadata being parsed. If
`short_name` is not supplied, the `VarInfo` classes will scan the granule for
known metadata attributes that contain the collection short name, as before.
This new `short_name` argument allows for clients to specify the collection
short name in cases where it is not listed in the metadata of a granule, which
is particularly useful if there are metadata overrides or supplements required
for granules within that collection.

2.0.0

2022-08-04

This major version updates both the `VariableBase` and `VarInfoBase` classes
to allow the retrieval of projected horizontal spatial dimensions. The
`VarInfoBase.get_spatial_dimensions` method now retrieves both geographic and
projected horizontal spatial dimensions, instead of just geographic dimensions.
Two new methods have been added to the class:
`VarInfoBase.get_geographic_spatial_dimensions`, which replaces the old
functionality of `VarInfoBase.get_spatial_dimensions` to retrieve only
geographic dimensions. `VarInfoBase.get_projected_spatial_dimensions` will
retrieve only projected horizontal spatial dimensions.

The `VariableBase.is_projected_x_or_y` method has been added in support of this
functionality.

1.2.5

2022-05-19

This patch version updates the `Variable.is_temporal` method such that it can
handle variables without a `units` metadata attribute. In these instances, the
variable will be determined to not be temporal.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.