Hi Nitin,
could you give us more information about what is not working (e.g.
script and
error message).
How do you use the 'in' variable? If you use addfiles you have to define
a variable
contained in all files like this
in = addfiles(all_files,"w")
var = in[:]->u10
If you want the variable to be read only from the 3rd file you have to do
var = in[2]->u10
See also http://ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml
Bye,
Karin
Am 01.04.14 08:37, schrieb Nitin Patil:
> Dear ncl users,
>
> I am trying to open multiple netcdf files as follows:
>
> all_files = systemfunc ("ls /home/nitin/Documents/3_STEM-HAM/try/*.nc")
> in = addfiles(all_files, "w")
>
> but it is not opening, When i am trying to open single file like:
> in = addfile("TROUT.05-*-00.nc <http://00.nc>","w") it is opening and
> script is working.
>
> Any suggestion and help is appreciated, kindly let me know.
>
>
> --
> Regards,
> Nitin Patil
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- Dipl. Geophys. Karin Meier-Fleischer Application Support, Visualization Deutsches Klimarechenzentrum GmbH E-Mail: meier-fleischer@dkrz.de Bundesstrasse 45a Internet: http://www.dkrz.de/ 20146 Hamburg Phone: +49 (0)40 460094 126 Germany Fax: +49 (0)40 460094 270 Geschäftsführer: Prof. Dr. Thomas Ludwig Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg HRB 39784
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 1 02:26:26 2014
This archive was generated by hypermail 2.1.8 : Thu Apr 03 2014 - 13:36:27 MDT