SHARPpy icon indicating copy to clipboard operation
SHARPpy copied to clipboard

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

Open c0r3dump3d opened this issue 2 years ago • 4 comments

Hi, I have found sounding data in this format:

imagen

It is possible to process with sharppy?

c0r3dump3d avatar Jul 05 '22 14:07 c0r3dump3d

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.

keltonhalbert avatar Jul 06 '22 00:07 keltonhalbert

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 avatar Jul 06 '22 12:07 c0r3dump3d

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 avatar Jul 07 '22 09:07 c0r3dump3d

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?

c0r3dump3d avatar Jul 07 '22 15:07 c0r3dump3d