@@ -27,7 +27,7 @@ def retrieve_era5_data(
2727 latlon: Latitude and longitude of the site.
2828 time_range: Start and end time of the model run.
2929 timestep: Desired timestep of the model, this is derived from the forcing data.
30- In a pandas-timedelta compatible format. For example: "1800S "
30+ In a pandas-timedelta compatible format. For example: "1800s "
3131
3232 Returns:
3333 Dictionary containing the variables extracted from ERA5.
@@ -68,7 +68,7 @@ def load_era5_data(
6868 latlon: Latitude and longitude of the site.
6969 time_range: Start and end time of the model run.
7070 timestep: Desired timestep of the model, this is derived from the forcing data.
71- In a pandas-timedelta compatible format. For example: "1800S "
71+ In a pandas-timedelta compatible format. For example: "1800s "
7272
7373 Returns:
7474 Dictionary containing the variables extracted from ERA5.
@@ -117,14 +117,15 @@ def get_era5_dataset(
117117 name: Either "ERA5" or "ERA5-land".
118118 time_range: Start and end time of the model run.
119119 timestep: Desired timestep of the model, this is derived from the forcing data.
120- In a pandas-timedelta compatible format. For example: "1800S "
120+ In a pandas-timedelta compatible format. For example: "1800s "
121121
122122 Returns:
123123 The ERA5 or ERA5-land dataset.
124124 """
125125 tol = RESOLUTION_ERA5 if name == "ERA5" else RESOLUTION_ERA5LAND
126126
127- ds = xr .open_mfdataset (files )
127+ ds = xr .open_mfdataset (files , chunks = "auto" )
128+
128129 check_era5_dataset (ds , name , latlon , time_range )
129130
130131 try :
0 commit comments