Possible bug (?) with lists in 6.2.0

From: Brian Vanderwende <simbjv_at_nyahnyahspammersnyahnyah>
Date: Fri May 09 2014 - 01:33:10 MDT

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
Received on Fri May 9 01:33:21 2014

This archive was generated by hypermail 2.1.8 : Fri May 09 2014 - 15:23:17 MDT