The purpose of this function is to translate map projection information
found in a netCDF file into a map coordinate object (cgMap) that can be
used to georeference images with a map data coordinate system. The Coyote
Library is required.
Graphics, Map Projections
To create a map coordinate from a netCDF file from NSIDC::
file = 'C:\IDL\data\netCDF\jun_2004_amsr_e_bt.nc'
mapCoord = cgNCDFMap(file, /Continents, /Grid)
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
It is not possible to have a one-to-one mapping between every netCDF file and a map projection
in IDL, since IDL has a limited number of map projections and datums available. And, even at that,
I have not implemented all of IDL's map projections or datums, only those that I thought were most
likely to be encountered in my own work. If you run into a netCDF file that does not work in this
code (either because of an error in the code or because it is not supported), please contact me.
I am interested in supporting as many netCDF files as possible and I will take pains to do so if
I know they are needed.
Converted from old ncdf_Coord program in Catalyst Library to run with Coyote Graphics routines.
9 November 2011. David W. Fanning.
Copyright (c) 2011, Fanning Software Consulting, Inc.