A dataset plugin for climetlab for the dataset maelstrom-yr/yr.
Project description
maelstrom-yr
A dataset plugin for climetlab for the dataset maelstrom-yr. Check out this notebook.
Datasets description
Contains gridded weather data for the Nordics. It contains both predictors (gridded weather forecasts) and predictand (gridded analysis fields). The forecasts are used operationally for the Nordic region on https://www.yr.no and currently a simple ML-solution is used, as described in Nipen et al. 2020.
Using climetlab to access the data
The data can be loaded by the climetlab package (https://github.com/ecmwf/climetlab). The dataset has the following arguments:
- size: Which dataset to load (currently 5GB is supported, but in the future a 5TB dataset will be added)
- parameter: Which predictand to load (currently "air_temperature" is supported)
- dates: If left blank, the whole dataset is loaded. Otherwise, provide a list of dates in "YYYY-MM-DD" format to load a subset
Here is an example of how to load the data:
!pip install climetlab climetlab_maelstrom_yr
import climetlab as cml
ds = cml.load_dataset("maelstrom-yr", size="5GB", parameter="air_temperature", dates=['2020-06-29'])
ds.to_xarray()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file climetlab_maelstrom_yr-0.6.3.tar.gz
.
File metadata
- Download URL: climetlab_maelstrom_yr-0.6.3.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f633f0b889049cda2e9cc8601499f7b4b0228378efe06d3e1fcb2a24330702 |
|
MD5 | a33f5ce5fec365d4bf8a080519ee4f85 |
|
BLAKE2b-256 | 6a6837a1fa98fb614ba2e8861472a74c8288f4e01a907562a6d56fca43d32f9a |