Omaha #4819 Added comment on storms over the dataline.
Former-commit-id: 55e8bfb47292884eae10295ed8890af8d4402440
This commit is contained in:
parent
b7e1e522b4
commit
c498c72057
1 changed files with 5 additions and 0 deletions
|
@ -173,6 +173,11 @@ public class HWRFPostProcessor implements IDecoderPostProcessor {
|
|||
|
||||
for (GridInfoRecord gi : giList) {
|
||||
Geometry resultGeo = gi.getLocation().getGeometry();
|
||||
/*
|
||||
* TODO It is possible a storm might be over the dataline, I would
|
||||
* expect this approach of intersecting to fail horribly if a
|
||||
* hurricane approached and then crossed the dateline.
|
||||
*/
|
||||
double intersect = geo.intersection(resultGeo).getArea();
|
||||
if ((intersect / area) > 0.95) {
|
||||
return gi.getDatasetId();
|
||||
|
|
Loading…
Add table
Reference in a new issue