Skip to content

Commit e3ccf1e

Browse files
author
FabianHofmann
authored
era5.py: rename "orography" > "geopotential" (#176)
test: slightly change bounds of prepared cutout
1 parent 9990b1f commit e3ccf1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

atlite/datasets/era5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def sanitize_runoff(ds):
181181

182182
def get_data_height(retrieval_params):
183183
"""Get height data for given retrieval parameters."""
184-
ds = retrieve_data(variable="orography", **retrieval_params)
184+
ds = retrieve_data(variable="geopotential", **retrieval_params)
185185

186186
ds = _rename_and_clean_coords(ds)
187187
ds = _add_height(ds)

test/test_preparation_and_conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def hydro_test(cutout):
242242

243243

244244
TIME = "2013-01-01"
245-
BOUNDS = (-4, 56, 1.5, 61)
245+
BOUNDS = (-4, 56, 1.5, 62)
246246
SARAH_DIR = os.getenv("SARAH_DIR", "/home/vres/climate-data/sarah_v2")
247247
GEBCO_PATH = os.getenv("GEBCO_PATH", "/home/vres/climate-data/GEBCO_2014_2D.nc")
248248

0 commit comments

Comments
 (0)