Re: passing multiple variables as a set

From: Lunde, Bruce N CIV NAVOCEANO, NP1 <bruce.lunde_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 08 2010 - 13:22:24 MDT

Hi Rob, The best I've been able to do is attach
items to a variable (either a variable you are actually
using or a dummy one such as VAR=True) by means of
attributes. You can attach all data types as attributes,
as well as 1D and 2D arrays, e.g. VAR@lat2d = lat2d,
VAR@name = "dummy", ... You can then pass this around.

I believe you are limited to this modified NetCDF data
model, so you cannot do mutliple level structures as you
may be used to.

Any other ideas on methods to do this ?

Bruce

> ------------------------------
>
> Message: 7
> Date: Tue, 8 Jun 2010 10:11:07 -0700
> From: Rob Nicholas <rnicholas@atmos.washington.edu>
> Subject: passing multiple variables as a set
> To: NCL USERS <ncl-talk@ucar.edu>
> Message-ID:
> <AANLkTil0J58q1o31WODwgLqXAbVeJHr6oFvnCKsMPvL6@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Does NCL have any provision for packaging multiple variables together
> in some sort of "container" that can be passed as a single variable?
> Matlab achieves something similar to this with its "structure" data
> type, although Matlab doesn't really handle metadata as NCL does so
> nicely.
>
> Thanks,
> Rob

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Tue Jun 8 13:22:30 2010

This archive was generated by hypermail 2.1.8 : Fri Jun 11 2010 - 09:33:24 MDT