sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
216 stars 112 forks source link

upa files from weather.cod.edu/digatmos/upa/ #241

Open c0r3dump3d opened 1 year ago

c0r3dump3d commented 1 year ago

Hi, I have found sounding data in this format:

imagen

It is possible to process with sharppy?

keltonhalbert commented 1 year ago

Hi there!

Unfortunately no, and definitely not as shown right here. This is a broadcast format that requires an extra decoder and special logic to handle. For example, this data isn't for a single weather balloon - each TTAA message shown corresponds to 6 different weather balloon sites. There are also TTBB and PPBB messages required to reconstruct the temperature and wind profiles, which are likely in the dataset but organized in such a way that you would have to parse and decode the entire file. Decoding these messages is not trivial, and is traditionally handles by legacy C and FORTRAN decoders.

I do have some somewhat working Python code that would decode this, with the goal of including it in the MetPy package, but I have no ETA on when that will be ready for production.

If you are looking for data in a format that SHARPpy can handle, I would recommend loading text data from the University of Wyoming Sounding Archive.

c0r3dump3d commented 1 year ago

Thank you very much for the answer. Unfortunately for some unknown reason the soundings for my area (Spain) are not available on that link, and I don't know where to get them in a format that SHARPpy can read. Can someone maybe give me a clue where to find them?

imagen

c0r3dump3d commented 1 year ago

Hi, What format of the text data from University of Wyoming Sounding Archive, read SHARPpy? image

I try each one but SHARPpy said:

OSError: Could not figure out the format of

c0r3dump3d commented 1 year ago

Hi again, sorry for the insistence, ;-). I have found that in the web OGIMET are the sounding data from Spain, with this structure:

image

It's possible to process with SHARPpy?