<div dir="ltr"><div><div><div><div><div><div>You do not say what is "not successful".<br><br></div><div>Please read the documentation for both 'ListSetType' and 'addfiles'<br></div><br><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ListSetType.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/ListSetType.shtml</a><br><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml</a><br><br></div>Typically, 'join' is used for ensembles and 'cat' (the default) is used to concatenate files spanning multiple time steps.<br><br><b><span style="background-color:rgb(255,255,255)">ListSetType (f, "cat")</span></b> ; default setting<br><br>===<br></div>Further, always include some information from one of the files.<br></div>That does<br><br></div> printVarSummary(T) <br><br></div>from one file look like?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 4, 2015 at 5:16 AM, Raja Sivaranjan <span dir="ltr"><<a href="mailto:rajasivaranjan92@gmail.com" target="_blank">rajasivaranjan92@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi everyone,<br><br></div>I'm trying join different netcdf files and i'm not successful. Below is the code i have used. Kindly give your suggestion i'm new to ncl.<br><b><br><span style="background-color:rgb(255,255,255)"><br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" <br>fils = systemfunc ("ls /root/Desktop/Aphrodite/*.nc")<br>f = addfiles (fils, "r")<br>ListSetType (f, "join")<br>T = f[:] ->T<br>printVarSummary(T)</span></b><br><br></div>Thanks in advance<br></div>Rajasivaranjan<br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>