[gradsusr] Open Multiple file

Elham Mobarak mobarak_e at yahoo.com
Sat Dec 19 03:02:21 EST 2020


Hi users 
I want open multiple files with different name and sum same variables in every time step.I did it by following program but there is many of files and i couldn't open every of them separately.Does anyone have a suggestion?
sdfopen dust1.ncset t 1var1=ta
sdfopen dust2.ncset t 1var2=ta
sdfopen dust3.ncset t 1var3=ta
var=sum(var1.var2.var3)
  ......

Dr. Elham Mobarak Hassan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20201219/75d025a5/attachment.html>


More information about the gradsusr mailing list