Replies: 3 comments
-
Unfortunately, I can no longer access those radar files in order to reproduce your example, as they return 404 Not Found. However, I suspect what is going on is that the warning messages in In case you were to go back and troubleshoot this on your own in the meantime with updated radar files, there are two bugs I'd recommend fixing in your modified example. First, you appear to be missing a comma in the nexrad_files = [
'KILX_20210115_103151.bz2'
'KLOT_20210115_103558.bz2'
] (which creates a single item list with an invalid file name) it should be nexrad_files = [
'KILX_20210115_103151.bz2',
'KLOT_20210115_103558.bz2'
] Second, Hopefully that helps, and sorry for this not being that easy to use for your use case at the current moment! |
Beta Was this translation helpful? Give feedback.
-
Okay I got something to show...
Is there a way to automatically figure out horizontal params? Or set it in degrees? |
Beta Was this translation helpful? Give feedback.
-
Nice, glad to hear you got it figured out! And thanks for the example; it will be good to use as a guide towards where simplifications to the Gridder class would be helpful. To automatically figure out horizontal params, you could use a pyproj transformer to convert between any coordinate systems that you'd want. Otherwise, you should also be able to easily grid onto a lat/lon grid instead of LCC. Just specify the cf_attrs to be cf_attrs = {
"grid_mapping_name": "latitude_longitude"
} (with any optional globe param controls that you'd want), and then you just set the horizontal params in degrees (e.g., make sure dx and dy get changed to something like 0.02). |
Beta Was this translation helpful? Give feedback.
-
I am trying to do something similar to:
But with OpenMosaic, so I cut and paste some stuff from (I edited stuff in if __name == "main"):
https://github.com/jthielen/OpenMosaic/blob/main/examples/process_full_conus.py
But I get all NaNs at the end.
Beta Was this translation helpful? Give feedback.
All reactions