Version 0.18 Updates

Version 0.18.6

Dependency updates

Ensure compatibility between earthkit components by restricting the following dependencies:

  • earthkit-utils<0.2

  • earthkit-meteo<0.6

Version 0.18.5

Dependencies

  • Reverts the changes in 0.18.4 since the problems with the netcdf4=1.7.4 wheels have been fixed (#885)

Version 0.18.4

Dependencies

Version 0.18.3

Fixes

  • Fixed issue when using the fdb source with the lazy=True option resulted in string values instead of int for the following metadata keys: “level”, “levelist”, “date”, “time”, “step” (#858).

Version 0.18.2

Fixes

  • Fixed issue when the time_dim_mode="valid_time" option in to_xarray() did not work correctly when converted a list-of-dicts FieldList to Xarray (#850).

Version 0.18.1

Fixes

  • Fixed issue when the valid_datetime was not correctly constructed for GRIB data containing sub-minute steps (#845).

Version 0.18.0

Request based sources

Unified the way requests are specified/parsed for request-based sources (#828). Existing code still works without modification.

The new common interface looks like this:

from_source(name, custom args ..., *args, request=None, custom kwargs ..., **kwargs)

with:

  • *args : tuple. Positional arguments representing request dictionaries. Each item can be dictionary or a list/tuple of dictionaries.

  • **kwargs : dict. Keyword arguments representing request parameters.

  • request : dict or list of dict. A single request dictionary or a list/tuple of request dictionaries.

The logic applied to build the requests is described here.

This is implemented for the following sources: ads, cds, fdb, mars, ecmwf-open-data, polytope, wekeo, and wekeocds.

The following exceptions apply:

  • polytope passes all **kwargs to initialise the client

  • fdb cannot handle multiple requests

New features

  • Implemented caching for the polytope source to speed up repeated retrievals of the same data (#827).

Fixes

  • Fixed issue when the Field.clone method did not properly raise NotImplementedError (#832)