<div dir="ltr">Thanks Mary. I also just noticed on their website that they have a C-program that will convert the netcdf data to binary with lat lon info. But this might also work. Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 20, 2016 at 11:36 AM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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" style="font-size:small">Hi Andrew,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Take a look at the first example on this page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/native.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/native.shtml<br></a></div><div class="gmail_default"><br></div><div class="gmail_default">As a first cut, I would download the native_1.ncl script, and add these lines to read some data:</div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"> f = addfile(&quot;<a href="http://nws_precip_ak_20160221.nc" target="_blank">nws_precip_ak_20160221.nc</a>&quot;,&quot;r&quot;)</font></div><div class="gmail_default"><font face="monospace, monospace"> lat_corners = f-&gt;lat</font></div><div class="gmail_default"><font face="monospace, monospace"> lon_corners = f-&gt;lon</font></div><div class="gmail_default"><font face="monospace, monospace"> true_lat    = f-&gt;true_lat</font></div><div class="gmail_default"><font face="monospace, monospace"> true_lon    = f-&gt;true_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">and then change the following resource values as follows:</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div>







<div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace">; The following resources are Required to plot this projection correctly</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpProjection                = &quot;Stereographic&quot;     ; projection</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpLimitMode                 = &quot;Corners&quot;           ; method to zoom</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpLeftCornerLatF            = lat(0)</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpLeftCornerLonF            = lon(0)</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpRightCornerLatF           = lat(2)</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpRightCornerLonF           = lon(2)</font></div><div class="gmail_default"><font face="monospace, monospace"><br></font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpRelativeCenterLon         = True           ; set a center lon</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpCenterLonF                = true_lon       ; center lon</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpRelativeCenterLat         = True<span style="white-space:pre-wrap">      </span>     ; set a center lat</font></div><div class="gmail_default"><font face="monospace, monospace"> res@mpCenterLatF                = true_lat       ; center lat</font></div><div class="gmail_default"><font face="monospace, monospace"> res@tfDoNDCOverlay              = True </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">The one thing I&#39;m not sure about is whether the fact that your file says &quot;polar stereographic&quot; is going to make a difference. You could also set this to get a polar plot:</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><div class="gmail_default"><font face="monospace, monospace"> res@mpEllipticalBoundary        = True</font></div><div><font face="monospace, monospace"><br></font></div></div><div class="gmail_default">







<p>--Mary</p><p><br></p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, May 20, 2016 at 10:43 AM, Andrew Kren - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear ncl-talk,<div><br></div><div>I am trying to plot precipitation data of radar and station data from the NWS. It is in netcdf form. When I read in the data, the array of precipitation is two dimensional as expected in (lat,lon). However, there are no lat/lon coordinate arrays in the netcdf file. It only gives me the 4 corners of the lon / lat grid. I am sending the filedump of the netcdf file so you can see the format. </div><div><br></div><div>Is there a way in ncl to plot the data on a map without the given coordinate arrays?</div><div><br></div><div>Thanks,<span><font color="#888888"><br><div><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>
</div></font></span></div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></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>