Changes between Version 39 and Version 40 of NetCDF_exportUpdateChanges


Ignore:
Timestamp:
Oct 15, 2011, 10:10:41 AM (13 years ago)
Author:
etourigny
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetCDF_exportUpdateChanges

    v39 v40  
    8989'''Related fix''': #2893 [[BR]]
    9090'''New -co options''':
    91   * WRITE_LONLAT=YES/NO/IFNEEDED (default: YES for geographic, IFNEEDED for projected) ->Note, this not implemented yet
     91  * WRITE_LONLAT=YES/NO/IF_NEEDED (default: YES for geographic, IFNEEDED for projected) ->Note, this not implemented yet
    9292  * TYPE_LONLAT=float/double (default: double for geographic, float for projected)
    9393
     
    100100We have also added a '-co' driver option listed above, that allows specification to also write 2D 'lat' and 'lon' arrays, which are specified as part of the CF-1 convention for map projections - but are not actually required for the Unidata-maintained NetCDF Java API and applications built upon them (eg ncWMS, Thredds Data Server).
    101101
    102 The 'IFNEEDED' option of WRITE_LONLAT is used in the case of exporting a projection which is not supported by the CF-1.5 standard (e.g. sinusoidal), so any CF-1.5 compliant software can locate the points on a lon/lat map.
     102The WRITE_LONLAT=IF_NEEDED option is useful in the case of exporting a projection which is not supported by the CF-1.5 standard (e.g. sinusoidal), so any CF-1.5 compliant software can locate the points on a lon/lat map.
    103103
    104104'''Rationale''':
     
    122122 * and individual corner coordinates (NN, SS, WE and WW).
    123123
    124 The new implementation saves the GeoTransform array only if the lon/lat values are not written to the file, and the corner coordinates are never saved as they are redundant.
     124The new implementation saves the GeoTransform array only for a geographic CRS, in the specific case that lon/lat values are not written to the file. The corner coordinates are never saved as they are redundant.
    125125
    126126We propose adding a new WRITE_GDAL_TAGS driver creation option to allow the user to choose not to write these tags. However it would be set to 'YES' by default.