Skip to content

Commit 3e3ca60

Browse files
authored
Update readme.md
1 parent d558dca commit 3e3ca60

File tree

1 file changed

+34
-10
lines changed

1 file changed

+34
-10
lines changed

readme.md

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Above example will download the data for January 2022 to your `/path/to/era5-zar
143143

144144
## Options
145145

146-
### Meteorological features
146+
### Differen meteorological features
147147

148148
If you want more or different meteorological features than wind, temperature and humidity, specify the desired feature list as follows:
149149

@@ -159,6 +159,9 @@ era5_grid = ArcoEra5(local_store="/tmp/era5-zarr", features=features)
159159
flight_new = era5_grid.interpolate(flight)
160160
```
161161

162+
> [!CAUTION]
163+
> If you get a `RuntimeError: Requested features not in local zarr`, it means you have initialized the `local_store` path with different features. Choose a different path or delete the old folder first.
164+
162165
There are 273 variables from ARCO ERA5, which can be listed with the following code:
163166

164167
```python
@@ -175,13 +178,13 @@ print(ds.variables)
175178

176179
### Use 137 model levels
177180

178-
By default, `fastmeteo` uses the 37 pressure level version of the ARCO ERA5 data. If you want to use the 137 model level version of the data, you can do so by specifying the `model_levels` parameter as follows:
181+
By default, `fastmeteo` uses the 37-pressure-level version of the ARCO ERA5 data. If you want to use the 137 model level version of the data, you can do so by specifying the `model_levels` parameter as follows:
179182

180183
```python
181184
era5_grid = ArcoEra5(local_store="/tmp/era5-zarr", model_levels=137)
182185
```
183186

184-
Note that not all levels are used. Only the following levels are used for construction of the interpolation grid:
187+
Note that not all levels are used. Only the following levels are used for the construction of the interpolation grid:
185188

186189
```
187190
DEFAULT_LEVELS_37 = [
@@ -197,14 +200,35 @@ DEFAULT_LEVELS_137 = [
197200
]
198201
```
199202

200-
### Check the time interval of ARCO ERA5 data
201-
202-
You can discover the time interval covered as follows:
203+
> [!WARNING]
204+
> The list of features is different in the 137 model-level dataset. Only the following are available in 137 model-level dataset:
205+
> ```
206+
> divergence
207+
> fraction_of_cloud_cover
208+
> geopotential
209+
> ozone_mass_mixing_ratio
210+
> specific_cloud_ice_water_content
211+
> specific_cloud_liquid_water_content
212+
> specific_humidity
213+
> specific_rain_water_content
214+
> specific_snow_water_content
215+
> temperature
216+
> u_component_of_wind
217+
> v_component_of_wind
218+
> vertical_velocity
219+
> vorticity
220+
> ```
221+
222+
### Check the property of the ARCO ERA5 data
223+
224+
You can discover the properties of the data as:
203225
204226
```python
205-
import xarray as xr
206-
from fastmeteo.grid import arco_era5_url
227+
import xarray
228+
from fastmeteo.grid import arco_era5_url_level_37
207229
208-
dd = xr.open_zarr(arco_era5_url, chunks={"time": 48}, consolidated=True)
209-
dd.coords
230+
ds = xarray.open_zarr(
231+
arco_era5_url_level_37, chunks=None, storage_options=dict(token="anon")
232+
)
233+
ds
210234
```

0 commit comments

Comments
 (0)