Commit 27f89fe0 authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Wed Jan 24 00:00:19 EST 2018

parent 24eb0d1b
......@@ -55,6 +55,11 @@ begin ; ibt_map_all_storms
else
targetBasin = -1
end if
if( isatt( i_tcRes, "thresh" ) ) then
minWind = i_tcRes@thresh
else
minWind = -1
end if
minTime = cd_convert( i_minTime, time@units )
maxTime = cd_convert( i_maxTime, time@units )
......@@ -64,6 +69,11 @@ begin ; ibt_map_all_storms
lon = where( lon.lt.0, lon+360, lon )
inBasin = ibt_check_basin( targetBasin, basin, lat, lon )
lmi = dim_max_n( wind, 1 )
aboveMinWind = lmi.ge.minWind
if( minWind.lt.0 ) then
aboveMinWind = True
end if
if( isatt( i_tcRes, "ibtAddGenesis" ) ) then
if( .not.isatt( i_tcRes, "ibtStartName" ) ) then
......@@ -79,7 +89,9 @@ begin ; ibt_map_all_storms
do stormCounter = 0, dimsizes(name)-1
inTime = any( ( time(stormCounter,:).ge.minTime ) \
.and.( time(stormCounter,:).le.maxTime ) )
if( any( inBasin(stormCounter,:) ).and.inTime ) then
if( any( inBasin(stormCounter,:) ).and.inTime \
.and.( aboveMinWind(stormCounter) ) ) then
print( name(stormCounter) + " " + minWind + " " + aboveMinWind(stormCounter) + " " + lmi(stormCounter) )
ibt_map_one_storm( io_wks, io_plot, thresh, colors, \
name(stormCounter), time(stormCounter,:), lat(stormCounter,:), \
lon(stormCounter,:), wind(stormCounter,:), i_tcRes )
......
......@@ -21,9 +21,13 @@ procedure ibt_map_one_storm( \
)
local None
begin ; ibt_map_one_storm
fontHeightF = 0.02
offset = 0.002
if( isatt( i_tcRes, "fontHeightF" ) ) then
fontHeightF = i_tcRes@fontHeightF
else
fontHeightF = 0.02
end if
if( isatt( i_tcRes, "ibtMaxTime" ) ) then
lastFixInd = max( ind( i_time.le.i_tcRes@ibtMaxTime ) )
else
......
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