.net - C# NetCDF Library -
i working on (or @ least planning) couple of projects work large amounts of repetitive data. kind of data works in spreadsheet or database, nasty in xml. :)
netcdf seems great option file format. however, work in c# , there no "official" netcdf implementation available. there "official" python version potentially use ironpython. option "netcdf library .net" on codeplex seems pretty quiet (http://www.codeplex.com/netcdf).
has worked either of these libraries? can provide recommendations?
first, sure netcdf right choice? if want interact other programs need read in large amounts of data , support netcdf, it's great choice. there aren't many standard , well-supported file formats support large multidimensional arrays. if you're going reading , writing files c#, may not such choice.
i'm big fan of "classic" netcdf file format. it's compact , extremely simple, flexible enough support lots of common kinds of multidimensional well-structured data. took me 1 day write complete parser classic netcdf, , took hour write program output well-formed special case of classic netcdf file. implement pure c# netcdf library , wouldn't trouble. start implementing features need. here's specification.
unfortunately, netcdf-4 chose use hdf-5 data format. adds lot of complexity , makes more difficult write complete netcdf parser in language. hdf-5 general-purpose , in opinion, overengineered - tries many things many people. not recommend trying work directly unless plan spend month writing unit tests. if must use netcdf-4 / hdf-5 c#, realistic option wrap c library using swig or that.
note netcdf python wrapper around c code, it's not helpful; if you're going use wrapped c library may write c# wrapper rather use python middle layer.
Comments
Post a Comment