I have been looking for a proper way to create a netCDF file that is compliant with the Climate and Forecast (CF) Metadata Convention. It is amazing that I can find a compliance checker for NetCDF files at the CF-Metadata web page, but I have problems to find any tools or methods to create such a file. How can I create a CF-compliant netCDF file? Are there any good tools, which I can use?
So far this has been the most suitable answer to my question...
NOAA's National Oceanographic Data Center has posted NetCDF Templates v1.0 the CDL templates on their web site. These can be used with netCDF Operator (NCO) commands to create Climate and Forecast (CF) compliant files.