-
Notifications
You must be signed in to change notification settings - Fork 1
/
ncei_template.txt
46 lines (46 loc) · 2.47 KB
/
ncei_template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
for SOUNDER in mb15 mb94 mb41 mb24 mb21 ; do case ${SOUNDER} in
mb15) SURVEY="Atlantis_II"
cd $(dirname $(find ./${SURVEY} -name "*.${SOUNDER}" | head -n1))
echo "Working in the directory ${SURVEY} ..." ; sleep 3 ; rm -v *.${SOUNDER}.* ; sleep 2 ;
mv datalist.mb-1 datalist_raw.mb-1
mbpreprocess --input=datalist_raw.mb-1 --platform-file=platform.plf --verbose
mbm_makedatalist -S.${SOUNDER} -V
mbdatalist -Z ; echo "" ; sleep 2 ; cd ${ROOT_MB_DIR}
;;
mb94)
for SURVEY in Knorr187l01_2006 Knorr200-02_2011 Ronald_H_Brown_RB0406 Ronald_H_Brown_RB0904 ; do
ROOT_MB_DIR="/media/4TB_Backup_Drive1/NOAA_Raw_Multibeam"
cd $(dirname $(find ./${SURVEY} -name "*.${SOUNDER}" | head -n1))
echo "Working in the directory ${SURVEY} ..." ; sleep 3 ; rm -v *.${SOUNDER}.* ; sleep 2
mv datalist.mb-1 datalist_raw.mb-1
mbpreprocess --input=datalist_raw.mb-1 --platform-file=platform.plf --verbose
mbm_makedatalist -S.${SOUNDER} -V ; mbdatalist -Z ; echo "" ; sleep 2 ; cd ${ROOT_MB_DIR}
done
;;
mb41)
for SURVEY in Knorr_KN177l03 Knorr_KN197-10 Knorr_KN213-03 Knorr_KN221-01 ; do
ROOT_MB_DIR="/media/4TB_Backup_Drive1/NOAA_Raw_Multibeam"
cd $(dirname $(find ./${SURVEY} -name "*.${SOUNDER}" | head -n1))
echo "Working in the directory ${SURVEY} ..." ; sleep 3 ; rm -v *.${SOUNDER}.* ; sleep 2 ; mv datalist.mb-1 datalist_raw.mb-1
mbpreprocess --input=datalist_raw.mb-1 --platform-file=platform.plf --verbose
mbm_makedatalist -S.${SOUNDER} -V ; mbdatalist -Z ; echo "" ; sleep 2 ; cd ${ROOT_MB_DIR}
done
;;
mb24)
ROOT_MB_DIR="/media/4TB_Backup_Drive1/NOAA_Raw_Multibeam"
SURVEY="Maurice_Ewing_EW0007"
cd $(dirname $(find ./${SURVEY} -name "*.${SOUNDER}" | head -n1))
echo "Working in the directory ${SURVEY} ..." ; sleep 3 ; rm -v *.${SOUNDER}.* ; sleep 2 ; mv datalist.mb-1 datalist_raw.mb-1
mbpreprocess --input=datalist_raw.mb-1 --platform-file=platform.plf --verbose
mbm_makedatalist -S.${SOUNDER} -V ; mbdatalist -Z ; echo "" ; sleep 2 ; cd ${ROOT_MB_DIR}
;;
mb21)
for SURVEY in Maurice_Ewing_EW9302 Maurice_Ewing_EW9303 Maurice_Ewing_EW9804 Maurice_Ewing_EW9805 Maurice_Ewing_EW9806 Maurice_Ewing_EW9808 ; do
ROOT_MB_DIR="/media/4TB_Backup_Drive1/NOAA_Raw_Multibeam"
cd $(dirname $(find ./${SURVEY} -name "*.${SOUNDER}" | head -n1))
echo "Working in the directory ${SURVEY} ..." ; sleep 3 ; rm -v *.${SOUNDER}.* ; sleep 2 ; mv datalist.mb-1 datalist_raw.mb-1
mbpreprocess --input=datalist_raw.mb-1 --platform-file=platform.plf --verbose
mbm_makedatalist -S.${SOUNDER} -V ; mbdatalist -Z ; echo "" ; sleep 2 ; cd ${ROOT_MB_DIR}
done
;;
esac