String reference

From: Marco Pastore <marco.pastore_at_nyahnyahspammersnyahnyah>
Date: Thu, 28 Aug 2008 08:55:59 +0200

Hi All.

Is possible in NCL to reference one variable from an (string) array field ?

For example:

var = (/"T","S","U","V"/)

do ix = 0,(dimsizes(var)-1)
     a = $var(ix)$
     ..... some "fixed" graphic instruction to produce one plot using a....
end do

I tried, but it don't work...there is a way to do it ?

Thanks for one answer,

Marco

-- 
###   ###   ### ### ###
MARCO PASTORE
Istituto Nazionale di Geofisica e Vulcanologia
Gruppo Nazionale di Oceanografia Operativa
Viale Aldo Moro 44
40128, Bologna
Tel:(+39)051-3782649
Cel:(+39)339 8273965
Skype: mapas71
    
###   ###   ### ### ### 
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 28 2008 - 00:55:59 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 07:39:20 MDT