<div dir="ltr">Forgot to attach ncl file</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 27, 2015 at 9:48 AM, Andrew Kren - NOAA Affiliate <span dir="ltr"><<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</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">I am working to plot NAM grib2 output on a map. NAM is on a two dimensional latitude/longitude grid over the United States. When I run my script, I get this error:<div><br></div><div><div>Coordinates: </div><div>(0) 0</div><div>(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.</div><div>(0) A valid latitude coordinate array should have a 'units' attribute equal to one of the following values: </div><div>(0) 'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'</div><div>(0) check_for_lon_coord: Warning: Data either does not contain a valid longitude coordinate array or doesn't contain one at all.</div><div>(0) A valid longitude coordinate array should have a 'units' attribute equal to one of the following values: </div><div>(0) 'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'</div><div>warning:ContourPlotDraw: out of range coordinates encountered; standard AreaFill rendering method may be unreliable;</div><div> consider setting the resource trGridType to "TriangularMesh" if coordinates contain missing values</div><div><br></div><div><br></div><div>I know what the error is but not sure how to rectify it. I have gotten this error before when trying to plot WRF output. I've tried to add coordinates and attributes to the variables but it won't work.</div><div><br></div><div>This is a print var summary of one of the variables for reference:</div><div><br></div><div><div>Variable: array_variable_hgt</div><div>Type: float</div><div>Total Size: 1051168 bytes</div><div> 262792 values</div><div>Number of Dimensions: 2</div><div>Dimensions and sizes: [ygrid_0 | 428] x [xgrid_0 | 614]</div><div>Coordinates: </div><div>Number Of Attributes: 13</div><div> initial_time : 11/26/2015 (00:00)</div><div> forecast_time_units : hours</div><div> forecast_time : 0</div><div> level_type : Isobaric surface (Pa)</div><div> parameter_template_discipline_category_number : ( 0, 0, 3, 5 )</div><div> parameter_discipline_and_category : Meteorological products, Mass</div><div> grid_type : Lambert Conformal can be secant or tangent, conical or bipolar</div><div> coordinates : gridlat_0 gridlon_0</div><div> units : gpm</div><div> long_name : Geopotential height</div><div> production_status : Operational products</div><div> center : US National Weather Service - NCEP (WMC)</div><div> _FillValue : 1e+20</div></div><div><br></div><div>Thanks,</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>