Commit a7804e99 authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Thu Apr 4 00:00:04 EDT 2019

parent d4d1c1ad
......@@ -462,7 +462,11 @@ begin
yearMonthCount = read_yyyymm_count( i_inPath, i_targetBasin, i_thresh, \
i_years )
retVal = dim_sum_n_Wrap( yearMonthCount, 1 )
if( isatt( i_years, "months" ) ) then
retVal = dim_sum_n_Wrap( yearMonthCount(:,{i_years@months}), 1 )
else
retVal = dim_sum_n_Wrap( yearMonthCount, 1 )
end if
return(retVal)
end ; read_annual_count
......@@ -540,7 +544,12 @@ begin
yearMonthAce = read_yyyymm_ace( i_inPath, i_targetBasin, i_thresh, \
i_years )
retVal = dim_sum_n_Wrap( yearMonthAce, 1 )
if( isatt( i_years, "months" ) ) then
retVal = dim_sum_n_Wrap( yearMonthAce(:,{i_years@months}), 1 )
else
retVal = dim_sum_n_Wrap( yearMonthAce, 1 )
end if
return(retVal)
end ; read_annual_ace
......@@ -614,7 +623,11 @@ begin
yearMonthDays = read_yyyymm_passing( i_inPath, i_targetBasin, i_thresh, \
i_years )
retVal = dim_sum_n_Wrap( yearMonthDays, 1 )
if( isatt( i_years, "months" ) ) then
retVal = dim_sum_n_Wrap( yearMonthDays(:,{i_years@months}), 1 )
else
retVal = dim_sum_n_Wrap( yearMonthDays, 1 )
end if
return(retVal)
end ; read_annual_passing
......@@ -688,7 +701,11 @@ begin
yearMonthPassing = read_yyyymm_passing( i_inPath, i_targetBasin, i_thresh, \
i_years )
retVal = dim_sum_n_Wrap( yearMonthPassing, 1 )
if( isatt( i_years, "months" ) ) then
retVal = dim_sum_n_Wrap( yearMonthPassing(:,{i_years@months}), 1 )
else
retVal = dim_sum_n_Wrap( yearMonthPassing, 1 )
end if
return(retVal)
end ; read_annual_passing
......
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