NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
I just posted the message below to the golang-nuts<https://groups.google.com/forum/?fromgroups=#!forum/golang-nuts>mailing list, and it occured to me that apart from Go users who'd like to use CDF, it could also be relevant for CDF users who'd like to use Go<http://www.golang.org> . ----8<---- It's a bit rough but ready for use and feedback: code.google.com/p/lvd.go/cdf<http://code.google.com/p/lvd/source/browse/?repo=go#hg%2Fcdf> is a native Go library for reading and writing NetCDF<http://www.unidata.ucar.edu/software/netcdf/docs/index.html> 'classic' format, V1 and V2 files. The HDF-based NetCDF-4 format is not supported. It is intended to be (much) lighter weight than a CGO wrapped C++ library would be and produces bit-for-bit identical files to the C++ counterpart (if you find a counterexample please let me know). This is not a particularly fast format to store large datasets, but there are tons of tools out there that read and write it, so it should be convenient to interface your Go programs with those. Let me know if it doesn't do what you expect. /Luuk
netcdfgroup
archives: