Skip to content

Commit 1550db6

Browse files
committed
Adding mean orographic height static fields
Preparing for v0.3.4 release
1 parent cdada8c commit 1550db6

12 files changed

Lines changed: 27 additions & 18 deletions

File tree

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@ A plugin for [climetlab](https://github.com/ecmwf/climetlab) to retrieve the Eum
99

1010
Ease the download of the dataset time-aligned forecasts, reforecasts (hindcasts) and observations ([ERA5 reanalysis](https://www.ecmwf.int/en/forecasts/dataset/ecmwf-reanalysis-v5)).
1111

12-
> * **Climetlab plugin version**: 0.3.2
13-
> * **Intake catalogues version**: 0.2.3
12+
> * **Climetlab plugin version**: 0.3.3
13+
> * **Intake catalogues version**: 0.2.4
1414
> * **Base dataset version**: 1.0
1515
> * **EUPPBench dataset version**: 1.0
1616
> * **EUPreciPBench dataset version**: 0.5
1717
> * **Dataset status**: [Datasets status](https://eupp-benchmark.github.io/EUPPBench-doc/files/datasets_status.html#datasets-status)
1818
1919
An [Intake catalogue](https://github.com/EUPP-benchmark/intake-eumetnet-postprocessing-benchmark) is also available, as an alternative way to get the datasets.
2020

21+
## Installation
22+
23+
The catalogue can be installed using [pip](https://pypi.org/).
24+
Type in a terminal
25+
26+
pip install climetlab climetlab-eumetnet-postprocessing-benchmark
27+
28+
and you are set!
29+
2130
## Documentation of the datasets
2231

2332
There are currently three sub-datasets available:

climetlab_eumetnet_postprocessing_benchmark/EUPP/gridded/static_fields_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ...config import EUPP_baseurl
99

10-
__version__ = "0.3.2"
10+
__version__ = "0.3.3"
1111

1212
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
1313

climetlab_eumetnet_postprocessing_benchmark/EUPP/gridded/training_data_forecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from ...config import EUPP_baseurl
1111

12-
__version__ = "0.3.2"
12+
__version__ = "0.3.3"
1313

1414
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
1515

climetlab_eumetnet_postprocessing_benchmark/EUPP/gridded/training_data_reforecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .training_data_forecasts import TrainingDataForecastSurface, TrainingDataForecastPressure,\
55
TrainingDataForecastSurfaceProcessed
66

7-
__version__ = "0.3.2"
7+
__version__ = "0.3.3"
88

99

1010
class TrainingDataReforecastSurface(TrainingDataForecastSurface):

climetlab_eumetnet_postprocessing_benchmark/EUPP/stations/training_data_forecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from ...config import EUPP_baseurl
1111

12-
__version__ = "0.3.2"
12+
__version__ = "0.3.3"
1313

1414
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
1515

climetlab_eumetnet_postprocessing_benchmark/EUPP/stations/training_data_reforecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .training_data_forecasts import TrainingDataForecastSurface, TrainingDataForecastPressure,\
55
TrainingDataForecastSurfaceProcessed
66

7-
__version__ = "0.3.2"
7+
__version__ = "0.3.3"
88

99

1010
class TrainingDataReforecastSurface(TrainingDataForecastSurface):

climetlab_eumetnet_postprocessing_benchmark/EUPreciP/precipitations.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
#!/usr/bin/env python3
22
from __future__ import annotations
33

4-
import warnings
5-
64
import climetlab as cml
75
from climetlab import Dataset
86
from climetlab.utils.patterns import Pattern
97
from climetlab.normalize import normalize
108

119
from ..config import EUPreciP_baseurl
1210

13-
__version__ = "0.3.2"
11+
__version__ = "0.3.3"
1412

1513
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
1614
@@ -109,7 +107,7 @@ class StaticField(CosmoDataForecast):
109107

110108
dataset = None
111109

112-
_static_parameters = ["landu", "mterh", "z"]
110+
_static_parameters = ["landu", "mterh", "hsurf_DE", "hsurf_D2"]
113111

114112
@normalize("parameter", _static_parameters)
115113
def __init__(self, parameter):
@@ -118,5 +116,7 @@ def __init__(self, parameter):
118116
CosmoDataForecast.__init__(self, "_land_usage")
119117
elif parameter == "mterh":
120118
CosmoDataForecast.__init__(self, "_model_terrain_height")
121-
elif parameter == "z":
122-
CosmoDataForecast.__init__(self, "_z")
119+
elif parameter == "hsurf_DE":
120+
CosmoDataForecast.__init__(self, "_COSMO_DE_mean_orographic_height.zarr")
121+
elif parameter == "hsurf_D2":
122+
CosmoDataForecast.__init__(self, "_COSMO_D2_mean_orographic_height.zarr")

climetlab_eumetnet_postprocessing_benchmark/gridded/static_fields_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ..config import baseurl
99

10-
__version__ = "0.3.2"
10+
__version__ = "0.3.3"
1111

1212
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
1313

climetlab_eumetnet_postprocessing_benchmark/gridded/training_data_forecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from ..config import baseurl
1717
from ..utils import convert_to_datetime
1818

19-
__version__ = "0.3.2"
19+
__version__ = "0.3.3"
2020

2121
_terms_of_use = """By downloading data from this dataset, you agree to the terms and conditions defined at
2222

climetlab_eumetnet_postprocessing_benchmark/gridded/training_data_reforecasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
TrainingDataForecastSurfaceProcessed
1414
from ..utils import convert_to_datetime
1515

16-
__version__ = "0.3.2"
16+
__version__ = "0.3.3"
1717

1818
# TODO: Add a check for valid reforecast date and then warn the user if not valid
1919

0 commit comments

Comments
 (0)