Omaha #3015 correct usage of Coordinate(lon, lat)
Change-Id: I30029df3e963ee16e2612d5e9f29e7a0ca05a7a8 Former-commit-id:f1cfb3282f
[formerlya4db5e625f
] [formerly0c59decfc3
] [formerlyf1cfb3282f
[formerlya4db5e625f
] [formerly0c59decfc3
] [formerly4a934687aa
[formerly0c59decfc3
[formerly 67c3f28fa0edf3aa41726c6a9d2f18b5af586ab1]]]] Former-commit-id:4a934687aa
Former-commit-id:b3b87473fb
[formerly7295b6606e
] [formerly c82d6d9dda26d5c3035f2c01906d4f5ea70a5339 [formerly3bcac4fb47
]] Former-commit-id: 961db1cd2bb39b08f26818dfa5bd82dfe2b0e8d3 [formerly4582a5c05c
] Former-commit-id:4ae23f7e92
This commit is contained in:
parent
b962e8140c
commit
edda945d90
1 changed files with 4 additions and 3 deletions
|
@ -53,12 +53,13 @@ import com.vividsolutions.jts.geom.Coordinate;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 06, 2011 5951 jnjanga Initial creation
|
||||
* Jan 10, 2013 1448 bgonzale Added app context check in runOnSchedule().
|
||||
* Jan 10, 2013 1448 bgonzale Added app context check in runOnSchedule().
|
||||
* Jan 18, 2013 1469 bkowal Removed the hdf5 data directory.
|
||||
* Mar 28, 2014 2952 mpduff Changed to use UFStatus for logging.
|
||||
* Jun 05, 2014 3226 bclement BinLightning refactor
|
||||
* Aug 20, 2014 3549 njensen Fixed spelling in exceptions
|
||||
* Sep 17, 2014 3015 bclement improved exception handling
|
||||
* Dec 04, 2014 3015 njensen Corrected usage of Coordinate(x, y)
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -152,8 +153,8 @@ public class MpeLightningSrv {
|
|||
for (int i = 0; i < latitudes.length; i++) {
|
||||
float lat = latitudes[i];
|
||||
float lon = longitudes[i];
|
||||
Coordinate latLon = new Coordinate(lat, lon);
|
||||
gridCell = hrap.latLonToGridCoordinate(latLon, po);
|
||||
Coordinate c = new Coordinate(lon, lat);
|
||||
gridCell = hrap.latLonToGridCoordinate(c, po);
|
||||
x_hgrids[i] = (short) gridCell.x;
|
||||
y_hgrids[i] = (short) gridCell.y;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue