NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] Converting Lat, Lon pair into a specific Coordinate System

Hi Chad,

In ncWMS (http://ncwms.sf.net) we use the GeoTools library to perform
conversions from lots of different coordinate systems to WGS84
lat-lon.  Java-NetCDF can do this for a limited number of coordinate
systems but the GeoTools database is much bigger.

The following class in ncWMS might be of use to you:
http://www.resc.rdg.ac.uk/trac/ncWMS/browser/trunk/src/java/uk/ac/rdg/resc/ncwms/datareader/CrsHelper.java

Hope this helps,
Jon

On Tue, Jul 14, 2009 at 5:48 PM, Chad Saxon<usmgoldeneagle@xxxxxxxxx> wrote:
> I have some data which is not in a WGS-84 projection and i need it to be
> that to match a map that i am viewing that is in the WGS-84 Ellipsoidal
> projection.
>
> Is there an easy way to read non-WGS84 lat, lon pairs from a netcdf file and
> convert them on the fly to a WGS-84 lat,lon pair??
>
> thanks!
>
> Chad
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>



-- 
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading
Harry Pitt Building, 3 Earley Gate
Reading RG6 6AL. UK
Tel: +44 (0)118 378 5213
Fax: +44 (0)118 378 6413
j.d.blower@xxxxxxxxxxxxx
http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: