<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>NetCDF library for .NET</title><link>http://www.codeplex.com/netcdf/Project/ProjectRss.aspx</link><description>NetCDF &amp;#40;network Common Data Form&amp;#41; is a software library and a standard binary data format supported by Unidata &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.unidata.ucar.edu&amp;#47;software&amp;#47;netcdf&amp;#47;&amp;#41; that enables the creation, access, and ...</description><item><title>NEW POST: Using it in C#</title><link>http://www.codeplex.com/netcdf/Thread/View.aspx?ThreadId=12833</link><description>&lt;div class="wikidoc"&gt;
&lt;div class="quote"&gt;
 &lt;br /&gt;Osei wrote:&lt;br /&gt;I have downloaded the netcdf assembly and added as a reference to my project. I now want to create a similar CreateNETCDF app in C# just like the J# one.&lt;br /&gt;Any help on that one?&lt;br /&gt; &lt;br /&gt;Osei&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;Sorry. Been away for a while...&lt;br /&gt;Using this library in C# is a bit tricky. You still need some of vjslib.dll, so you'll have to reference it in your project as well. The code will look like this:&lt;br /&gt; &lt;br /&gt;            NetcdfFileWriteable ncfile = new NetcdfFileWriteable();&lt;br /&gt;            ncfile.setName(&amp;quot;C:\\testncfile.nc&amp;quot;);&lt;br /&gt;            Dimension latDim = ncfile.addDimension(&amp;quot;lat&amp;quot;, 3);&lt;br /&gt;            Dimension lonDim = ncfile.addDimension(&amp;quot;lon&amp;quot;, 4);&lt;br /&gt;            Dimension timeDim = ncfile.addDimension(&amp;quot;time&amp;quot;, -1);&lt;br /&gt;            Dimension[] dim3 = new Dimension[3];&lt;br /&gt;            dim3[0] = timeDim;&lt;br /&gt;            dim3[1] = latDim;&lt;br /&gt;            dim3[2] = lonDim;&lt;br /&gt;            ncfile.addVariable(&amp;quot;rh&amp;quot;, java.lang.Integer.TYPE, dim3);&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;rh&amp;quot;, &amp;quot;long_name&amp;quot;, &amp;quot;relative humidity&amp;quot;);&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;rh&amp;quot;, &amp;quot;units&amp;quot;, &amp;quot;percent&amp;quot;);&lt;br /&gt;            ncfile.addVariable(&amp;quot;T&amp;quot;, java.lang.Double.TYPE, dim3);&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;T&amp;quot;, &amp;quot;long_name&amp;quot;, &amp;quot;surface temperature&amp;quot;);&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;T&amp;quot;, &amp;quot;units&amp;quot;, &amp;quot;degC&amp;quot;);&lt;br /&gt;            ncfile.addVariable(&amp;quot;lat&amp;quot;, java.lang.Float.TYPE, new Dimension[] { latDim });&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;lat&amp;quot;, &amp;quot;units&amp;quot;, &amp;quot;degrees_north&amp;quot;);&lt;br /&gt;            ncfile.addVariable(&amp;quot;lon&amp;quot;, java.lang.Float.TYPE, new Dimension[] { lonDim });&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;lon&amp;quot;, &amp;quot;units&amp;quot;, &amp;quot;degrees_east&amp;quot;);&lt;br /&gt;            ncfile.addVariable(&amp;quot;time&amp;quot;, java.lang.Integer.TYPE, new Dimension[] { timeDim });&lt;br /&gt;            ncfile.addVariableAttribute(&amp;quot;time&amp;quot;, &amp;quot;units&amp;quot;, &amp;quot;hours&amp;quot;);&lt;br /&gt;            ncfile.addGlobalAttribute(&amp;quot;title&amp;quot;, &amp;quot;Example Data&amp;quot;);&lt;br /&gt;            ncfile.create();&lt;br /&gt; &lt;br /&gt;            Console.WriteLine(&amp;quot;ncfile = &amp;quot; + ncfile);&lt;br /&gt;            int[, ,] rhData = {{{ 1,  2,  3,  4}, { 5,  6,  7,  8}, { 9, 10, 11, 12}},&lt;br /&gt;                  {{21, 22, 23, 24}, {25, 26, 27, 28}, {29, 30, 31, 32}}};&lt;br /&gt;            ArrayInt rhA = new ArrayInt.D3(2, latDim.getLength(), lonDim.getLength());&lt;br /&gt;            int i, j, k;&lt;br /&gt;            Index ima = rhA.getIndex();&lt;br /&gt;            for (i = 0; i &amp;lt; 2; i++)&lt;br /&gt;                for (j = 0; j &amp;lt; latDim.getLength(); j++)&lt;br /&gt;                    for (k = 0; k &amp;lt; lonDim.getLength(); k++)&lt;br /&gt;                        rhA.setInt(ima.set(i, j, k), rhData[i, j, k]);&lt;br /&gt;            ncfile.write(&amp;quot;rh&amp;quot;, rhA);&lt;br /&gt; &lt;br /&gt;            double[, ,] tData = {{{  1, 2,   3,  4}, {2,  4,  6,  8}, {  3,  6,  9,  12}},&lt;br /&gt;                 {{2.5, 5, 7.5, 10}, {5, 10, 15, 20}, {7.5, 15, 22.5, 30}}};&lt;br /&gt;            ArrayDouble tA = new ArrayDouble.D3(2, latDim.getLength(), lonDim.getLength());&lt;br /&gt;            ima = tA.getIndex();&lt;br /&gt;            for (i = 0; i &amp;lt; 2; i++)&lt;br /&gt;                for (j = 0; j &amp;lt; latDim.getLength(); j++)&lt;br /&gt;                    for (k = 0; k &amp;lt; lonDim.getLength(); k++)&lt;br /&gt;                        tA.setDouble(ima.set(i, j, k), tData[i, j, k]);&lt;br /&gt; &lt;br /&gt;            ncfile.write(&amp;quot;T&amp;quot;, tA);&lt;br /&gt;            ncfile.write(&amp;quot;lat&amp;quot;, ArrayAbstract.factory(new float[] { 41, 40, 39 }));&lt;br /&gt;            ncfile.write(&amp;quot;lon&amp;quot;, ArrayAbstract.factory(new float[] { -109, -107, -105, -103 }));&lt;br /&gt;            ncfile.write(&amp;quot;time&amp;quot;, ArrayAbstract.factory(new int[] { 6, 18 }));&lt;br /&gt;            ncfile.close();&lt;br /&gt;
