Skip to content

Commit

Permalink
era5: back extension to 1940
Browse files Browse the repository at this point in the history
  • Loading branch information
fneum committed Apr 28, 2023
1 parent f672c70 commit 269ddb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Upcoming Release
A workaround is implemented in `atlite` which reduces the performance when building cutouts, especially for ERA5 cutouts.
The `nan` values in `cutouts` which are affected by the bug can not be recoevered and the `cutout` needs to be downloaded again.
For more details on the bug, see the `xarray issue tracker <https://github.com/pydata/xarray/issues/7691>`_.
* Support for newly released ERA5 back extension to 1940.

Version 0.2.10
==============
Expand Down
2 changes: 1 addition & 1 deletion atlite/gis.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def get_coords(x, y, time, dx=0.25, dy=0.25, dt="h", **kwargs):
{
"x": np.round(np.arange(-180, 180, dx), 9),
"y": np.round(np.arange(-90, 90, dy), 9),
"time": pd.date_range(start="1959", end="now", freq=dt),
"time": pd.date_range(start="1940", end="now", freq=dt),
}
)
ds = ds.assign_coords(lon=ds.coords["x"], lat=ds.coords["y"])
Expand Down

0 comments on commit 269ddb4

Please sign in to comment.