Plucking nearest lat/lon point on a curvilinear grid #9269
Unanswered
nicolesplaining
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Here in SO is a topic discussing several solutions. HTH. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello, I like to use pyinterp to do a RTree search, e.g.:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with the HRRR data, which I loaded into xarray through a grib2 file. The file can be downloaded here.
The latitude and longitude are in terms of y and x and is in the lambert conformal conic projection with the specifications:
I would like to get the data at the point nearest to a specific lat/lon point, say (40.76, -111.876183) - which is in the regular cartesian coordinates. I can't use xarray advanced selection because the data is in terms of y and x, not lat/lon. How do I approach this?
Beta Was this translation helpful? Give feedback.
All reactions