<p>So far this has been the most suitable answer to my question... </p>

<p>NOAA's National Oceanographic Data Center has posted NetCDF Templates v1.0 the CDL templates on their <a href="http://www.nodc.noaa.gov/data/formats/netcdf/" rel="noreferrer">web site</a>. These can be used with <a href="http://nco.sourceforge.net/" rel="noreferrer">netCDF Operator (NCO) commands</a> to create <a href="http://cf-convention.github.io/index.html" rel="noreferrer">Climate and Forecast (CF)</a> compliant files. </p>

<p><a href="http://www.nodc.noaa.gov/data/formats/netcdf/" rel="noreferrer">http://www.nodc.noaa.gov/data/formats/netcdf/</a> <br>
<a href="http://nco.sourceforge.net/" rel="noreferrer">http://nco.sourceforge.net/</a> <br>
<a href="http://cf-convention.github.io/index.html" rel="noreferrer">http://cf-convention.github.io/index.html</a></p>

CC BY-SA 3.0
2014-04-23T16:01:44.067Z
2014-04-23T16:01:44.067Z
ZZZ
<p>I have been looking for a proper way to create a netCDF file that is compliant with the <strong>Climate and Forecast (CF) Metadata Convention</strong>. It is amazing that I can find a <a href="http://cf-convention.github.io/compliance-checker.html">compliance checker</a> 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?</p>

CC BY-SA 3.0
2014-04-19T07:39:30.327Z
Hmm. This meta discussion is relevant here: http://meta.earthscience.stackexchange.com/questions/77/would-geosciences-specific-software-support-be-on-topic-here Yes, this could be seen as a recommendation question, but it's also "I have this geoscience-related problem, how do I solve it". We wouldn't object to that if it didn't involve software. I agree with the too-broad aspect, and would welcome the asker giving a specific example of the problem to be solved.
Semidiurnal Simon
CC BY-SA 3.0
2014-09-08T02:37:08.977Z
Not sure if this question is an exact duplicate, but it's pretty similar: http://earthscience.stackexchange.com/questions/1075/what-are-the-guidelines-for-constructing-variable-names-that-follow-cf-conventio
naught101
CC BY-SA 3.0
2014-04-16T17:35:47.187Z
I see that NOAA has posted on their site [NODC NetCDF Templates v1.0](http://www.nodc.noaa.gov/data/formats/netcdf/) the CDL templates, which can be used with NCO commands to create compliant files. I am new to this and I wonder if there is any other preferred ways? Thanks!
ZZZ
CC BY-SA 3.0
2014-04-16T18:17:22.450Z
Just follow the documentation and use any NetCDF library of your choice?  I'm not sure what your question is.
gerrit
CC BY-SA 3.0
2014-04-16T19:19:05.907Z
Isn't netCDF more suited for [gis.stackexchange.com]? [This question](http://gis.stackexchange.com/q/85722/28519) for example seems similar to me.
hugovdberg
CC BY-SA 3.0
2014-04-17T07:41:57.587Z
Please don't ask shopping /recommendation questions here. Try [softwarerecs.se]
410 gone
CC BY-SA 3.0
2014-04-18T21:18:19.727Z
@hugovdberg Wouldn't it be like calling anything with a wheel on it a car? It is a machine-independent common data format, so yes there is no reason for GIS to not use it. Nowhere in my question I mentioned GIS. Nevertheless, thank you for the link that you provided. Although not the answer to my question, it is somewhat relevant to one aspect of it. Thumbs up!
ZZZ
CC BY-SA 3.0
2014-04-18T21:23:51.640Z
@EnergyNumbers I have edited my question to make clear that I am not asking for a software suggestion specifically, but rather for proper means of doing it. I hope it is clearer now...
ZZZ
CC BY-SA 3.0
2014-04-18T21:52:42.720Z
@ZZZ not really, you ask for a tool that creates netCDF, and being a fileformat you're asking for software, and at gis.se all tools for geoinformation management are discussed. Also from your comment it is unclear to me whether you mean GIS as a shortcut for ArcGIS or geoinformation systems in general, because I think the latter is relevant here.
hugovdberg
CC BY-SA 3.0
2014-04-18T22:25:26.363Z
Without knowing what _exactly_ your requirements are, it's really difficult to know how to answer this question. (Just so you know, in my previous job I installed a utility to make our data NetCDF complient. It was highly customized to our particular dataset. I don't know if a general solution is available or even possible.) If you provide more detail, we might be able to open this question then.
Jon Ericson
<oceanography><cf-metadata>
How can I create a CF compliant netCDF file?
ZZZ
# How can I create a CF compliant netCDF file?

