You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code on GitHup is old, not compatible with current xarray. I stopped
working on it. In retrospect, the main idea was wrong. The GRIB2 and NetCDF
(which is what xarray uses) models are not compatible. In NetCDF, a
variable is identified by a name, with attributes. In GRIB2, iit is defined
by Section3: https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/. For
example:TMP is temperature. It can be at a given level, within a layer,
average in a time period and so on. All those are different variables and
have to be defined in the NetCDF model with different names. Pywgrib2
attempts to extend the name, for example TMP_100mb. However, this approach
is unwieldy, there are simply too many tags to be added.
I recommend cfgrib, it is well integrated with xarray. If you use GRIB2
files made by NCEP, you'll have to split them before passing them to
cfgrib. At least cfgrib will tell you when there is name conflict, instead
of attempting ugly variable names. Which does not always work anyway.
Le lun. 7 oct. 2024, à 17 h 45, stackjohn ***@***.***> a
écrit :
Hello, is there a guide which explains how to build this without conda?
I get this:
I'm not sure where the source of that file should be.
The text was updated successfully, but these errors were encountered: