[ncl-talk] Calling binary files

Laura Fowler laura at ucar.edu
Wed Dec 20 10:27:42 MST 2017


Hi Arka:

I usually use systemfunc, followed with ListSetType, and then addfiles
to read a bunch of the same kind of files together. There are lots of
examples on how to use systemfun on the ncl web site.

Hope this helps,
Laura


On Wed, Dec 20, 2017 at 9:13 AM, Arka Banerjee via ncl-talk
<ncl-talk at ucar.edu> wrote:
> Hi all,
>
> How to concatenate all file names in a single variable in NCL? I have 100 of
> .dat files in a directory and I want to call them all in a variable like
> below;
>
> fn=(/"gsmap_nrt.20100805.0600.dat","gsmap_nrt.20100805.0900.dat"/)
>
> So that 'fn' will be re-structured for 100 of .dat files in the same way of
> above line.
>
>
> How to execute this thing? Function 'addfiles' helps in this case? As I have
> found it is not for ascii formate.
>
>
> Thanks,
>
> Arka
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>



-- 
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler
Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000

e-mail: laura at ucar.edu
phone: 303-497-1628

!-------------------------------------------------------------------------------------------------------------


More information about the ncl-talk mailing list