<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>First contact with pupynere (Logilab.org) RSS Feed</title>
    <description></description>
    <link>http://www.logilab.org/blogentry/18838</link>
<item>
<guid isPermaLink="true">http://www.logilab.org/blogentry/18838</guid>
  <title>First contact with pupynere</title>
  <link>http://www.logilab.org/blogentry/18838</link>
  <description>&lt;p&gt;I spent some time this week evaluating &lt;a class=&quot;reference&quot; href=&quot;http://dealmeida.net/projects/pupynere&quot;&gt;Pupynere&lt;/a&gt;, the PUre PYthon NEtcdf REader written by Roberto De Almeida. I see several advantages in pupynere.&lt;/p&gt;
&lt;p&gt;First it&#39;s a pure Python module with no external dependency. It doesn&#39;t even depend on the &lt;a class=&quot;reference&quot; href=&quot;http://www.unidata.ucar.edu/software/netcdf/&quot;&gt;NetCDF&lt;/a&gt; lib and it is therefore very easy to deploy.&lt;/p&gt;
&lt;img alt=&quot;http://www.unidata.ucar.edu/software/netcdf/netcdf1_sm.png&quot; class=&quot;align-right&quot; src=&quot;http://www.unidata.ucar.edu/software/netcdf/netcdf1_sm.png&quot; /&gt;
&lt;p&gt;Second, it offers the same interface as &lt;cite&gt;Scientific Python&lt;/cite&gt;&#39;s NetCDF bindings which makes transitioning from one module to another very easy.&lt;/p&gt;
&lt;p&gt;Third pupynere is being integrated into &lt;a class=&quot;reference&quot; href=&quot;http://www.scipy.org/&quot;&gt;Scipy&lt;/a&gt; as the &lt;tt class=&quot;docutils literal&quot;&gt;scypi.io.netcdf&lt;/tt&gt; module. Once integrated, this could ensure a wide adoption by the python community.&lt;/p&gt;
&lt;p&gt;Finally it&#39;s easy to dig in this clear and small code base of about 600 lines. I have just sent several fixes and bug reports to the author.&lt;/p&gt;
&lt;img alt=&quot;http://docs.scipy.org/doc/_static/scipyshiny_small.png&quot; class=&quot;align-right&quot; src=&quot;http://docs.scipy.org/doc/_static/scipyshiny_small.png&quot; /&gt;
&lt;p&gt;However pupynere isn&#39;t mature yet. First it seems pupynere has been only used for simple cases so far. Many common cases are broken. Moreover there is no support for new NetCDF formats such as long-NetCDF and NetCDF4, and important features such as file update are still missing. In addition, The lack of a test suite is a serious issue. In my opinion, various bugs could already have been detected and fixed with simple unit tests. Contributions would be much more
comfortable with the safety net offered by a test suite. I am not certain
that the fixes and improvements I made this week did not introduce regressions.&lt;/p&gt;
&lt;p&gt;To conclude, pupynere seems too young for production use. But I invite people
to try it and provide feedback and fixes to the author. I&#39;m looking forward to using this project in production in the future.&lt;/p&gt;
</description>
  <dc:date>2009-11-06T17:36-01:00</dc:date>
  <dc:creator>Pierre-Yves David</dc:creator>
</item>
  </channel>
</rss>