Welcome to Earthkit-transforms’s documentation!
earthkit-transforms is a library of software tools to support people working with climate and meteorology data. It is made of a sub-package called earthkit-transforms.aggregate which includes methods for aggregating data in time and space. earthkit-transforms has been designed following the philosophy of earthkit, hence the methods should be interoperable with any data object understood by earthkit-data.
Getting started
earthkit-transforms is available from PyPi. To make use of the interoperable functionality you should ensure that you have installed the dependencies of earthkit-data.
Installation
pip install earthkit-transforms
Import and use
from earthkit.transforms import aggregate
daily_mean = aggregate.temporal.daily_mean(MY_DATA)
Examples
- Aggregation examples
- General temporal aggregation methods
- Daily statistics from hourly ERA5 data
- Daily statistics from six-hourly SEAS5 data
- Providing a bespoke function to the temporal reduce methods
- Climatology calculations
- Plot the output for a random location
- Anomaly calculations
- Plot the output for a random location
- Masking data-cubes using geometry objects
- Reducing data-cubes using geometry objects
Documentation
Projects