<div dir="ltr">Hi all,<div><br></div><div>I hope that you are all well.</div><div><br></div><div>I am trying to convert grib2 into netcdf. The problem is to use many files together. If I use only one file, it is working fine.</div><div><br></div><div>I have tried to use addfiles function here.</div><div><br></div><div>  diri = "./"<br>   fili = systemfunc("cd "+diri+" ; ls 20180709_0000f*.grib2")<br>   f    = addfiles(diri+fili,"r") <br>  <br>   names   = getfilevarnames(f) <br><br>print(names)  <br></div><div><br></div><div><br></div><div><b style="background-color:rgb(0,255,0)">fatal:</b>Argument type mismatch on argument (0) of (getfilevarnames) can not coerce</div><div><br></div><div>Any suggestions would be appreciated. The code has been added herewith.</div><div><br></div><div>Best wishes,</div><div>Jalal<br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">M.Sc. in Applied Meteorology<br>Nanjing University of Information, Science and Technology, China.</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> </font></div><div dir="ltr">Researchgate: <a href="https://www.researchgate.net/profile/Md_Uddin125" target="_blank">https://www.researchgate.net/profile/Md_Uddin125</a> </div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>