Skip to content

Commit

Permalink
fix the accidental rewrite of scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
meihuisu committed Dec 17, 2024
1 parent 5f06d9f commit ae0078d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
30 changes: 17 additions & 13 deletions tests/test_plot_cross_section_all.sh
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
1 change: 0 additions & 1 deletion tests/ucvm_cross_section2csv_all.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/ucvm_horizontal_slice2csv_all.py

This file was deleted.

0 comments on commit ae0078d

Please sign in to comment.