Skip to content

Commit ae0078d

Browse files
author
meihuisu
committed
fix the accidental rewrite of scripts
1 parent 5f06d9f commit ae0078d

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

tests/test_plot_cross_section_all.sh

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
#
2-
# test_plot_cross_section.sh
2+
# test_plot_cross_section_all.sh
33
#
44

55
MODEL=sfcvm
66
START=0
77
END=5000
88
## horizontal step
9-
HSTEP=852
9+
HSTEP=1424.4
1010
## vertical step
1111
VSTEP=50
12-
LAT1=37.5783
13-
LON1=-122.658
14-
LAT2=-37.7505
15-
LON2=-121.1362
16-
LABEL=CVM_1734139660226
12+
Lat1=38.35
13+
Lon1=-122.6424
14+
Lat2=37.4674
15+
Lon2=-121.5244
16+
LABEL_VP=CVM_4133_c_vp
17+
LABEL_ALL=CVM_4133
1718

18-
## generate data only
19-
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
20-
21-
./ucvm_cross_section2csv_line.py CVM_1734139660226_density_data.bin CVM_1734139660226_density_meta.json
22-
23-
./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
19+
## geneate vp as baseline
20+
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
21+
./ucvm_cross_section2csv_line.py ${LABEL_VP}_data.bin ${LABEL_VP}_meta.json
2422

23+
## generate data only
24+
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
25+
./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
2526

27+
### run on docker container
28+
#./plotCVM-vertSection.pl ${LABEL_VP}_data.csv 1 0 0 0 1 1 0
29+
#./plotCVM-vertSection2.pl ${LABEL_VP}_all.csv 1 1 0 0 0 1 1 0

tests/ucvm_cross_section2csv_all.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ucvm_horizontal_slice2csv_all.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)