Why does the HRRR model have 2-dimensional grids for latitude and longitude? #45
-
After reading https://cfconventions.org/Data/cf-conventions/cf-conventions-1.1/build/ch05s02.html and several Stackoverflow answers I'm still unclear how to properly interpret the situation when the Following the example on the Herbie main page:
It looks like both latitude and longitude describe the whole grid each just by themselves, and two grids are different. Trying to make sense of this, I looked at Lines 132 to 143 in f1ae91b The way I'm reading this is: "the location you're searching for may be best matched either by a point in So with that, the questions are
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Many limited-area NWP models (the HRRR included) do not have a Cartesian coordinate system. The HRRR model domain is on a lambert-conformal projection, and 2D coordinates for both lat and lon are required to describe the location of each model point on the earth. The alternative is to use the projection's coordinate system, but that is not as intuitive as lat/lon coordinates.
For what it's worth, plucking out nearest-neighbor points for curvilinear grids is not trivial; xarray has been trying to add this capability for several years. My |
Beta Was this translation helpful? Give feedback.
-
Thanks for this helpful informations :) I try to achieve this kind of indexing ( example from Icon dataset ) |
Beta Was this translation helpful? Give feedback.
Many limited-area NWP models (the HRRR included) do not have a Cartesian coordinate system. The HRRR model domain is on a lambert-conformal projection, and 2D coordinates for both lat and lon are required to describe the location of each model point on the earth. The alternative is to use the projection's coordinate system, but that is not as intuitive as lat/lon coordinates.
For what it's worth, plucking out nearest-neighbor points for curvilinear grids is not trivial; xarray has been trying to add this capab…