[ncl-talk] (no subject)

Smrati Purwar ritipurwar at gmail.com
Tue Feb 26 20:44:31 MST 2019


Thanks a lot.

On Tue, Feb 26, 2019 at 6:48 PM Dennis Shea <shea at ucar.edu> wrote:

> [1] PLEASE put appropriate text in the "Subject" Henceforth, no one will
> answer your question(s).
>
> [2] PLEASE read ncl documentation *including the examples:*
>
>      diri = "./"      ; input directory
>      fils = *systemfunc*
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml>("cd
> "+diri+" ; ls foo*nc")  ; 'foo' is a core name
>      nfils = *dimsizes*
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/dimsizes.shtml>(fils)
>      print("nfils="+nfils)
>
>      do nf=0,nfils-1
>           f = *addfile*
> <https://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml>(diri+fili(nf),
> "r")
>          x *:=* f->Variable_Name   ;  Use := if size may change
>          ...
>          ...
>      end do
>
> =====
>
> There is also *addfiles*
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml>
>
>      diri = "./"      ; input directory
>      fils = *systemfunc*
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml>("cd
> "+diri+" ; ls foo*nc")  ; 'foo' is a core name
>      nfils = *dimsizes*
> <http://www.ncl.ucar.edu/Document/Functions/Built-in/dimsizes.shtml>(fils)
>      print("nfils="+nfils)
>
>      f = *addfiles*(diri+fili, "r")
>      x = f[:]->Variable_Name
>
> ====
> We do expect you to put in the effort to learn the language rather than
> hust sending email after email.
>
> Please reads: https://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/
>
>
>
>
> On Mon, Feb 25, 2019 at 9:27 PM Smrati Purwar <ritipurwar at gmail.com>
> wrote:
>
>>
>> hello i want to run same ncl script for multiple .nc file (approx 100 ).
>> Its showing error for leap year like
>> fatal:Dimension sizes of left hand side and right hand side of assignment
>> do not match
>>
>> can i run all files in one time???
>> --
>> With Thanks & Regards
>> Smrati Purwar
>> Ph.D Scholar(CSIR-JRF)
>> CSIR- 4th Paradigm Institute(CMMACS)
>> NAL Belur Campus, Wind tunnel road
>> Bangalore, India-560037
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

-- 
With Thanks & Regards
Smrati Purwar
Ph.D Scholar(CSIR-JRF)
CSIR- 4th Paradigm Institute(CMMACS)
NAL Belur Campus, Wind tunnel road
Bangalore, India-560037
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190227/7371a562/attachment.html>


More information about the ncl-talk mailing list