[ncl-talk] flexible variable names in new

Michael Notaro mnotaro at wisc.edu
Fri Jun 30 08:01:23 MDT 2017


Is there any way to create new variables with flexible names?  For example,


do i=0,5

  var$i$= ........

end do


So that would (if done right) define new variables named var0, var1, var2, var3, var4, and var5.


Michael


Michael Notaro
Associate Director
Nelson Institute Center for Climatic Research
University of Wisconsin-Madison
Phone: (608) 261-1503
Email: mnotaro at wisc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170630/76618653/attachment.html 


More information about the ncl-talk mailing list