Issue #1847 Allow painting with no Wind Data.
Change-Id: I01ff02602d46702395b3443567f0b82adab6d59c Former-commit-id:c653b26b26
[formerlydcf4c3cb6e
] [formerly52845da6a8
] [formerly7b96ccbf0e
[formerly52845da6a8
[formerly c4eec589218d1c1265fd596646abd9dc2322fd74]]] Former-commit-id:7b96ccbf0e
Former-commit-id: 546c5fb066a2d3d0a153a33b16e7c62eb38a297e [formerly5b151d48e2
] Former-commit-id:5f1fcac916
This commit is contained in:
parent
6fc9283ead
commit
b871b71dfa
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
|
||||
* ------- ------- -------- -----------
|
||||
* 04/23/2012 229 Chin Chen Initial coding
|
||||
* May 08, 2013 1847 bsteffen Allow painting with no Wind Data.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -798,6 +799,9 @@ public class NsharpSkewTPaneResource extends NsharpAbstractPaneResource{
|
|||
//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
|
||||
// relative max wind layer is picked.
|
||||
lastHeight = -9999;
|
||||
|
|
Loading…
Add table
Reference in a new issue