[ncl-talk] 2d string netcdf output problem

Wei Huang huangwei at ucar.edu
Wed Aug 20 10:04:18 MDT 2014


Alan,

I can reproduce your issue here.
I have created a ticket ncl-2041 to trace this problem.
I'll update you on the progress of this issue.

Thanks,

Wei

================================================
1850 Table Mesa Dr.
Boulder, CO 80307
Phone: 303-497-8924


On Wed, Aug 20, 2014 at 9:25 AM, Brammer, Alan P <abrammer at albany.edu>
wrote:

> Hi all,
>
>         I was trying to write a 2d variable of strings to netcdf.  The
> write went without error, but on reading the variable back the first
> iteration through the array is written correctly then the rest are full
> with “ (null) “   which is not the _FillValue.
>
>
> Heres a slightly modified version of the example script from the NCL page
> that reproduces the problem on my machine.  And because it’s tiny here’s
> that netcdf as well with lots of (null) .
>
>
> In my real code my variable is (/ 60, 612 /) and (0,:) is saved correctly,
> then (1, :50)  are correct but the rest of the variable is (null).  So it
> exceeds partially at 2 dimensions.
>
> ncdump nc4_wrt_string.nc  ,   results in a seg fault as well.
>
>
>
> Thanks,
>         Alan.
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140820/d7687e76/attachment.html 


More information about the ncl-talk mailing list