Group Abstract Group Abstract

Message Boards Message Boards

1
|
3.5K Views
|
4 Replies
|
9 Total Likes
View groups...
Share
Share this post:

Convert HRAP coordinates to latitude/longitude

Posted 2 years ago

Hello all,

I'm trying to transform precipitation data in HRAP format to latitude/longitude coordinate system in Mathematica. Any help appreciated!

Thanks,

Patrice

4 Replies

Hi again,

Once you have the result in the form

In[]:= gridpos = GeoGridPosition[GeoPosition[{40, -90}], proj]
Out[]= GeoGridPosition[{702.282, 476.602}, {"Stereographic", ...}]

you can recover the latlon form using

In[]:= GeoPosition[gridpos]    
Out[]= GeoPosition[{40., -90.}]

The property "Data" can also be used to extract the coordinate numbers from a GeoPosition object.

Works like a charm, thanks a lot!

Hi Jose,

Thanks for your explanations, gives me a lot of pointers to investigate further (I'm new to GIS).

How would I transform the other way around though, from a grid of Polar Stereographic coordinates to Lat/Lon?

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard