<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 = "AOT at 0.55 micron for land with all quality data (Quality flag=1,2,3)" ;<br> Deep_Blue_Aerosol_Optical_Depth_550_Land:units = "None" ;<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 = "Deep_Blue_Aerosol_Optical_Depth_550_Land" ;<br> Deep_Blue_Aerosol_Optical_Depth_550_Land:Geolocation_Pointer = "Internal geolocation arrays" ;<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 = "Output" ;<br> Deep_Blue_Aerosol_Optical_Depth_550_Land:coordinates = "nav_lon nav_lat" ;<br><br></div>This last attribute is telling you that the variable coordinates are variables named: nav_lon & 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 = "1"<br><br> OBJECT = GRINGPOINTLONGITUDE<br> NUM_VAL = 4<br> CLASS = "1"<br> VALUE = (-83.3803843568985, -117.115256681383, -118.339826728981, -92.6683760072062)<br> END_OBJECT = GRINGPOINTLONGITUDE<br><br> OBJECT = GRINGPOINTLATITUDE<br> NUM_VAL = 4<br> CLASS = "1"<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"><<a href="mailto:nunes.mateusdias@gmail.com" target="_blank">nunes.mateusdias@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"><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 'units' attribute equal to one of the following values:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreesN' 'degreesN' 'deg north'</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 'units' attribute equal to one of the following values:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">(0) 'degrees_east' 'degrees-east' 'degrees_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreesE' 'degreesE' 'deg east'</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've tried to use the suggestions proposed on the ncl website, but I did not succeed. I think it'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&lang=en&referral=nunes.mateusdias@gmail.com&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>