&lt;/div&gt;</description><author>dmedv</author><pubDate>Thu, 23 Aug 2007 10:31:39 GMT</pubDate><guid isPermaLink="false">NEW POST: Using it in C# 20070823103139A</guid></item><item><title>RELEASED: 1.0 (Aug 23, 2007)</title><link>http://www.codeplex.com/netcdf/Release/ProjectReleases.aspx?ReleaseId=6602</link><description>Some minor changes in Array classes.&lt;br /&gt;DataType class added.</description><author></author><pubDate>Thu, 23 Aug 2007 08:43:44 GMT</pubDate><guid isPermaLink="false">RELEASED: 1.0 (Aug 23, 2007) 20070823084344A</guid></item><item><title>UPDATED RELEASE: 1.0 (авг 23, 2007)</title><link>http://www.codeplex.com/netcdf/Release/ProjectReleases.aspx?ReleaseId=6602</link><description>Some minor changes in Array classes.&lt;br /&gt;DataType class added.</description><author></author><pubDate>Thu, 23 Aug 2007 08:43:44 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 1.0 (авг 23, 2007) 20070823084344A</guid></item><item><title>NEW POST: Using it in C#</title><link>http://www.codeplex.com/netcdf/Thread/View.aspx?ThreadId=12833</link><description>&lt;div class="wikidoc"&gt;
I have downloaded the netcdf assembly and added as a reference to my project. I now want to create a similar CreateNETCDF app in C# just like the J# one.&lt;br /&gt;Any help on that one?&lt;br /&gt; &lt;br /&gt;Osei&lt;br /&gt;
&lt;/div&gt;</description><author>Osei</author><pubDate>Fri, 20 Jul 2007 14:42:26 GMT</pubDate><guid isPermaLink="false">NEW POST: Using it in C# 20070720024226P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/netcdf/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;NetCDF &amp;#40;network Common Data Form&amp;#41; is a software library and a standard binary data format supported by Unidata &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.unidata.ucar.edu&amp;#47;software&amp;#47;netcdf&amp;#47;&amp;#41; that enables the creation, access, and network sharing of array-oriented scientific data. This project is dedicated to porting the Java version of NetCDF library to .NET  platform. This effort is a part of the joint research project ESSE &amp;#40;Environmental Scenario Search Engine - http&amp;#58;&amp;#47;&amp;#47;esse.wdcb.ru&amp;#41; run by Geophysical Centre Rus. Acad. Sci., National Geophysical Data Center NOAA, and Microsoft Research, Cambridge. 
&lt;br /&gt; &lt;br /&gt;The current version is based on netCDF for Java 2.0. It supports netCDF-3 datasets (just like netCDF-Java 2.0 library). It does not support netCDF-4 yet.&lt;br /&gt;
&lt;/div&gt;</description><author>dmedv</author><pubDate>Mon, 21 May 2007 09:41:05 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070521094105A</guid></item><item><title>UPDATED RELEASE: 0.2 Alpha (апр 04, 2007)</title><link>http://www.codeplex.com/netcdf/Release/ProjectReleases.aspx?ReleaseId=3515</link><description>Contains the latest source code and binary builds. See "readme.txt" inside each package for details.</description><author></author><pubDate>Mon, 07 May 2007 07:24:23 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 0.2 Alpha (апр 04, 2007) 20070507072423A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/netcdf/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>dmedv</author><pubDate>Thu, 19 Apr 2007 12:16:23 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070419121623P</guid></item><item><title>UPDATED RELEASE: 0.1 Alpha</title><link>http://www.codeplex.com/netcdf/Release/ProjectReleases.aspx?ReleaseId=2886</link><description>Based on NetCDF for Java v2.0.
Includes NCdump and CreateNetcdf for testing purposes.</description><author></author><pubDate>Thu, 05 Apr 2007 13:52:28 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: 0.1 Alpha 20070405015228P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/netcdf/SourceControl/ListDownloadableCommits.aspx</link><description>First check-in based on NetCDF for Java v2.0. Contains NCdump and CreateNetcdf for testing the library.</description><author>dmedv</author><pubDate>Thu, 05 Apr 2007 13:35:21 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070405013521P</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/netcdf/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>dmedv</author><pubDate>Thu, 05 Apr 2007 12:52:12 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070405125212P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/netcdf/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;NetCDF &amp;#40;network Common Data Form&amp;#41; is a software library and a standard binary data format supported by Unidata &amp;#40;http&amp;#58;&amp;#47;&amp;#47;www.unidata.ucar.edu&amp;#47;software&amp;#47;netcdf&amp;#47;&amp;#41; that enables the creation, access, and network sharing of array-oriented scientific data. This project is dedicated to porting the Java version of NetCDF library to .NET  platform. This effort is a part of the joint research project ESSE &amp;#40;Environmental Scenario Search Engine - http&amp;#58;&amp;#47;&amp;#47;esse.wdcb.ru&amp;#93;&amp;#41; run by Geophysical Centre Rus. Acad. Sci., National Geophysical Data Center NOAA, and Microsoft Research, Cambridge. 
&lt;br /&gt;
&lt;/div&gt;</description><author>dmedv</author><pubDate>Thu, 05 Apr 2007 09:28:29 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070405092829A</guid></item><item><title>Source code checked in</title><link>http://www.codeplex.com/netcdf/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>dmedv</author><pubDate>Thu, 05 Apr 2007 09:00:49 GMT</pubDate><guid isPermaLink="false">Source code checked in 20070405090049A</guid></item><item><title>CREATED RELEASE: 0.2 Alpha</title><link>http://www.codeplex.com/netcdf/Release/ProjectReleases.aspx?ReleaseId=3515</link><description>Contains the latest source code and binary builds. See "readme.txt" inside each package for details.</description><author></author><pubDate>Wed, 04 Apr 2007 07:00:00 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: 0.2 Alpha 20070404070000A</guid></item></channel></rss>