<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Jalal,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You sent your message over the weekend, which is why it was not answered right away. </div><div class="gmail_default" style="font-size:small"><br class="gmail-Apple-interchange-newline">Are you getting any errors or warnings from this script? It's crucial to include this information when you have a question about NCL.<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Usually the reason why data doesn't appear on a map correctly is because the lat/lon data being provided in the script is not correct for the data you are trying to plot.</div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><br class="gmail-Apple-interchange-newline">It looks like you are doing everything correctly, as you have these two lines which tell NCL where to place the data on the map:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default"> res@sfXArray = grid_lont ; Required to tell NCL where to </div><div class="gmail_default"> res@sfYArray = grid_latt ; overlay data on globe. </div><div class="gmail_default"><br></div><div class="gmail_default">Did you look at grid_lont and grid_latt? I suggest doing a printMinMax to make sure that the lat/lon values look correct:<br></div><div class="gmail_default"><br></div><div class="gmail_default">printMinMax(grid_lont,0)</div><div class="gmail_default">printMinMax(grid_latt,0)</div><div class="gmail_default"><br></div><div class="gmail_default">These values should be around 23 latitude and 90 longitude, if this data is over Bangladesh.</div></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">A useful debugging tool is to use the gsn_coordinates procedure to draw the location of your grid_lont and grid_latt arrays on your map. For example, after this call:</div><br><font face="monospace, monospace"> plot = gsn_csm_contour_map(wks,aqual,res)<br></font><br>add the lines:<br><font face="monospace, monospace"><br>mkres <span class="gmail_default" style="font-size:small"> </span>= True</font></div><div dir="ltr"><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">mkres@gsnCoordsLat = grid_latt</font></div><div class="gmail_default" style="font-size:small"><font face="monospace, monospace">mkres@gsnCoordsLon = grid_lont</font></div><font face="monospace, monospace">;mkres@gsMarkerSizeF = 5 ; may need to adjust this if markers are too large or too small<br>gsn_coordinates(wks,<span class="gmail_default" style="font-size:small">plot</span>,<span class="gmail_default" style="font-size:small">aqual</span>,<span class="gmail_default" style="font-size:small">mk</span>res)</font></div><div dir="ltr"><font face="monospace, monospace"><br></font>For more information on gsn_coordinates, see some examples at:<br><br><a href="http://www.ncl.ucar.edu/Applications/datagrid.shtml">http://www.ncl.ucar.edu/Applications/datagrid.shtml</a><div class="gmail_default" style="font-size:small">If you continue to have problems, then it would really help if you could do one or more of the following:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Provide the output from doing a printVarSummary and printMinMax on all the variables you are trying to plot *and* grid_lont and gridlatt.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Provide the full script and the data. If the data is > 2 MB, then put it somewhere that we can download it, or use ftp:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/ftp_files.shtml">http://www.ncl.ucar.edu/ftp_files.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">Thank you,</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 19, 2018 at 2:11 AM Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com">dmjalal90@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Could anyone tell me why I am not getting temperature contour for Bangladesh?</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 18, 2018 at 4:19 PM Md. Jalal Uddin <<a href="mailto:dmjalal90@gmail.com" target="_blank">dmjalal90@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I followed overlay_11.ncl example (<a href="https://www.ncl.ucar.edu/Applications/overlay.shtml" target="_blank">https://www.ncl.ucar.edu/Applications/overlay.shtml</a>) code and data; however, I am getting the temperature contour. I tried to mask out over Bangladesh.</div><div><br></div><div>How can I get the temperature contour?</div><div><br></div><div>Best regards,</div><div>Jalal</div><div dir="ltr">-- <br><div dir="ltr" class="m_176085375801555576m_-8519643474916782385gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_176085375801555576gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000" size="2"><b>Md. Jalal Uddin</b></font></div><div dir="ltr">MSc in Applied Meteorology (English Language)<br>Nanjing University of Information, Science and Technology, China</div><div dir="ltr"><span style="letter-spacing:0.2px">B.Sc. in Disaster Management (Hons.) </span><br></div><div dir="ltr"><span style="letter-spacing:0.2px">Patuakhali Science and Technology University, Bangladesh.</span></div><div dir="ltr">Cell: +8613260859092, <span style="letter-spacing:0.2px">+8801792052662</span></div><div dir="ltr"><font size="2">Web: <a href="http://www.dmjalal90.weebly.com" target="_blank">www.dmjalal90.weebly.com</a> <br>Facebook: jalal.hossen.39 <br>LinkedIn: <a href="https://bd.linkedin.com/in/md-jalal-uddin-80a026b0" target="_blank">https://bd.linkedin.com/in/md-jalal-uddin-80a026b0</a> <br>Twitter: dmjalal90 <br>Skype: dmjalal90</font><br></div></div></div></div></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" 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>