Issue #1847 Allow painting with no Wind Data.
Change-Id: I01ff02602d46702395b3443567f0b82adab6d59c Former-commit-id:7b96ccbf0e
[formerly52845da6a8
[formerly c4eec589218d1c1265fd596646abd9dc2322fd74]] Former-commit-id:52845da6a8
Former-commit-id:dcf4c3cb6e
This commit is contained in:
parent
d2a407fe49
commit
c653b26b26
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@ package gov.noaa.nws.ncep.ui.nsharp.display.rsc;
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------- ------- -------- -----------
|
* ------- ------- -------- -----------
|
||||||
* 04/23/2012 229 Chin Chen Initial coding
|
* 04/23/2012 229 Chin Chen Initial coding
|
||||||
|
* May 08, 2013 1847 bsteffen Allow painting with no Wind Data.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -798,6 +799,9 @@ public class NsharpSkewTPaneResource extends NsharpAbstractPaneResource{
|
||||||
//System.out.println( "layer#"+ i+ " RE_MAX_WIND =" + spd );
|
//System.out.println( "layer#"+ i+ " RE_MAX_WIND =" + spd );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (layerStateList.isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
//#2: apply minimum distance rule, i.e no two wind layer closer than the minimum distance, also make sure
|
//#2: apply minimum distance rule, i.e no two wind layer closer than the minimum distance, also make sure
|
||||||
// relative max wind layer is picked.
|
// relative max wind layer is picked.
|
||||||
lastHeight = -9999;
|
lastHeight = -9999;
|
||||||
|
|
Loading…
Add table
Reference in a new issue