Re: PyNIO 1.3.0b1 sets incorrect length when creating attributes

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri, 10 Jul 2009 16:12:52 -0600

Hi Michael,

Sorry for the delay in answering.
Yes this bug has been fixed and you can get a new version of PyNIO.
Please email Mary Haley for instructions. Let her know which OS
version you are using.
And let us know if you still have difficulty using the 'attributes'
attribute once you get the new version installed.
  -dave

On Jul 9, 2009, at 6:28 AM, Michael Decker wrote:

> Hello,
>
> Yesterday I noticed that PyNIO (version 1.3.0b1) sets the wrong length
> when creating an attribute.
> I found this message which mentions the same problem for version
> 1.2.0:
> http://www.pyngl.ucar.edu/User_forum/Archives/2008/0146.html
> As the release of 1.3.0b1 was before the bug report, it is
> understandable that the fix is not in there. Is there a chance of
> getting a fixed version? We are having some trouble with that
> because we
> have to access the files through the NetCDF C-library which returns
> the
> wrong length for the attributes when they were created with PyNIO.
> The only workaround I found for this so far is to write every new
> attribute twice. After that the length information is correct. But
> this
> is a rather messy solution.
>
> On a sidenote:
> The documentation mentions the 'attributes' attribute for NioVariable
> objects. However, I can't find it in my version of PyNIO. So I'm still
> using __dict__ instead.
>
> Michael
>
> --
> Michael Decker
> Forschungszentrum Jülich
> ICG-2: Troposphäre
>
> E-Mail: m.decker_at_fz-juelich.de
>
> ----------------------------------------------------------------------
> --------------------------
> ----------------------------------------------------------------------
> --------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ----------------------------------------------------------------------
> --------------------------
> ----------------------------------------------------------------------
> --------------------------
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Fri Jul 10 2009 - 16:12:52 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 06:38:59 MDT