- Downloag and install FWTools, use FWTools 2.3.0 (Windows 32bit) link.
- Install HDF Explorer
- Register HDF Explorer as a viewer for *.nc files (in Windows Explorer Open with ..., then Browse to HDF Explore and check *Always use this program to open ...).
- Convert any source raster file into NetCDF using GDAL:
gdal_translate.exe -of netCDF input_file.asc output_file.nc
- Click on output_file.nc to view it using HDF Explorer.
Main sources
netcdf |
|
---|---|
cf convention |
|
units |
http://www.unidata.ucar.edu/software/udunits/udunits-1/index.html |
Programming
General programming tutorial |
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial.html |
---|---|
Matlab |
http://mexcdf.sourceforge.net/ (in matlab by default in versions >= 2008b) |
Fortran 90 |
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f90/ |
Fortran 77 |
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f77/ |
Java |
|
Python |
http://www.pytables.org/moin/PyTables and http://www.scipy.org |
Utilities
nco |
|
---|---|
gdal |
|
fwtools |
http://fwtools.maptools.org/ (OpenEV, GDAL, MapServer, PROJ.4 and OGDI) |
spatial ref |
NetCDF current discussions
From netcdf news group comp.lib.netcdf
Could not access the content at the URL because it is not from an allowed source.
http://rss.gmane.org/topics/excerpts/gmane.comp.lib.netcdf
You may contact your site administrator and request that this URL be added to the list of allowed sources.
The architecture taskforce held a meeting (2008-4-15) on the progress of NetCDF as the default output format for Delft3D and SOBEK. The presentation is attached.
Issues discussed (aside from topics mentioned in the presentation):
- Importance of adaptation en extension of the CF standard for output.
- Implementation challenges
- phasing out old tools and libraries (What is the end of life cycle for old file formats?)
- backward compatibility (Will we make sure all old files can be read and written?)
- programming language for conversion tools (Shall we use matlab or another dynamic language to implement the converters?)
- Planning
Agreed was that:
In the next few months we will work on creating converters to import and export cf/netcdf files from and to our current output files. (april - july)
In the 2nd half of this year we will work to change our output formats from his/nefis to netcdf.
Relevant links:
CF standard
CF standard names
NetCDF
Unstruc example requires access to delft3d/sobek repository
NetCDF sources with VS2005 solution requires access to delft3d/sobek repository
To get the netcdf files working under windows you need the following:
Visual studio >= 7, Visual C++ 6 doesnt support long longs, this will work but you have to manually disable large file support.
An updated cfortran.h, A patch has been sent in 2002 to mr burrow, maintainer of the cfortran bridge http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg01463.html . I think his whereabouts are not known. The patch is part of default linux distributions.