-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The input file name had to be in a very specific form. Now, it can be more flexible but it should include the direction (ascent or descent). Otherwise, no SkewT plot will be created. Furthermore, this commit contains an update of the Readme.
- Loading branch information
1 parent
69f451b
commit 01123a1
Showing
2 changed files
with
94 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
# Visualization of radiosonde data | ||
# Visualization of level 1 radiosonde data | ||
|
||
This folder contains a plotting script for converted sounding data | ||
This folder contains a plotting script for converted level 1 sounding data | ||
|
||
## plot_radiosonde_data | ||
|
||
This script needs the `metpy` package installed (`conda install metpy`). | ||
Requirements: The script needs the `metpy` package (`conda install metpy`). | ||
|
||
Running the script: | ||
``` | ||
python plot_radiosonde_data.py -i inputfilename -o outputdirectory | ||
python plot_radiosonde_data.py -i infile -o outdir | ||
``` | ||
For inputfilenames of the form "{ship}\_{date}\_{time}\_{direction}.nc" (e.g. MARIA_S_MERIAN_20221102_110535_ascent.nc), | ||
the required inputfilename is "{ship}\_{date}\_{time}" (e.g. MARIA_S_MERIAN_20221102_110535). | ||
* `infile`: input file. It should include the direction (ascent or descent) in its name. If no direction is given in the name of the input file, no SkewT plot will be created. | ||
* `outdir`: output directory. Three subfolders `Quantities`, `SkewT`, and `Trajectories` will be created in the output directory if not already existing. | ||
|
||
This script produces 5 plots: | ||
* Trajectory of the radiosonde | ||
* Wind speed and direction of ascent and descent | ||
* temperature T, dew point tau, relative humidity rh, and water vapor mixing ratio for ascent and descent | ||
* SkewT diagram of ascent | ||
* SkewT diagram of descent | ||
The script produces 3 plots: | ||
* Trajectory of the radiosonde in `Trajectories` | ||
* Temperature T, dew point tau, relative humidity rh, water vapor mixing ratio mr, wind speed, and wind direction in `Quantities` | ||
* SkewT diagram in `SkewT` (only if the direction, i.e. ascent or descent, is given in the input file name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters