sharppy / SHARPpy

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

Loading .buf files (only on Windows) #169

Open vgensini opened 5 years ago

vgensini commented 5 years ago

SHARPpy will not load .buf files (e.g., http://mtarchive.geol.iastate.edu/2018/09/25/bufkit/21/rap/rap_kmke.buf) on Windows 7 machine (64 bit). Problem occurs with both 1.4.0 (Andover) and 1.3.0 (Xenia).

The files load just fine in 1.3.0 (Xenia) via MacOSx.

wblumberg commented 4 years ago

Hey Victor,

Do you have any additional information about this issue? Have you done any debugging on your end? I'm working on getting the Andover version out, but I haven't gotten to look into this yet. Been busy.

Thanks!

Greg

vgensini commented 4 years ago

Hi Greg! Sorry but nothing more at this point other than what is mentioned. I will try to look more in depth soon.

wblumberg commented 4 years ago

Great! I can give you some instructions of what to do with Andover that might help find out what's going on. If you run python full_gui.py --debug, the terminal will get very noisy and should help reveal where the issue is. I don't have a Windows 7 machine readily accessible, but I do know that a unit test exists in Andover to make sure the BUFKIT decoder works (test file is in examples/data/). It's been passing on Linux/Windows/macOS VMs for a while now. Maybe this is a file formatting/line endings issue?

FYI: Andover hooks straight into that BUFKIT archive now, so you probably won't need to worry about downloading from that archive anymore.