[ncl-talk] _NclOpenFile: Can not open file
Xueyan Zhang
xueyanzhang520 at gmail.com
Sun Dec 20 14:40:57 MST 2020
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/606cb09f/attachment.html>
More information about the ncl-talk
mailing list