Version 0.18 Updates¶
Version 0.18.6¶
Dependency updates¶
Ensure compatibility between earthkit components by restricting the following dependencies:
earthkit-utils<0.2earthkit-meteo<0.6
Version 0.18.5¶
Dependencies¶
Reverts the changes in 0.18.4 since the problems with the
netcdf4=1.7.4wheels have been fixed (#885)
Version 0.18.4¶
Dependencies¶
Disabled using
netcdf4=1.7.4in the dependencies since it did not provide wheels for python 3.12 and 3.13 (#869). See: https://github.com/Unidata/netcdf4-python/issues/1461
Version 0.18.3¶
Fixes¶
Version 0.18.2¶
Fixes¶
Fixed issue when the
time_dim_mode="valid_time"option into_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_datetimewas 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:
New features¶
Fixes¶
Fixed issue when the Field.clone method did not properly raise NotImplementedError (#832)