Dean Meyer and Preston Pangle
The University of Alabama in Huntsville (UAH)
2020
The Huntsville SHARPpy Plotting Utility (HuSHPUpy) converts raw radiosonde data into several formats and generates SHARPpy-based Skew-T Log-P plots. It leverages several Python libraries (NumPy, Pandas, Matplotlib, SHARPpy) to convert raw iMet or Windsond files into formats compatible with RAOB, SHARPpy, and a general research format. Windsond data is processed with Pandas for quality-control and ease of viewing. HuSHPUpy also outputs custom SHARPpy plots serving as quick-looks for your data.
If you're only here to run HuSHPUpy, look no further. Follow these instructions to deploy HuSHPUpy to your system:
- Navigate to Releases on this GitHub repo.
- Download the latest .zip package.
- Unzip the downloaded package.
- Locate hushpupy.exe inside the package folder.
- This guide recommends creating a shortcut for the hushpupy.exe.
- Execute hushpupy.exe to run HuSHPUpy.
Note: HuSHPUpy will dump converted sounding files and images in C:/Converted_Soundings
This section provides instructions to support future development of HuSHPUpy.
HuSHPUpy requires these packages and their dependencies to run:
- Matplotlib <= 3.1.3
- SHARPpy == latest
- Pandas == latest
- Pyinstaller == latest
Original development of HuSHPUpy lived on Anaconda. It's much easier to create the correct environment for HuSHPUpy on Anaconda with this command:
conda env create -f hushpupy-env.yml
This environment includes PyInstaller, allowing future developers to release .exe applications.
HuSHPUpy may run from the command line, but it runs best as a .exe application. When future developers update the HuSHPUpy scripts, they will need to rebuild the .exe with PyInstaller. Follow these steps to rebuild HuSHPUpy:
- Through Anaconda prompt, navigate to the HuSHPUpy git repository on your system.
- Switch to the correct Anaconda environment by entering
conda activate hushpupy-env
- Build HuSHPUpy with the command
pyinstaller hushpupy-build.spec
- Note: As of August 2020, using PyInstaller's
--onefile
option makes HuSHPUpy unstable and is not recommended. - Some new files appear, including a dist directory. dist contains the directory hushpupy which holds several files including the .exe we need.
- Ensure that logo.png and essc_logo.png are inside hushpupy. HuSHPUpy will not run without these.
- HuSHPUpy is now built.
- Zip up the hushpupy directory with your favorite tool. We prefer 7-Zip.
- Attach this zipped file to a new GitHub release.