string

From: Sijikumar S <sijikumar_at_nyahnyahspammersnyahnyah>
Date: Wed, 19 Dec 2007 17:45:05 +0100

Hi,

A simple question,
instead of the following lines

tc=wrf_user_getvar(a,"tc",it)
ua=wrf_user_getvar(a,"ua",it)

How can I use the following loop

Var_name=(/"tc","ua"/)
do nn=0,1
    temp = wrf_user_getvar(a,Var_name(nn),it)
end do

I would like to get the variable name "temp" as "tc" and "ua" and it
would reads from "Var_name" .
thanks
Siji

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 19 2007 - 09:45:05 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 31 2007 - 09:18:02 MST