Dear NCL users,
I am trying to loop through different variables by calling them by name
using an array with their various names predefined. To simplify my
question, I provide the following example:
If I have defined a variable named "winds", I can easily print out the
values it contains using the command print(winds).
However, if I have defined a variable named winds, and another variable
named winds_name = "winds", I cannot print out the values contained in
winds by typing print(
winds_name). Essentially, I need NCL to not care about the difference
between winds and winds_name. Is this possible? I tried using the
coercion functions, but that doesn't seem to be where the issue lies.
Thanks in advance for the help.
-Dan
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Apr 13 2009 - 15:29:09 MDT
This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 10:05:49 MDT