diff --git a/scripts/metobs_config.sh b/scripts/metobs_config.sh index 5a835d71f7647e0529db6e4f65d93d6ee4f0194a..b2f9ee9b37f1fa058abfcfd395c4c8e0ecb7ff74 100644 --- a/scripts/metobs_config.sh +++ b/scripts/metobs_config.sh @@ -36,7 +36,8 @@ cache_level_00_file() { year=${d:0:4} month=${d:4:2} day=${d:6:2} - echo "${TOWER_CACHE_DIR}/level_00/version_00/${year}/${month}/${day}/aoss_tower.${year}-${month}-${day}.ascii" +# echo "${TOWER_CACHE_DIR}/level_00/version_00/${year}/${month}/${day}/aoss_tower.${year}-${month}-${day}.ascii" + echo "${TOWER_CACHE_DIR}/level_00/version_00/${year}/${month}/${day}/rig_tower.${year}-${month}-${day}.ascii" } cache_level_b1_file() { @@ -45,7 +46,7 @@ cache_level_b1_file() { month=${d:4:2} day=${d:6:2} # new: -# echo "${TOWER_CACHE_DIR}/level_b1/version_00/${year}/${month}/${day}/aoss_tower.${year}-${month}-${day}.nc" + echo "${TOWER_CACHE_DIR}/level_b1/version_00/${year}/${month}/${day}/aoss_tower.${year}-${month}-${day}.nc" # old: - echo "${TOWER_CACHE_DIR}/level_b1/version_00/${year}/${month}/aoss_tower.${year}-${month}-${day}.nc" +# echo "${TOWER_CACHE_DIR}/level_b1/version_00/${year}/${month}/aoss_tower.${year}-${month}-${day}.nc" } \ No newline at end of file diff --git a/scripts/run_tower_level_b1.sh b/scripts/run_tower_level_b1.sh index fe99113cc1fb95bd921266fd3b5b612b66dcbe1d..85888655dca22c542d257e8390bb7fbf1f947798 100755 --- a/scripts/run_tower_level_b1.sh +++ b/scripts/run_tower_level_b1.sh @@ -39,7 +39,7 @@ fi out_file=`cache_level_b1_file "$DATE"` out_fn=`basename "$out_file"` tmp_out="$tmp_dir/$out_fn" - $ENV/bin/python -m aosstower.level_b1.nc -vv -z -i "$prev_file" "$curr_file" --date="${DATE}" -o "$tmp_out" >> $logfile + $ENV/bin/python -m aosstower.level_b1.nc -vv -z -i "$prev_file" "$curr_file" -s "${DATE}" -o "$tmp_out" >> $logfile nc_status=$? if [ $nc_status -ne 0 ]; then oops "NetCDF generation failed for $DATE"