-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import metar or synop data fo metpy #3737
Comments
What code are you trying that produces the above ValueError? Is it lifted exactly from an example? Did you tweak it to plot a different date? Which is "the nice GDI map"? What "related issue section" do you mean? I would guess "the nice GDI map" is one of the ones from the example gallery, perhaps this one, but none of them mention a GDI. |
Thank you @dwes, I am trying the example station_plot.py which works as it is. Now when I download other metar datasets from the server https://thredds.ucar.edu/thredds/catalog/noaaport/text/metar/catalog.html I am getting this error message. I tried 3 different dates. For the GDI it relates to the following issue.: THe example related to GDI is : #3121 |
The catalog you linked only displays files for the last month or so: does 2025-01-17T12Z work for you? There's tests calculating GDI here: MetPy/tests/calc/test_thermo.py Lines 2527 to 2566 in 1a00500
with data defined here: MetPy/tests/calc/test_thermo.py Lines 2365 to 2406 in 1a00500
Loading the data required for the calculation from a file (downloaded from, say, NCEP for the US models or Copernicus for ERA5 data) and feeding it to the function would produce the GDI to plot. |
Here's the implementation of Lines 14 to 40 in 1a00500
as the name implies, it's only designed for the MetPy test data, not arbitrary dates. I don't remember if Siphon will download metar data for you, but you could download the files manually with |
I am facing an error for metar not in the registry, which means associated with package:
ValueError: File 'metar_20230114_1200.txt' is not in the registry
1)I need help on how to load other imported metar and synops to be handled by the station_plot.py script.
THank you
The text was updated successfully, but these errors were encountered: