-
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.
fix the accidental rewrite of scripts
- Loading branch information
meihuisu
committed
Dec 17, 2024
1 parent
5f06d9f
commit ae0078d
Showing
3 changed files
with
17 additions
and
15 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,25 +1,29 @@ | ||
# | ||
# test_plot_cross_section.sh | ||
# test_plot_cross_section_all.sh | ||
# | ||
|
||
MODEL=sfcvm | ||
START=0 | ||
END=5000 | ||
## horizontal step | ||
HSTEP=852 | ||
HSTEP=1424.4 | ||
## vertical step | ||
VSTEP=50 | ||
LAT1=37.5783 | ||
LON1=-122.658 | ||
LAT2=-37.7505 | ||
LON2=-121.1362 | ||
LABEL=CVM_1734139660226 | ||
Lat1=38.35 | ||
Lon1=-122.6424 | ||
Lat2=37.4674 | ||
Lon2=-121.5244 | ||
LABEL_VP=CVM_4133_c_vp | ||
LABEL_ALL=CVM_4133 | ||
|
||
## 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 | ||
## geneate vp as baseline | ||
plot_cross_section.py -s 0 -h ${HSTEP} -d density -c ${MODEL} -a sd -o ${LABEL_VP}.png -i ${UCVM_INSTALL_PATH} -v ${VSTEP} -b ${Lat1},${Lon1} -u ${Lat2},${Lon2} -e 5000 | ||
./ucvm_cross_section2csv_line.py ${LABEL_VP}_data.bin ${LABEL_VP}_meta.json | ||
|
||
## generate data only | ||
plot_cross_section.py -S -s 0 -h ${HSTEP}.4 -d all -c ${MODEL} -a sd -o ${LABEL_ALL}_all.png -i ${UCVM_INSTALL_PATH} -v ${VSTEP} -b${Lat1},${Lon1}, -u ${Lat2},${Lon2} -e 5000 | ||
./ucvm_cross_section2csv_all.py ${LABEL_ALL}_vp_data.bin ${LABEL_ALL}_vp_meta.json ${LABEL_ALL}_vs_data.bin ${LABEL_ALL}_vs_meta.json ${LABEL_ALL}_density_data.bin ${LABEL_ALL}_density_meta.json | ||
|
||
### run on docker container | ||
#./plotCVM-vertSection.pl ${LABEL_VP}_data.csv 1 0 0 0 1 1 0 | ||
#./plotCVM-vertSection2.pl ${LABEL_VP}_all.csv 1 1 0 0 0 1 1 0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.