[ncl-talk] wrfout has no nc suffix

Rick Brownrigg brownrig at ucar.edu
Fri Sep 19 11:32:04 MDT 2014


Hi Yun,

I don't think you need the ".nc" suffix for NetCDF files -- if no suffix is
present, NCL will try to open the file as NetCDF.

Rick


On Fri, Sep 19, 2014 at 11:00 AM, Yun Yue <yunyue at huskers.unl.edu> wrote:

> Hi Guys.
> Do you know how to use addfiles if my wrfoutput has no .nc suffix.
> I used
> files = systemfunc("ls" +wrfdirectory+wrfout_d01_2012* +".nc")
> a = addfiles(files, "r")
> ListSetType(a,"join")
> time = a[:]->Times(:,0,:)
> But I got the error can't find nc file.
> How can I modify the suffix of files by program. I found a topic in ncl
> talk, just messy code I can't see clearly.
> Thank you.
> Yun
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140919/692f1084/attachment.html 


More information about the ncl-talk mailing list