Commit 887231f0 authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Sat Jul 14 00:00:18 EDT 2018

parent 84e39c76
......@@ -16,6 +16,9 @@ echo
echo People Pending
bjobs -u all | grep PEND | awk {'print $2'} | sort | uniq -c | sort -rn
echo
echo People Done
bjobs -u all -d | grep DONE | awk {'print $2'} | sort | uniq -c | sort -rn
echo
echo Queues Running
#bjobs -u all | grep RUN | awk {'print $4'} | sort | uniq -c | sort -rn
......
......@@ -16,14 +16,30 @@ function pct_extreme_xy( \
i_var : string, \
i_pThresh[1] : numeric, \
i_deltaTime[1] : numeric, \
i_months[*] : integer, \
i_months[*] : integer, \ ; optional attributes minYear and maxYear
i_ptileThresh[1] : numeric \ ; in percentage (0-50)
)
begin
if( isatt( i_months, "minYear" ) ) then
minYear = i_months@minYear
else
minYear = 1800
end if
if( isatt( i_months, "maxYear" ) ) then
maxYear = i_months@maxYear
else
maxYear = 2100
end if
print_clock( "Reading " + i_var )
inFile = addfile(i_path,"r")
popDates = month_time( inFile->time, i_months )
timeUnits = inFile->time@units
minTime = cd_inv_calendar( minYear, 01, 01, 00, 0, 0, timeUnits, 0 )
maxTime = cd_inv_calendar( maxYear, 12, 31, 00, 0, 0, timeUnits, 0 )
popDates = month_time( inFile->time({minTime:maxTime}), i_months )
; identify serial events
sampleStartDates = serial_starts( common_values( i_baseDates, popDates ), \
......
Markdown is supported
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