[ncl-talk] Possible bug (?) with lists in 6.2.0

Carl Schreck cjschrec at ncsu.edu
Fri Sep 26 12:54:36 MDT 2014


This bug appears to persist in 6.2.1. Has there been a fix that didn't make
it into the release?

I'm only just learning how to use lists, but I am also looking for a way
for the variable in the list to survive after the original variable has
been deleted or re-assigned.

    Thanks!
    Carl

On Fri, May 9, 2014 at 10:16 AM, Wei Huang <huangwei at ucar.edu> wrote:

> Brian,
>
> I think this is a bug.
> I have created JIRA-1963 to track this issue.
> We will have a fix soon.
> If you need a new binary/source-code for the fix,
> please let us know, and we'll inform you when we get a fix.
>
> Thanks,
>
> Wei
>
> On May 9, 2014, at 1:33 AM, Brian Vanderwende <simbjv at gmail.com> wrote:
>
> Hello,
>
> I'm running into a potential bug with list variables in NCL 6.2.0 (and
> apparently 6.1.x). In 6.1.0-beta, I would often disassociate data from
> their parent variable when adding it to a list so that I could return lists
> of data of various types from functions without worrying about keeping
> around the original variable. Simple example (sans function):
>
> test_data = ispan(0,10,1)
> test_list = NewList("fifo")
> ListPush(test_list, (/test_data/))
> print(test_list[0])
>
> That code ran fine in 6.1.0-beta, but since I've upgraded to 6.2.0, I've
> been getting the following error at the print statement:
>
> fatal:["Execute.c":1939]:Internal error
> fatal:["Execute.c":8565]:Execute: Error occurred at or near line 3
>
> Perhaps this behavior is intended, as I'm not really using lists in the
> way they were conceived, but I found it to be quite a useful coding trick
> in 6.1.0-beta.
>
> System information from uname:
> Linux 2.6.32-358.11.1.2chaos.ch5.1.x86_64 #1 SMP Wed Jul 24 17:45:01 PDT
> 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> Regards,
> -Brian
>
> --
> Brian Vanderwende - PhD Student
>   Atmospheric and Oceanic Science, University of Colorado Boulder
>   Phone: (303)492-2654
> --
>   _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 

<http://www.cicsnc.org/>
<http://www.researcherid.com/rid/B-8711-2011>
* Cyclone <http://www.cyclonecenter.org/>*Center.org
<http://www.cyclonecenter.org/>  *Carl J. Schreck III, PhD*
*Research Associate*
Cooperative Institute for Climate and Satellites NC <http://www.cicsnc.org/>

North Carolina State University <http://ncsu.edu/>
NOAA's National Climatic Data Center <http://ncdc.noaa.gov/>
151 Patton Ave, Asheville, NC 28801
e: cjschrec at ncsu.edu
o: +1 828 257 3140
Publications
<http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
monitor.cicsnc.org/mjo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140926/727b3af1/attachment.html 


More information about the ncl-talk mailing list