<div dir="ltr"><br><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># of files = 41</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">I think you must be more specific in your 'systemfunc' usage.<br></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><div> diri = "/Volumes/TIWARI/Arctic/<wbr>Climatology/ " </div><span class="gmail-im"><div> fils = systemfunc ("ls "+diri+"*.nc") <br><br></div><div>The above is getting the name of *ALL* the netCDF files in the directory. <br><br>Maybe:<br><br> <span class="gmail-im">fils = systemfunc ("ls "+diri+"</span><span class="gmail-im"><span style="font-variant-ligatures:no-common-ligatures">g4.timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green</span>*.nc") <br><br><br></span><br><br></div></span><span class="gmail-im"></span><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"></span></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 5, 2018 at 8:26 PM, Shani Tiwari <span dir="ltr"><<a href="mailto:pshanitiwari@gmail.com" target="_blank">pshanitiwari@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">Dear Mary <div> There are total 17 files in the folder and the output of the printVarSummaries as : </div><div><br></div><div><b>Script :</b> </div><div><br></div><div><div>begin</div><div> </div><div>diri = "/Volumes/TIWARI/Arctic/<wbr>Climatology/ " </div><span class=""><div> fils = systemfunc ("ls "+diri+"*.nc") </div></span><div> f1 = addfiles (fils, "r") ;</div><span class=""><div> </div><div> print("# of files = " + dimsizes(fils))</div><div> print(f1[0])</div><div> </div></span><span class=""><div> ListSetType (f1, "join") </div><div> aerosol = f1[:]->MIL3MAE_4_Optical_<wbr>depth_average_Green </div><div> AOD = mask(aerosol,(aerosol.lt.0 .or. aerosol.gt.1),False) </div><div> </div><div> Mean = dim_avg_n_Wrap(AOD, 0) </div><div> ; copy_VarCoords(Normal_AOD(0,:,<wbr>:), Mean) </div><div> Mean!0="lat"</div><div> Mean!1="lon"</div><div> Mean&lat = aerosol&lat ; assign coordinate values and </div><div> Mean&lon = aerosol&lon ; units attributes </div><div> </div><div> printVarSummary (aerosol)</div><div> </div><div>end</div><div> </div></span></div><div><b>And the output is :</b></div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span># of files = 41</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Variable: unnamed</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Type: file</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">filename:<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>g4.timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">path:<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://g4.timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">g4.timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> file global attributes:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> nco_openmp_thread_number : 1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> Conventions : CF-1.4</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> NCO : "4.5.3"</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> history : Mon Mar 5 08:09:56 2018: ncks -O -x -v time_bnds <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a> <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Mon Mar 5 08:09:56 2018: ncatted -a valid_range,,d,, -O -o <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a> <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Mon Mar 5 08:09:56 2018: ncatted -O -a title,global,o,c,MIL3MAE_4_<wbr>Optical_depth_average_Green Averaged over 2000-01-01 to 2000-12-31 <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Mon Mar 5 08:09:55 2018: ncks -x -v time -o <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a> -O <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Mon Mar 5 08:09:55 2018: ncwa -o <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a> -a time -O <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Mon Mar 5 08:09:55 2018: ncra -D 2 -H -O -o <a href="http://timeAvg.MIL3MAE_4_Optical_depth_average_Green.20000101-20001231.SEASON_JJA.180W_60N_180E_90N.nc" target="_blank">timeAvg.MIL3MAE_4_Optical_<wbr>depth_average_Green.20000101-<wbr>20001231.SEASON_JJA.180W_60N_<wbr>180E_90N.nc</a> -d lat,60.000000,90.000000 -d lon,-180.000000,180.000000</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> start_time : 2000-06-01T00:00:00Z</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> end_time : 2000-08-31T23:59:59Z</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> userstartdate : 2000-01-01T00:00:00Z</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> userenddate : 2000-12-31T23:59:59Z</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> title : JJA (2000-Jun - 2000-Aug) Aerosol Optical Depth 555 nm monthly 0.5 deg. [MISR MIL3MAE v4] over 2000-Jun - 2000-Aug, Region 180W, 60N, 180E, 90N</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> plot_hint_title : JJA (2000-Jun - 2000-Aug)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> plot_hint_subtitle : Aerosol Optical Depth 555 nm monthly 0.5 deg. [MISR MIL3MAE v4] over 2000-Jun - 2000-Aug, Region 180W, 60N, 180E, 90N</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> plot_hint_caption : - Seasons with missing months are discarded.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> dimensions:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> lat = 60</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> lon = 720</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> latv = 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> lonv = 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> variables:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> float MIL3MAE_4_Optical_depth_<wbr>average_Green ( lat, lon )</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> long_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>Aerosol Optical Depth 555 nm</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> _FillValue :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-9999</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> cell_methods :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>OpticalDepth, Band, ParticleType: mean time: mean</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> standard_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>optical_depth_average</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> quantity_type :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>Total Aerosol Optical Depth</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> product_short_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>MIL3MAE</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> product_version :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> latitude_resolution :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span> 0.5</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> longitude_resolution :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span> 0.5</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> coordinates :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>lat lon</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> double lat ( lat )</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>degrees_north</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> standard_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>latitude</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> bounds :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>lat_bnds</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> double lat_bnds ( lat, latv )</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>degrees_north</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> double lon ( lon )</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>degrees_east</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> standard_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>longitude</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> bounds :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>lon_bnds</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> double lon_bnds ( lon, lonv )</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>degrees_east</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">warning:A valid instance of variable MIL3MAE_4_Optical_depth_<wbr>average_Green was not found in one or more elements of the file list</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Variable: aerosol</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 5875200 bytes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> 1468800 values</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 3</span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><b>Dimensions and sizes:<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>[ncl_join | 34] x [lat | 60] x [lon | 720]</b></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> lat: [60.25..89.75]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> lon: [-179.75..179.75]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 11</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> long_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>Aerosol Optical Depth 555 nm</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> _FillValue :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>-9999</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> cell_methods :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>OpticalDepth, Band, ParticleType: mean time: mean</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> standard_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>optical_depth_average</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> quantity_type :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>Total Aerosol Optical Depth</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> product_short_name :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>MIL3MAE</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> product_version :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>4</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> units :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> latitude_resolution :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span> 0.5</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> longitude_resolution :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span> 0.5</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> coordinates :<span class="m_-1639846265002981368gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>lat lon</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">warning:dim_rmvmean_n: 444 rightmost sections of the input array contained all missing values</span></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Since , I added only 17 files, then the number of ncl_join should be 17 instead of 34.</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"> I hope that now will understand my problem. </p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Regards </p></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-1639846265002981368gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><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><br></div><div><br></div><div><br></div><div>------------------------------<wbr>------------------------------<br></div><div dir="ltr">Shani Tiwari, Ph.D.</div><div>Graduate School of Environmental Studies, </div><div>Nagoya University, Nagoya, Japan </div><div dir="ltr"><div>Mob: <a href="tel:+91%2094519%2052997" value="+919451952997" target="_blank">+91 9451952997</a><br></div><div>Skype ID: shani.tiwari2</div><div>Research Gate: <a href="https://www.researchgate.net/profile/Shani_Tiwari2" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a> <br></div><div>Google Scholar Web-page: <a href="https://scholar.google.co.jp/citations?user=IjIjMTMAAAAJ&hl=en" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a></div></div></div><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>-</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Tue, Mar 6, 2018 at 5:15 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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 class="gmail_default" style="font-size:small">Dear Shani,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It would help if you provide more information about how many files you actually have, and what "aerosol" looks like. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Can you please include the output from your "printVarSummary(aerosol)" call, and also add the following two print statements to your script after the addfiles call, and provide me with the output from that as well:</div><div class="gmail_default" style="font-size:small"> <br></div> print("# of files = " + dimsizes(fils))<br> print(f1[0])<div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks,</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--Mary</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-1639846265002981368h5">On Mon, Mar 5, 2018 at 2:35 AM, Shani Tiwari <span dir="ltr"><<a href="mailto:pshanitiwari@gmail.com" target="_blank">pshanitiwari@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-1639846265002981368h5"><div dir="ltr">Dear NCL users<div> I added multiple files using "systemfunc" and "ListSetType ". But the printVarSummary gave "ncl_join" size <b>exactly double</b> to the number of files present in to the directory. </div><div><div><br></div><div>begin<br></div><div><br></div><div>diri = "/Volumes/TIWARI/Arctic/Climat<wbr>ology/ " ; input directory</div><div> fils = systemfunc ("ls "+diri+"*.nc") ; file paths</div><div> f1 = addfiles (fils, "r") </div><div> ListSetType (f1, "join") </div><div> aerosol = f1[:]->MIL3MAE_4_Optical_depth<wbr>_average_Green </div><div> AOD = mask(aerosol,(aerosol.lt.0 .or. aerosol.gt.1),False) </div><div> </div><div> Mean = dim_avg_n_Wrap(AOD, 0) </div><div> ; copy_VarCoords(Normal_AOD(0,:,<wbr>:), Mean) </div><div> Mean!0="lat"</div><div> Mean!1="lon"</div><div> Mean&lat = aerosol&lat ; assign coordinate values and </div><div> Mean&lon = aerosol&lon ; units attributes </div><div> </div><div> printVarSummary (aerosol)</div><div><br></div><div>end</div><div><div class="m_-1639846265002981368m_-2982195256633022183m_5992191853222446860gmail_signature"><div dir="ltr"><div><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><br></div><div>Kindly suggest me, how to overcome to this? </div><div><br></div><div><br></div><div>Regards</div><div><br></div><div><br></div><div>------------------------------<wbr>------------------------------<br></div><div dir="ltr">Shani Tiwari, Ph.D.</div><div>Graduate School of Environmental Studies, </div><div>Nagoya University, Nagoya, Japan </div><div dir="ltr"><div>Mob: <a href="tel:+91%2094519%2052997" value="+919451952997" target="_blank">+91 9451952997</a><br></div><div>Skype ID: shani.tiwari2</div><div>Research Gate: <a href="https://www.researchgate.net/profile/Shani_Tiwari2" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a> <br></div><div>Google Scholar Web-page: <a href="https://scholar.google.co.jp/citations?user=IjIjMTMAAAAJ&hl=en" style="color:rgb(17,85,204)" target="_blank">Dr. Shani Tiwari</a></div></div></div><div dir="ltr"><div>------------------------------<wbr>------------------------------<wbr>-</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>