<div dir="ltr"><div><div><div><div>You only have one time step:<br><br>   <span style="font-variant-ligatures:no-common-ligatures">double MOD08_M3_6_AOD_550_Dark_<wbr>Target_Deep_Blue_Combined_<wbr>Mean_Mean ( lat, lon )<br><br></span></div><span style="font-variant-ligatures:no-common-ligatures">contains no 'time' dimension.<br><br>---<br><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_rmvmean_n.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/dim_rmvmean_n.shtml</a><br><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">Also, you are using:<br>    aerosol= Aero_Ju->MOD08_M3_6_AOD_550_Dark_Target_Deep_Blue_Combined_Mean_Mean<br>    anamoly  =  dim_rmvmean_n_Wrap(aerosol,1)<br><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures">1 would refer to the 'lon' dimension in aerosol.<br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br>---</span><br></div><span style="font-variant-ligatures:no-common-ligatures"></span></div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><span style="font-variant-ligatures:no-common-ligatures">If you have 16 files like the above:<br><br></span><br><pre>   diri = "./"   ; input directory
   fils = <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/systemfunc.shtml"><strong>systemfunc</strong></a> ("ls "+diri+"XXX*.nc") ; file paths
   f    = <strong>addfiles</strong> (fils, "r")   ; note the "s" of <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml"><strong>addfile</strong></a>
   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/ListSetType.shtml"><strong>ListSetType</strong></a> (f, "join")       
   aerosol    = f[:]-><span style="font-variant-ligatures:no-common-ligatures">MOD08_M3_6_AOD_550_Dark_Target_Deep_Blue_Combined_Mean_Mean</span>  <br>  
   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/printVarSummary.shtml"><strong>printVarSummary</strong></a> (aerosol)   ; ("time",lat,lon),  (0,1,2)<br></pre><pre>   printMinMax(aerosol,<b>0</b>)<br><br></pre><pre>   anomaly = dim_rmvmean_n(aerosol, <b>0</b>)<br></pre><pre>   copy_VarCoords(aerosil(0,:,:), anomaly)<br><br><br></pre><span style="font-variant-ligatures:no-common-ligatures"></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 1:41 AM, P. Tiwari via ncl-talk <span dir="ltr"><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@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"><span style="font-size:12.800000190734863px">Dear NCL user </span><div style="font-size:12.800000190734863px">                       I am new in NCL and I want to calculate anomaly AOD for June. I downloaded 16 year AOD (for June) data from MODIS and calculate using dim_rmvmea_n_Wrap function over polar region. </div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Although I got the the plot yet there is a warning <b>" <span style="color:rgb(0,0,0);font-family:Menlo">2 rightmost sections of the input array contained all missing values" </span></b> I tried to upload my data file to through ftp but did not get success. So, Herewith I attached the plot along with the my script an data also. </div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">In this script, I want to plot variable <span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px">double MOD08_M3_6_AOD_550_Dark_<wbr>Target_Deep_Blue_Combined_<wbr>Mean_Mean ( lat, lon )</span></div><div><span style="color:rgb(0,0,0);font-family:Menlo"> </span></div><div><font face="Menlo" color="#000000">The details of the variables are as : </font></div><div><font face="Menlo" color="#000000"><br></font></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> double MOD08_M3_6_AOD_550_Dark_<wbr>Target_Deep_Blue_Combined_<wbr>Mean_Mean ( lat, lon )</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>-9999</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>Combined Dark Target and Deep Blue AOD at 0.55 micron for land and ocean</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>1</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Level_2_Pixel_Values_Read_As :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>Real</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Included_Level_2_Nighttime_<wbr>Data :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>False</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Quality_Assurance_Data_Set :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>Quality_Assurance_Land</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Statistic_Type :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>Simple</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         QA_Byte :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>5</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         QA_Useful_Flag_Bit :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>0</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         QA_Value_Start_Bit :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>1</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         QA_Value_Num_Bits :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>2</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Aggregation_Data_Set :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>None</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Derived_From_Level_3_Daily_<wbr>Data_Set :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>AOD_550_Dark_Target_Deep_Blue_<wbr>Combined_Mean</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">         Weighting :<span class="m_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">   </span>Unweighted</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>aerosol optical depth</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>Aerosol Optical Depth</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">  </span>MOD08_M3</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>6</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>time: mean</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>   1</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>   1</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>lat lon</span></p>
<p style="margin:0px;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-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      float lat ( lat )</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>degrees_north</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>latitude</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>lat_bnds</span></p>
<p style="margin:0px;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-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-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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>degrees_north</span></p>
<p style="margin:0px;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-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">      float lon ( lon )</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>degrees_east</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>longitude</span></p>
<p style="margin:0px;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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>lon_bnds</span></p>
<p style="margin:0px;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-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-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_-7561369684414002904gmail-Apple-tab-span" style="white-space:pre-wrap">       </span>degrees_east</span></p><p style="margin:0px;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-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p></div><div style="font-size:12.800000190734863px">Kindly suggest me the output is correct or not. As I mention earlier that I want to calculate anomaly for June month. </div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Waiting for the positive response.</div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px"><br></div><div style="font-size:12.800000190734863px">Thanks in advance.</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>