<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px"><div id="yui_3_16_0_1_1448202650987_3039" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">Hi <br></span></div><div id="yui_3_16_0_1_1448202650987_3046" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">I have to open 5 TRMM files <br></span></div><div dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">Following is the part of the code. </span></div><div dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038"><br></span></div><div id="yui_3_16_0_1_1448202650987_3097" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">begin<br class="" id="yui_3_16_0_1_1448202650987_3101"> trmm_files = systemfunc("ls 3B42_daily.20*.nc")<br class="" id="yui_3_16_0_1_1448202650987_3103"> printVarSummary(trmm_files)<br class="" id="yui_3_16_0_1_1448202650987_3105"><br class="" id="yui_3_16_0_1_1448202650987_3107"> open_trmm = addfiles(trmm_files,"r")<br class="" id="yui_3_16_0_1_1448202650987_3109"> printVarSummary(open_trmm)<br class="" id="yui_3_16_0_1_1448202650987_3111"><br class="" id="yui_3_16_0_1_1448202650987_3113"> trmm_rf = addfiles_GetVar(open_trmm,trmm_files,"r")<br class="" id="yui_3_16_0_1_1448202650987_3115"> printVarSummary(trmm_rf)<br class="" id="yui_3_16_0_1_1448202650987_3117"> nfiles = ListCount(open_trmm)<br class="" id="yui_3_16_0_1_1448202650987_3119"> print(nfiles)<br class="" id="yui_3_16_0_1_1448202650987_3121"> ListSetType(open_trmm,"join")<br class="" id="yui_3_16_0_1_1448202650987_3123"><br class="" id="yui_3_16_0_1_1448202650987_3125"> trmm_rf2011 = open_trmm(0)->r(:,:,:)<br class="" id="yui_3_16_0_1_1448202650987_3127"> printVarSummary(open_trmm(0))</span></div><div id="yui_3_16_0_1_1448202650987_3151" dir="ltr"><br><span id="yui_3_16_0_1_1448202650987_3038"></span></div><div id="yui_3_16_0_1_1448202650987_3152" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">When I execute the script, I get an error....<br></span></div><div id="yui_3_16_0_1_1448202650987_3099" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">NCAR Command Language Version 6.2.1<br class="" id="yui_3_16_0_1_1448202650987_2930"> The use of this software is governed by a License Agreement.<br class="" id="yui_3_16_0_1_1448202650987_2932"> See http://www.ncl.ucar.edu/ for more details.<br class="" id="yui_3_16_0_1_1448202650987_2934">fatal:syntax error: line 29 in file trmm-model-v1.ncl before or near ->r <br class="" id="yui_3_16_0_1_1448202650987_2936"> trmm_rf2011 = open_trmm(0)->r<br class="" id="yui_3_16_0_1_1448202650987_2938">--------------------------------^<br class="" id="yui_3_16_0_1_1448202650987_2940"><br class="" id="yui_3_16_0_1_1448202650987_2942">I dont know what's Going wrong. When the line trmm_rf2011 = <br></span></div><div id="yui_3_16_0_1_1448202650987_3233" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">is executed, NONE of the PRINT statements are EXECUTED.....</span></div><div id="yui_3_16_0_1_1448202650987_3246" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038"><br></span></div><div id="yui_3_16_0_1_1448202650987_3247" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038">Pls suggest???</span></div><div id="yui_3_16_0_1_1448202650987_3201" dir="ltr"><span id="yui_3_16_0_1_1448202650987_3038"></span></div><div> </div><div class="signature">Geeta.</div></div></body></html>