<div dir="ltr"><div><div>Did you look at your data file?<br><br>netcdf AQUA {<br>dimensions:<br>        Cell_Across_Swath_mod04 = 135 ;<br>        Cell_Along_Swath_mod04 = 203 ;<br>variables:<br>        short Deep_Blue_Aerosol_Optical_Depth_550_Land(Cell_Along_Swath_mod04, Cell_Across_Swath_mod04) ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:long_name = &quot;AOT at 0.55 micron for land with all quality data (Quality flag=1,2,3)&quot; ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:units = &quot;None&quot; ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:add_offset = 0.f ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:scale_factor = 0.001f ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:_FillValue = -9999s ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:missing_value = -9999s ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:hdf_name = &quot;Deep_Blue_Aerosol_Optical_Depth_550_Land&quot; ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:Geolocation_Pointer = &quot;Internal geolocation arrays&quot; ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:Cell_Across_Swath_Sampling = 5, 1345, 10 ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:Cell_Along_Swath_Sampling = 5, 2025, 10 ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:Parameter_Type = &quot;Output&quot; ;<br>                Deep_Blue_Aerosol_Optical_Depth_550_Land:coordinates = &quot;nav_lon nav_lat&quot; ;<br><br></div>This last attribute is telling you that the variable coordinates are variables named: nav_lon &amp; nav_lat. These variables are not on the file. Ideally, the file should be recreated with the appropriate lat/lon arrays.<br><br></div><div>These are *swath* data. Likely, they would be dimensions: nav_lat(Cell_Along_Swath_mod04,Cell_Across_Swath_mod04)<br>nav_lon(Cell_Along_Swath_mod04,Cell_Across_Swath_mod04)<br><br><br>===<br><br></div><div>*Maybe* you could create needed data. The files contains<br><br>      GROUP                  = GRINGPOINT<br>        CLASS                = &quot;1&quot;<br><br>        OBJECT                 = GRINGPOINTLONGITUDE<br>          NUM_VAL              = 4<br>          CLASS                = &quot;1&quot;<br>          VALUE                = (-83.3803843568985, -117.115256681383, -118.339826728981, -92.6683760072062)<br>        END_OBJECT             = GRINGPOINTLONGITUDE<br><br>        OBJECT                 = GRINGPOINTLATITUDE<br>          NUM_VAL              = 4<br>          CLASS                = &quot;1&quot;<br>          VALUE                = (-48.4201205951382, -53.2247750652399, -34.9912599825019, -31.5645095179126)<br>        END_OBJECT             = GRINGPOINTLATITUDE<br><br>===<br></div><div>This would be your responsibility.<br><br></div><div>Good Luck<br></div><div><br></div><div><br></div><div><br></div><br><div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 12:58 PM, Mateus Dias Nunes <span dir="ltr">&lt;<a href="mailto:nunes.mateusdias@gmail.com" target="_blank">nunes.mateusdias@gmail.com</a>&gt;</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"><div class="gmail_default"><font face="arial, helvetica, sans-serif">Hello,</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I have a problem that seems simple, but I can not solve it.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I have a satellite data from Modis <a href="https://www.dropbox.com/s/gklux3ia2kqklum/AQUA.nc?dl=0" target="_blank">https://www.dropbox.com/<wbr>s/gklux3ia2kqklum/AQUA.nc?dl=0</a></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">But every time I try to plot it it presents the following error:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) check_for_y_lat_coord: Warning: Data does not contain a valid latitude coordinate array or does not contain one at all.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) A valid latitude coordinate array should have a &#39;units&#39; attribute equal to one of the following values:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) &#39;degrees_north&#39; &#39;degrees-north&#39; &#39;degree_north&#39; &#39;degrees north&#39; &#39;degrees_N&#39; &#39;Degrees_north&#39; &#39;degree_N&#39; &#39;degreesN&#39; &#39;degreesN&#39; &#39;deg north&#39;</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) check_for_lon_coord: Warning: Data does not contain a valid longitude coordinate array or does not contain one at all.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) A valid longitude coordinate array should have a &#39;units&#39; attribute equal to one of the following values:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) &#39;degrees_east&#39; &#39;degrees-east&#39; &#39;degrees_east&#39; &#39;degrees east&#39; &#39;degrees_E&#39; &#39;Degrees_east&#39; &#39;degree_E&#39; &#39;degreesE&#39; &#39;degreesE&#39; &#39;deg east&#39;</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Warning: ContourPlotInitialize: no valid values ​​in scalar field; ContourPlot not possible: [errno = 1101]</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Below the script link.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><a href="https://www.dropbox.com/s/6ezzfy12974veek/abrirdadoMODIS.ncl?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>6ezzfy12974veek/<wbr>abrirdadoMODIS.ncl?dl=0</a><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">I&#39;ve tried to use the suggestions proposed on the ncl website, but I did not succeed. I think it&#39;s because it does not have a coordinate associated with lat and lon.</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">Thank you for your help.</font></div></div><div><div class="m_1807028831542666596gmail_signature"><div dir="ltr"><div><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><font face="tahoma, sans-serif">______________________________<wbr>______________________________<wbr>________________</font></div><font color="#0000ff" face="tahoma, sans-serif"><div dir="ltr"><font face="tahoma, sans-serif"><br></font></div>MATEUS DIAS NUNES</font><div><div><font color="#0000ff" face="tahoma, sans-serif">MESTRANDO DO PROGRAMA DE PÓS-GRADUAÇÃO EM METEOROLOGIA - PPGMET</font></div><div><div style="font-size:12.8px"><font color="#0000ff" face="tahoma, sans-serif">GRUPO DE ESTUDOS EM POLUIÇÃO ATMOSFÉRICA - GEPA</font></div><font color="#0000ff"><span style="font-family:tahoma,sans-serif">UNIVERSIDADE FEDERAL DE PELOTAS - UFPEL<br></span><span style="font-family:tahoma,sans-serif;font-size:12.8px">TELEFONE: <a href="tel:%2B55%20%2853%29%208112-5154" value="+555381125154" target="_blank">+55 (53) 8112-5154</a>   </span></font><span style="font-family:tahoma,sans-serif;font-size:12.8px;color:rgb(0,0,0)">  <br></span><span style="color:rgb(0,0,255);font-family:tahoma,sans-serif;font-size:12.8px">SKYPE: mateus.diasnunes</span><span style="font-family:tahoma,sans-serif;font-size:12.8px;color:rgb(0,0,0)">      </span><span style="font-family:tahoma,sans-serif;font-size:12.8px">  </span><span style="font-family:tahoma,sans-serif"><br></span></div><div><font face="tahoma, sans-serif">______________________________<wbr>______________<span style="background-color:rgb(255,255,255)"><span></span></span>________________<wbr>________________</font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><br><br><div class="m_1807028831542666596mt-signature"><img src="https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png" height="14" width="16"> <font class="m_1807028831542666596mt-signature-text" color="#999999">Sent with <a href="https://mailtrack.io/install?source=signature&amp;lang=en&amp;referral=nunes.mateusdias@gmail.com&amp;idSignature=22" class="m_1807028831542666596mt-install" target="_blank">Mailtrack</a></font></div><img class="m_1807028831542666596mailtrack-img" src="https://mailtrack.io/trace/mail/767ace9ac928dd5b29e011b90b82240236eadc82.png?u=968181" height="0" width="0"></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>