ecmwf / ecmwf-opendata

A package to download ECMWF open data
Apache License 2.0
160 stars 27 forks source link

support 0p25 data #32

Closed DaiDai-Dad closed 5 months ago

DaiDai-Dad commented 5 months ago

the 0p25 data has been published on January 31, 2024. The current version does not seem to support this data. Client(... beta=True, ... ) beta is a boolean that indicates whether to access the beta or the production version of the dataset. Current only beta=True is supported.

DaiDai-Dad commented 5 months ago

I have tried this: change 'resol="0p4-beta" if self.beta else "0p4",' to 'resol="0p4-beta" if self.beta else "0p25",', It can download grib2 file but mistake occured when I open the file using Panoply: image

DaiDai-Dad commented 5 months ago

My mistake, the method 'resol="0p4-beta" if self.beta else "0p25",' is feasible, and the downloaded data can be correctly read and plotted in matplotlib.