[ncl-talk] _NclOpenFile: Can not open file

Xueyan Zhang xueyanzhang520 at gmail.com
Sun Dec 20 14:51:42 MST 2020


Hello NCL,

Following last email, the total number of files is 1008.

Xueyan

On Sun, Dec 20, 2020 at 2:40 PM Xueyan Zhang <xueyanzhang520 at gmail.com>
wrote:

> Hi ncl-talk,
>
> I am running the code including addfiles function like below:
>         fils  = systemfunc("ls
> "+dirin+"/hist/Noah.monthlymean.20{16..99}*.nc")
>         f = addfiles(fils, "r")
>         ListSetType(f, "join")
> However, there is an error saying:
> warning:_NclOpenFile: Can not open file <dirin/Noah.monthlymean.200002.nc>;
> file format not supported or file is corrupted.
> But when I use command line, instead of script, everything is okay. Does
> anyone have ideas about this problem?
>
> Thanks in advance.
>
> Xueyan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201220/3c25f3fd/attachment.html>


More information about the ncl-talk mailing list