Changes between Version 13 and Version 14 of NetCDF_exportUpdateChanges


Ignore:
Timestamp:
Sep 25, 2011, 8:08:21 AM (13 years ago)
Author:
etourigny
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetCDF_exportUpdateChanges

    v13 v14  
    22
    33(Note: this is an initial draft by pds - to collect related ideas for input and if necessary RFC development)
     4
     5(Note from Etienne, I have added some comments starting with -> )
    46
    57Status: Development
     
    79== Summary ==
    810
    9 In August 2011 Etienne Tourinsky initiated a discussion on the GDAL mailing list proposing and calling for interest in improvements to GDAL's NetCDF driver (Subject: discussion on improvements to the NetCDF driver and CF-1 convention), and collected ideas at wiki:NetCDF_Improvements.
     11In August 2011 Etienne Tourigny initiated a discussion on the GDAL mailing list proposing and calling for interest in improvements to GDAL's NetCDF driver (Subject: discussion on improvements to the NetCDF driver and CF-1 convention), and collected ideas at wiki:NetCDF_Improvements.
    1012
    11 This page summarises several of the proposed improvements that would improve the compatibility of GDAL's NetCDF driver with the CF-1 NetCDF conventions :- but change the default behaviour of the driver and thus affect backward compatibility.
     13This page summarises several of the proposed changes that would improve the compatibility of GDAL's NetCDF driver with the CF-1 NetCDF conventions :- but change the default behaviour of the driver and thus affect backward compatibility.
    1214
    1315The changes affect orientation of data, handling of datum parameters, writing coordinate variables, and are described specifically below.
     
    3133'''New -co options''': ?? Should we include an option to allow force assume south-regular?
    3234
     35-> I don`t think so!
     36
    3337'''Has back-compat impact?''': Yes - since affects default import and export NetCDF behaviour.
     38
     39-> try to open a file with gdalinfo (version 1.8.1) and see if the bounds are ok, I think they should be ok, in which case there is no back-wards compatibility issue
     40
     41here is where upside-down is checked
     42{{{
     43                // Check for reverse order of y-coordinate
     44                if ( yMinMax[0] > yMinMax[1] ) {
     45                    dummy[0] = yMinMax[1];
     46                    dummy[1] = yMinMax[0];
     47                    yMinMax[0] = dummy[0];
     48                    yMinMax[1] = dummy[1];
     49                }
     50}}}
     51-> Try to create the file with and without custom gdal tags and see if both work.  thanks
    3452
    3553'''Change''':
     
    5573 * A geotransform array, saved as a string (!GeoTransform).
    5674
     75-> added a new proj4 string
     76
    5777The WRITEGDALTAGS driver creation option would allow the user to choose not to write these tags. However it would be set to 'YES' by default.
    5878
     
    7797
    7898((?? pds: Should we add anything here about special import behaviour, e.g. whether to auto-detect datum on import based on ellipsoid values?? Or should there be an option for this?))
     99
     100-> we could look into that for most common datums, but specify that there is no guarantee that a specific datum will be checked for.
    79101
    80102'''Rationale''':