<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Bertrand,<div class=""><br class=""></div><div class="">I just successfully ran this basic script using NCL 6.4.0 on my Mac using the commands you provided:</div><div class=""><blockquote type="cite" class=""><div class=""><div class="" style="font-family: garamond, 'new york', times, serif; font-size: 12pt;"><div data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" class="" style="font-family: Helvetica, Arial, sans-serif; font-size: 12pt;"><div data-mce-style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000;" class="" style="font-family: garamond, 'new york', times, serif; font-size: 12pt;"><div class="">toto=(1 2 3)</div><div class="">ncl titi="\"${toto[*]}\"" script.ncl</div></div></div></div></div></blockquote></div><div class=""><div class=""><div class="" style="font-family: garamond, 'new york', times, serif; font-size: 12pt;"><div data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" class="" style="font-family: Helvetica, Arial, sans-serif; font-size: 12pt;"><div data-mce-style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000;" class="" style="font-family: garamond, 'new york', times, serif; font-size: 12pt;"><div class=""><br class=""></div></div></div></div></div></div><div class="">Which operating system are you using? Which installation method did you use to install NCL? Does this new NCL v6.4.0 binary work with other scripts?</div><div class=""><br class=""></div><div class="">Also, is it possible that the array of filenames that is being passed to NCL includes files that do not exist?</div><div class=""><br class=""></div><div class="">Kevin</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 8, 2017, at 1:59 AM, DECHARME Bertrand <<a href="mailto:bertrand.decharme@meteo.fr" class="">bertrand.decharme@meteo.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family: garamond, 'new york', times, serif; font-size: 12pt;" class=""><div class="">Dear <br class=""></div><div style="font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" class=""><div style="font-family: garamond, 'new york', times, serif; font-size: 12pt;" data-mce-style="font-family: garamond, new york, times, serif; font-size: 12pt; color: #000000;" class=""><div class=""><br class=""></div><div class="">I change my version from v6.3.0 to v6.4.0. I generally use this kind of shell commands (bellow) where I put a character array in argument to my ncl script. Nevertheless, it does not work with v6.4.0<br class=""></div><div class=""><br class=""></div><div class="">toto=(1 2 3)</div><div class="">ncl titi="\"${toto[*]}\"" script.ncl</div><div class=""><br class=""></div><div class="">The ncl script (script.ncl) is:<br class=""></div><div class="">--------------------------------------------------------------------------------------------------------------------<br class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"<br class=""><div class=""><br class=""></div>begin<br class=""> print(titi)<br class=""> gg = str_split(titi," ")<br class=""> print(gg)<br class="">end<br class=""></div><div class="">-------------------------------------------------------------------------------------------------------------------------<br class=""></div><div class=""><br class=""></div><div class="">The message error is:</div><div class=""> Copyright (C) 1995-2017 - All Rights Reserved<br class=""> University Corporation for Atmospheric Research<br class=""> NCAR Command Language Version 6.4.0<br class=""> The use of this software is governed by a License Agreement.<br class=""> See <a href="http://www.ncl.ucar.edu/" class="">http://www.ncl.ucar.edu/</a> for more details.<br class="">fatal: can't find file "2"<br class=""><div class=""><br class=""></div></div><div class="">So space in argument even between " seems to be not seen by the ncl launch procedure in v6.4.0.<br class=""></div><div class=""><br class=""></div><div class="">This scripting run in v6.3.0. Have you an issue ?<br class=""></div><div class=""><br class=""></div><div class="">Many thanks<br class=""></div><div class="">Bertrand Decharme<br class=""></div></div></div><div class=""><br class=""></div></div></div>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></body></html>