<div dir="ltr"><div><div><div><div><div>You have sent the same question before, The reason for no reply is that the question is rather vague.<br><br></div>[1] You can read the variable and use the two-dimensional coordinates latitude(y,x) ; longitude (y,x) to plot vis:<br><br><br></div> f = addfile("<a href="http://foo.nc">foo.nc</a>", "r")<br></div> x = f->X ; :(time,lev,y,x)<br></div> x@lat2d = f->latitude ; (y,x)<br></div> x@lon2d = f->longitude<br><br><pre> wks = gsn_open_wks("png","polar") ; send graphics to PNG file
res = True ; plot mods desired
res@gsnPolar = "NH" ; specify the hemisphere<br> <br></pre><pre> nt = 0 <br> lev = 10 <br> plot = gsn_csm_contour_map_polar(wks,x(nt,klev,:,:),res)<br><br></pre><pre>or, maybe<br></pre><pre> plev = 500 ; natural coordinate<br> plot = gsn_csm_contour_map_polar(wks,x(nt,{plev},:,:),res) <br><br>===<br></pre><pre>[2]<br>If you want the polar data regridded then see:<br> <a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br><br></pre><pre>Your source grid would be classified as 'curvilinear'.<br></pre><pre>Your resulting file would ve 'rectilinear'<br><br></pre><pre>Good luck<br></pre><pre><br><br></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 12, 2016 at 4:00 AM, Sourav Chatterjee <span dir="ltr"><<a href="mailto:srvsxc@outlook.com" target="_blank">srvsxc@outlook.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 style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear All</p>
<p><br>
</p>
<p>How to convert the stereographic projection x-y coordinates to lat lon grids? I have the 2d lat lon coordinates but the variable is in x-y coordinates e.g
</p>
<p><br>
</p>
<p>temp(time,depth,y,x).</p>
<p><br>
</p>
<p>and latitude(y,x) ; longitude (y,x)</p>
<p><br>
</p>
<p>Is it poosible to get temp(time,depth,latitude,<wbr>longitude) from this information?</p>
<p><br>
</p>
<p>Thanks<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>