<div dir="ltr">Hello:<div><br></div><div>You can convert this data to a grid with lat/lon data by assigning lat/lon attributes to your data. Alternatively, you could interpolate your data to a lat/lon grid of your choice. </div><div><br></div><div>I can't access my programs now, so I can't send you an example.</div><div><br></div><div>However, if your grid is curvelinear, you can use:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2rgrid.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2rgrid.shtml</a><br></div><div><br></div><div>There is also </div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/area_hi2lores.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/area_hi2lores.shtml</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 2:42 PM Kunal Bali via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>thanks for this information. but can we change cartesian grid to latlon grid.</div><div><br></div><div><br></div><div> <br></div><div><div><div dir="ltr" class="gmail-m_-748231640148313041gmail_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 dir="ltr"><div><div dir="ltr"><div>---<br></div><div><font size="2"><span>Kunal<br></span></font></div><br><div><b><br></b></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 2:49 AM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Please look at your data. <br></div><div><br></div><div>The data are on a cartesian grid. <br></div><div>There are no latitude/longitude values. Hence: <br></div><div><br></div><div>(a) the <b>mp*</b> resources are not applicable.</div><div>(b) the <b>gsn_csm_contour<span style="color:rgb(0,0,255)">_map</span></b> function is not applicable. It looks for latitude/longitude values.</div><div><br></div><div>===========<br></div><div><span style="color:rgb(0,0,255)"><b>;;</b></span>res@trGridType = "TriangularMesh" ; plotting is too slow without this<br><span style="color:rgb(0,0,255)"><b>;;</b></span>res@gsnAddCyclic = False ; applicable for georeferenced data only<br> <br><span style="color:rgb(0,0,255)"><b>;;</b></span>res@mpMinLonF = 68.0 <br><b>;;</b>res@mpMaxLonF = 97.5<br><b>;;</b>res@mpMinLatF = 5.0<br><span style="color:rgb(0,0,255)"><b>;;</b></span>res@mpMaxLatF = 38.0<br><br> res@pmTickMarkDisplayMode = "Always"</div><div><span style="color:rgb(0,0,255)"><b>;;</b></span>res@mpGridSpacingF = 2<br><span style="color:rgb(0,0,255)"><b>;;</b></span>res@mpGridLineThicknessF = 4.0<br> res@tmXBLabelFontHeightF = 0.02<br> res@tmYLLabelFontHeightF = 0.02<br> res@tmXBLabelFontQuality = "High"<br> res@tmBorderThicknessF = 6<br><br>;---Fix the contour levels for all plots<br> res@cnLevelSelectionMode = "ManualLevels"<br> res@cnMinLevelValF = 0 ; -0.1<br> res@cnMaxLevelValF = 1<br> res@cnLevelSpacingF = 0.1<br> res@cnFillPalette = "WhBlGrYeRe"</div><div><br></div><div><b>;;</b>plot = gsn_csm_contour_map(wks,var1,res)<br> plot = <b>gsn_csm_contour</b>(wks,var1,res)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 18, 2019 at 12:14 PM Soma Roy <<a href="mailto:somaroy892@gmail.com" target="_blank">somaroy892@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Send your input file.. I will inform you.<div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Soma</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 18, 2019, 23:37 Kunal Bali <<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Dear NCL users,<div><br></div><div>not able to plot, </div><div>not receiving any error,</div><div>script is attached</div><div><br></div><div><br></div><div><b>file summary:</b></div><div><br></div><div><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif">dimensions:</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time = UNLIMITED ; // (1 currently)</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>bnds = 2 ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>jx = 261 ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>iy = 217 ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif">variables:</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>float time(time) ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:standard_name = "time" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:long_name = "time" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:bounds = "time_bnds" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:units = "hours since 1949-12-01 00:00:00 UTC" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:calendar = "standard" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>time:axis = "T" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>double time_bnds(time, bnds) ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>float jx(jx) ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>jx:long_name = "x-coordinate in Cartesian system" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>jx:units = "m" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>jx:axis = "X" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>float iy(iy) ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>iy:long_name = "y-coordinate in Cartesian system" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>iy:units = "m" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>iy:axis = "Y" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>float aod(time, iy, jx) ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>aod:standard_name = "atmosphere_optical_thickness_due_to_aerosol" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>aod:long_name = "Aerosol optical thickness in the visible band" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>aod:units = "1" ;</font></span></p>
<p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><span class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>aod:cell_methods = "time: point"</font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif">please provide some information?</font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><p style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif"><br></font></span></p><div><div dir="ltr" class="gmail-m_-748231640148313041gmail-m_2959601334393892823gmail-m_-1887373632151767005m_-1571722152784001713gmail_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 dir="ltr"><div><div dir="ltr"><div><font face="arial, sans-serif">---</font><br></div><div><font size="2"><span>Kunal<br></span></font></div><div><br></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" 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 noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></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>
</blockquote></div>
</blockquote></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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>