<div dir="ltr"><div>Looking at your data, they both have these 7 lines of header information:<br><br>ncols 129<br>nrows 156<br>xllcorner -70.8944<br>yllcorner -35.3167<br>xdim 0.0110168<br>ydim 0.00898743<br>NODATA_value -9999<br><br></div>The xdim/ydim are confusing named -- I might surmise they are distance between successive grid points?  If so, the data span an area of only about 1.4 degrees -- is that your understanding?<br><div><div><br></div><div>The attached script *may* do what you want. It parses the header, and construct 2D coordinate arrays from the header values. It then uses gsn_coordinates to plot the non-missing value locations. I don't know with any certainty whether the data are ordered sout->north or north->south; the script assumes the former.<br></div><div><br>In general, you'll want to be familiar with the pages below. Hope that helps</div><div><br></div><div>Rick<br></div><div><br></div><div><a href="https://www.ncl.ucar.edu/Applications/read_ascii.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/read_ascii.shtml</a><br><a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" target="_blank">https://www.ncl.ucar.edu/Docum<wbr>ent/Graphics/overlays_on_map.<wbr>shtml</a></div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" target="_blank"><br></a></div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" target="_blank"><br></a></div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" target="_blank"><br></a></div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/overlays_on_map.shtml" target="_blank"></a><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 5, 2018 at 6:41 AM, Vanúcia Schumacher 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">
<div id="m_-2164737589073528830divtagdefaultwrapper" style="font-size:14pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><span id="m_-2164737589073528830result_box" lang="en"><span>I have outputs data from a model (attached) with information per pixel, so where is -9999 are pixels that don't have  information.
<br>
</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span id="m_-2164737589073528830result_box" lang="en"><span><span id="m_-2164737589073528830result_box" lang="en"><span>The outputs are for a specific region, however the data are like a mask and has no lat and lon information.</span></span></span></span></p>
<p style="margin-top:0;margin-bottom:0"><span id="m_-2164737589073528830result_box" lang="en"><span>How can I plot this data on a map, to spatially visualize the pixels that contain information?</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span id="m_-2164737589073528830result_box" lang="en"><span>I tried the
<span>gsn_add_polymarker</span> function, but it requires lat and lon information.</span><br>
<span>Some help?</span></span><br>
</p>
</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>