dictionary-like object

From: <sam.hawkins_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 08 2013 - 02:54:29 MDT

Hi,

Does NCL have any kind of dictionary-like object? I have written a function which returns a lot of diagnostic variables. Currently this is returned as a list, but I would like to be able to access these by name. e.g. variables['SST'], variables['Rib']. Is this possible?

Sam.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 8 02:54:44 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 14 2013 - 18:35:09 MDT