Changes between Initial Version and Version 1 of NetCDF_Improvements


Ignore:
Timestamp:
Aug 28, 2011, 2:26:38 PM (13 years ago)
Author:
etiennesky
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetCDF_Improvements

    v1 v1  
     1= NetCDF Improvements =
     2
     3This page is for information regarding improvements to the GDAL NetCDF driver.
     4
     5For information on the current NetCDF driver, please consult:
     6
     7 * [wiki:NetCDF] - GDAL NetCDF wiki entry.
     8 * http://www.gdal.org/frmt_netcdf.html - format docs.
     9
     10= Topics =
     11
     12== 1 - UNIDATA NetCDF Conventions  ==
     13
     14UNIDATA recommends the use of the CF Conventions (NetCDF Climate and Forecast (CF) Metadata Conventions) where applicable.[[BR]]
     15It is intended that this driver fully support the CF-1.5 Conventions for import and export and COARDS for import.
     16Provisions should be taken for back-wards compatibility with different CF-1.x versions.
     17
     18 * [http://www.unidata.ucar.edu/software/netcdf/docs/conventions.html NetCDF Conventions at UNIDATA]
     19 * [http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.5/cf-conventions.html CF-1.5 - NetCDF Climate and Forecast (CF) Metadata Conventions]
     20 * [http://ferret.wrc.noaa.gov/noaa_coop/coop_cdf_profile.html COARDS conventions (1995 standard that CF Conventions extends and generalizes)]
     21
     22=== Issues with the current implementation ===
     23 * NetCDF created by GDAL not CF-1.0 compliant for geographical grids (issue #2129) - patch submitted
     24 * netcdf driver does not read CF-1.0 coordinate system properly (issue #2893)
     25
     26
     27== 2 - Metadata ==
     28
     29GDAL and NetCDF support metadata in different ways, which should be harmonised.
     30
     31=== Issues with the current implementation ===
     32 * The import process does not use the Conventions attribute and does not consider different possible Conventions (COARDS, CF-1.0, CF-1.5, etc.)
     33
     34=== Issues for which a patch has been submitted  ===
     35 * Duplication in Metadata when translating from NetCDF to NetCDF (issue #4204)
     36 * metadata from a NetCDF variable should be stored inside the GDAL Band metadata, instead of a global metadata item (issue #4211)
     37 * NetCDF variable name is lost when imported into GDAL (issue #4211)
     38 * Floating-point metadata in netcdf file is converted to GDAL metadata as string without sufficient precision (issue #4211)
     39
     40
     41== 3 - Datum issues ==
     42
     43CF supports Datum information but does not specify how datum ids (such as those found in EPSG codes) should be stored in the netcdf file
     44
     45 * Which datum should be set when there is no datum information at all in a netcdf file? WGS84 or none?
     46 * How to export datum information that is present in a GDAL file, in a way that it can be restored later?
     47 * Import should correctly set appropriate CRS/datum information (e.g. WGS84) from the information in the netcdf file, when sufficient information is available.
     48
     49
     50
     51== 4 - Dimension issues ==
     52
     53The driver should handle properly a time and Z-axis in a way taht they they are not lost when importing and exporting.
     54
     55
     56== 5 - Compatibility with other software ==
     57
     58The driver should be compatible for import and/or export (with proper visualisation) with at least the following software:
     59
     60 * ncdump from UNIDATA netcdf
     61 * ncview (http://meteora.ucsd.edu/~pierce/ncview_home_page.html)
     62 * GrADS - Grid Analysis and Display System (http://www.iges.org/grads)
     63 * CDO - Climate Data Operator (https://code.zmaw.de/projects/cdo)
     64 * NCO - netCDF Operators (http://nco.sourceforge.net)
     65 * others to come...
     66
     67
     68== 6 - Test files ==
     69
     70A place should be set up to store NetCDF sample files, provided they are free under the terms of http://download.osgeo.org/gdal/data/COPYING . [[BR]]
     71Large files will be available at http://download.osgeo.org/gdal/data/netcdf .[[BR]]
     72Having small (typically < or ~ 10 KB ) sample files is also good so they can be directly included in SVN under the autotest/gdrivers/data directory and thus easily used by regression tests.
     73
     74
     75== 7 - Contribution ==
     76
     77 * Contributors are welcome and could be identified here in 3 categories: Ideas/reporting, testing, and/or development.
     78 * Discussions can take place here or the mailing list with the title "NetCDF Improvements"
     79 * Tickets can be used to track the implementation of specific items and  bugfixes.
     80 * Backward compatibility issues, in particular with respect to files produced by older GDAL versions, might require voting, as in http://trac.osgeo.org/gdal/wiki/rfc1_pmc details
     81
     82
     83= Discussion =
     84
     85I (etiennesky) have created this wiki entry after a discussion in the gdal-dev mailing list (Subject: discussion on improvements to the NetCDF driver and CF-1 convention).  Even made a number of suggestions which I have followed (I also shamelessly copied some of his wording).  [[BR]]
     86I encourage interested parties in participating in this discussion here and in the mailing list. In particular, it would be useful to collect information on contributors and obtain test files with issues and the expected outcome.  Simple files can also be included in order to test for regression issues in the future.
     87
     88Regards, etiennesky - Aug. 28
     89
     90
     91[[BR]]
     92= Open Tickets =
     93
     94[[TicketQuery(status=new|assigned|reopened&keywords~=netcdf|netCDF|NETCDF|NetCDF&order=priority)]]