(Asked by: username_0 on 2014-04-16)

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](http://cf-convention.github.io/compliance-checker.html) 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?

**Tags:** oceanography, cf-metadata

> **Comments:**
> **username_0**: I see that NOAA has posted on their site [NODC NetCDF Templates v1.0](http://www.nodc.noaa.gov/data/formats/netcdf/) the CDL templates, which can be used with NCO commands to create compliant files. I am new to this and I wonder if there is any other preferred ways? Thanks!  
> **username_3**: Just follow the documentation and use any NetCDF library of your choice?  I'm not sure what your question is.  
> **username_4**: Isn't netCDF more suited for [gis.stackexchange.com]? [This question](http://gis.stackexchange.com/q/85722/28519) for example seems similar to me.  
> **username_5**: Please don't ask shopping /recommendation questions here. Try [softwarerecs.se]  
> **username_0**: @username_4 Wouldn't it be like calling anything with a wheel on it a car? It is a machine-independent common data format, so yes there is no reason for GIS to not use it. Nowhere in my question I mentioned GIS. Nevertheless, thank you for the link that you provided. Although not the answer to my question, it is somewhat relevant to one aspect of it. Thumbs up!  
> **username_0**: @EnergyNumbers I have edited my question to make clear that I am not asking for a software suggestion specifically, but rather for proper means of doing it. I hope it is clearer now...  
> **username_4**: @username_0 not really, you ask for a tool that creates netCDF, and being a fileformat you're asking for software, and at gis.se all tools for geoinformation management are discussed. Also from your comment it is unclear to me whether you mean GIS as a shortcut for ArcGIS or geoinformation systems in general, because I think the latter is relevant here.  
> **username_6**: Without knowing what _exactly_ your requirements are, it's really difficult to know how to answer this question. (Just so you know, in my previous job I installed a utility to make our data NetCDF complient. It was highly customized to our particular dataset. I don't know if a general solution is available or even possible.) If you provide more detail, we might be able to open this question then.  
> **username_1**: Hmm. This meta discussion is relevant here: http://meta.earthscience.stackexchange.com/questions/77/would-geosciences-specific-software-support-be-on-topic-here Yes, this could be seen as a recommendation question, but it's also "I have this geoscience-related problem, how do I solve it". We wouldn't object to that if it didn't involve software. I agree with the too-broad aspect, and would welcome the asker giving a specific example of the problem to be solved.  
> **username_2**: Not sure if this question is an exact duplicate, but it's pretty similar: http://earthscience.stackexchange.com/questions/1075/what-are-the-guidelines-for-constructing-variable-names-that-follow-cf-conventio  

---

## 1 answers

### Answer by username_0 on 2014-04-23. Score: 5 | Accepted answer

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](http://www.nodc.noaa.gov/data/formats/netcdf/). These can be used with [netCDF Operator (NCO) commands](http://nco.sourceforge.net/) to create [Climate and Forecast (CF)](http://cf-convention.github.io/index.html) compliant files.

<http://www.nodc.noaa.gov/data/formats/netcdf/>   
<http://nco.sourceforge.net/>   
<http://cf-convention.github.io/index.html>


---

