ecmwf / eccodes-python

Python interface to the ecCodes GRIB/BUFR decoder/encoder
Apache License 2.0
113 stars 32 forks source link

Description of the grid types #4

Closed jarethholt closed 5 years ago

jarethholt commented 5 years ago

I have a grib file with this grid specified:

gridDefinitionTemplateNumber = 50;
J = 639;
K = 639;
M = 639;
gridType = sh;
NV = 276;

From searching, I see that sh is a recognized grid that comes up in examples of allowed gridTypes, but I can't find any description of what that grid is. Despite being a known gridType, I can't get any of the grib tools to display lat/lon values. Can someone point me to what this grid is and how it should be used?

I am posting this here 1) because I plan to primarily use the Python tools, and 2) eccodes has no issues page.

alexamici commented 5 years ago

@jarethholt sh is the "spherical harmonics" grid type see for example: https://confluence.ecmwf.int/display/FCST/Spectral+representation+of+the+IFS . I don't know much about it myself and I think data cannot get the latitude/longitude of eveery point because sh is not a projection.

I'm sorry, I need to close this issue as it is a question about GRIB format, not really eccodes-python and not even ecCodes.