Commit 767af24d authored by Carl Schreck's avatar Carl Schreck
Browse files

Adding echos to run_*sh and rebuilding git"

parent 7edfa316
monitor @ 7edfa316
Subproject commit 7edfa3168f9e6df3f968948f2713838c8513e8d9
......@@ -30,7 +30,7 @@ RUN_DIR=$BASE_DIR/cluster/
EMPTY=\"\"
for VAR_NAME in uwnd chi psi vwnd olr uShear shear pwat
#for VAR_NAME in olr uwnd
#for VAR_NAME in olr
do
if [[ $VAR_NAME = "olr" || $VAR_NAME = "pwat" || $VAR_NAME = "uShear" || $VAR_NAME = "shear" ]]; then
ALL_LEVELS=( $EMPTY )
......
......@@ -14,9 +14,11 @@ echo $NCARG_ROOT
cd /home/carl/monitor/v2/plotting
for LAT_BAND in south north eqtr wide north2
do
echo ncl wave_hov.ncl $NCL_OPTION latBand=\"$LAT_BAND\"
stdbuf -oL ncl wave_hov.ncl $NCL_OPTION latBand=\"$LAT_BAND\"
if [[ $NCL_OPTION = *"cfs"* ]]
then
echo ncl sst_hov.ncl $NCL_OPTION latBand=\"$LAT_BAND\"
stdbuf -oL ncl sst_hov.ncl $NCL_OPTION latBand=\"$LAT_BAND\"
fi
done
......
......@@ -17,6 +17,7 @@ for NAVG in 1 3 5 7 10
do
for WAVE_NAME in all low mjo kelvin er tc mtd sum
do
echo ncl wave_map.ncl $NCL_OPTION nAvg=$NAVG waveName=\"$WAVE_NAME\"
stdbuf -oL ncl wave_map.ncl $NCL_OPTION nAvg=$NAVG waveName=\"$WAVE_NAME\"
done
done
......
......@@ -16,8 +16,10 @@ do
# for EOF_TYPE in wh04 wave
for EOF_TYPE in wh04
do
echo ncl wh04_proj.ncl $NCL_OPTION waveName=\"$WAVE_NAME\" eofType=\"$EOF_TYPE\"
stdbuf -oL ncl wh04_proj.ncl $NCL_OPTION waveName=\"$WAVE_NAME\" eofType=\"$EOF_TYPE\"
done
echo ncl wh04_component.ncl $NCL_OPTION waveName=\"$WAVE_NAME\"
stdbuf -oL ncl wh04_component.ncl $NCL_OPTION waveName=\"$WAVE_NAME\"
done
stdbuf -oL ncl wh04_summary.ncl $NCL_OPTION
......
......@@ -10,10 +10,15 @@ which ncl
echo $NCARG_ROOT
cd /home/carl/monitor/v2/staging
echo shear_analysis.ncl $NCL_OPTION
ncl shear_analysis.ncl $NCL_OPTION
echo analysis_anom.ncl 'varName="shear"'
ncl analysis_anom.ncl 'varName="shear"'
echo analysis_anom.ncl 'varName="uShear"'
ncl analysis_anom.ncl 'varName="uShear"'
echo analysis_anom.ncl 'varName="vShear"'
ncl analysis_anom.ncl 'varName="vShear"'
echo shear_forecast.ncl $NCL_OPTION
ncl shear_forecast.ncl $NCL_OPTION
endTime=`date +"%s"`
......
......@@ -116,13 +116,6 @@ begin
filtTime = obsTime(0) + ispan( 0, nObs+700, 1 )
copy_VarAtts(obsTime,filtTime)
; open the output file
system( "rm " + outPath )
outFile = addfile(outPath,"c")
outFile->time = outTime
outFile->lat = lat
outFile->lon = lon
; set up array for filtering
filtData = new( (/dimsizes(filtTime), dimsizes(lat), dimsizes(lon) /), \\
float )
......@@ -156,10 +149,18 @@ begin
maxNonZeroTime = max(cfsData&time)
filtData&time@lastObsInd = ind( filtTime.eq.min(cfsData&time) ) - 1
outTime@lastObsInd = ind( filtTime.eq.min(cfsData&time) ) - 1
else
maxNonZeroTime = max(obsData&time)
end if
; open the output file
system( "rm " + outPath )
outFile = addfile(outPath,"c")
outFile->time = outTime
outFile->lat = lat
outFile->lon = lon
if( any( ismissing(filtData) ) ) then
print_clock( "WARNING: Setting missing data to zero" )
filtData = where( ismissing(filtData), 0, filtData )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment