C# NetCDF Library

JohnV picture JohnV · Sep 12, 2008 · Viewed 11.3k times · Source

I am currently working on (or at least planning) a couple of projects that work with large amounts of repetitive data. The kind of data that works well in a spreadsheet or database, but is nasty in XML. :)

NetCDF seems like a great option for a file format. However, my work is in C# and there is no "official" NetCDF implementation available. There is an "official" Python version that I could potentially use with IronPython. Another option is the "NetCDF Library for .Net" on CodePlex but it seems pretty quiet (http://www.codeplex.com/netcdf).

Has anyone worked with either of these libraries? Can you provide any recommendations?

Answer

dylanT picture dylanT · Sep 2, 2014

I'm adding this now because this was the top answer when I Googled about this topic.


ETA Per the reply below, there is ANOTHER Microsoft NetCDF library now available:

https://www.nuget.org/packages/SDSLite

Scientific DataSet Lite 1.4.0

This is a cross platform library for manipulating netCDF, CSV and TSV files.


Since this question was originally asked and answered, Microsoft has released a Scientific DataSet Library that has support for NetCDF

http://research.microsoft.com/en-us/downloads/ccf905f6-34c6-4845-892e-a5715a508fa3/

Project Description

The SDS library makes it easy for .Net developers to read, write and share scalars, vectors, matrices and multidimensional grids which are very common in scientific modelling. It supports CSV, NetCDF and other file format

Programs that use the library store related data and associated metadata in a compact self-describing package. Libraries come with a set of utilities and packages: sds command line utility, DataSet Viewer application and an add-in for Microsoft Excel 2007 (and later versions). See Release page for details.