-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
meihuisu
committed
Dec 15, 2024
1 parent
384ff92
commit 59134fa
Showing
2 changed files
with
41 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# test_plot_cross_section.sh | ||
# | ||
|
||
MODEL=sfcvm | ||
START=0 | ||
END=5000 | ||
## horizontal step | ||
HSTEP=852 | ||
## vertical step | ||
VSTEP=50 | ||
LAT1=37.5783 | ||
LON1=-122.658 | ||
LAT2=-37.7505 | ||
LON2=-121.1362 | ||
LABEL=CVM_1734139660226 | ||
|
||
## generate data only | ||
time plot_cross_section.py -a sd -s ${START} -e ${END} -h ${HSTEP} -d all -c sfcvm -o ${LABEL}_ALL.png -i $UCVM_INSTALL_PATH -t "cross section vs ${MODEL}" -v ${VSTEP} -b ${LAT1},${LON1} -u ${LAT2},${LON2} -S | ||
|
||
./ucvm_cross_section2csv_line.py CVM_1734139660226_density_data.bin CVM_1734139660226_density_meta.json | ||
|
||
./ucvm_cross_section2csv_all.py CVM_1734139660226_vp_data.bin CVM_1734139660226_vp_meta.json CVM_1734139660226_vs_data.bin CVM_1734139660226_vs_meta.json CVM_1734139660226_density_data.bin CVM_1734139660226_density_meta.json | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# test_plot_horizontal_slice.sh | ||
# | ||
|
||
MODEL=sfcvm | ||
LAT1=37.2635 | ||
LON1=-122.1945 | ||
LAT2=38.3315 | ||
LON2=-121.1536 | ||
LABEL=taper2_1734139660226 | ||
|
||
## generate data only | ||
time plot_horizontal_slice.py -s 0.1 -c ${MODEL} -a sd -o ${LABEL}_ALL.png -i $UCVM_INSTALL_PATH -t "horizontal vs ${MODEL}" -d all -b ${LAT1},${LON1} -u ${LAT2},${LON2} -e 1000 -S | ||
|
||
./ucvm_horizontal_slice2csv_line.py taper2_1734139660226_vp_data.bin taper2_1734139660226_vp_meta.json | ||
|
||
./ucvm_horizontal_slice2csv_all.py taper2_1734139660226_vp_data.bin taper2_1734139660226_vp_meta.json taper2_1734139660226_vs_data.bin taper2_1734139660226_vs_meta.json taper2_1734139660226_density_data.bin taper2_1734139660226_density_meta.json |