<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Mary! I have been going through your <font color="#0433ff" face="lucida sans, verdana, arial, sans-serif" class="">Webinar presentation on NCL and Shapefiles </font><font face="lucida sans, verdana, arial, sans-serif" class="">of couple of years back. I’m trying to build my script following that. I may come back if I need help after testing the script. </font><div class=""><font color="#0433ff" face="lucida sans, verdana, arial, sans-serif" class=""><br class=""></font></div><div class=""><font face="lucida sans, verdana, arial, sans-serif" class="">Thank you so much</font></div><div class=""><font face="lucida sans, verdana, arial, sans-serif" class=""><br class=""></font></div><div class=""><font face="lucida sans, verdana, arial, sans-serif" class="">Dawit </font></div><div class=""><font color="#0433ff" face="lucida sans, verdana, arial, sans-serif" class=""><br class=""></font></div><div class=""><font color="#0433ff" face="lucida sans, verdana, arial, sans-serif" class=""><br class=""></font><div><blockquote type="cite" class=""><div class="">On Apr 24, 2017, at 3:47 PM, Mary Haley <<a href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small">Dawit,</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">The example you pointed to at:</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small"><a href="https://www.dkrz.de/Nutzerportal-en/doku/vis/sw/ncl/dkrz-ncl-shapefile-german-federal-states-example" target="_blank" class="">https://www.dkrz.de/<wbr class="">Nutzerportal-en/doku/vis/sw/<wbr class="">ncl/dkrz-ncl-shapefile-german-<wbr class="">federal-states-example</a><br class=""></div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">shows you exactly how to add shapefile outlines to your plot.</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default" style="font-size:small">You can also see this example on our own website at:</div><div class="gmail_default" style="font-size:small"><br class=""></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/NUG.shtml" class="">http://www.ncl.ucar.edu/Applications/NUG.shtml<br class=""></a></div><div class="gmail_default"><br class=""></div><div class="gmail_default">Look for "NUG_shapefile_plot.ncl".</div><div class="gmail_default"><br class=""></div><div class="gmail_default">This example depends on the RANGS data base and the DEU_adm1.shp shapefile, but you can remove the requirement for the RANGS database by setting mpDataBaseVersion to "MediumRes" instead of "HighRes"</div><div class="gmail_default"><br class=""></div><div class="gmail_default">To get the DEU_adm1.shp shapefile or the adm shapefiles for any country, go to:</div><div class="gmail_default"><br class=""></div><div class="gmail_default"><a href="http://www.gadm.org/country" class="">http://www.gadm.org/country</a></div><div class="gmail_default"><br class=""></div><div class="gmail_default">Use the pull down list to select the desired country and make sure the "File format" is set to "shapefile".</div><div class="gmail_default"><br class=""></div><div class="gmail_default">Once you click "OK", you should see a new page with a "Download" button. Click on this, and it will start downloading the adm files.</div><div class="gmail_default"><br class=""></div><div class="gmail_default">You can then use gsn_add_shapefile_polyline to add the shapefile outlines to your plot.</div><div class="gmail_default"><br class=""></div><div class="gmail_default">There are many shapefile examples on our shapefiles page:</div><div class="gmail_default"><br class=""></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/shapefiles.shtml" class="">http://www.ncl.ucar.edu/Applications/shapefiles.shtml</a><br class=""></div><div class="gmail_default"><br class=""></div><div class="gmail_default">Good luck,</div><div class="gmail_default"><br class=""></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Apr 21, 2017 at 2:11 AM, Dawit Abebe <span dir="ltr" class=""><<a href="mailto:dawit.kan@gmail.com" target="_blank" class="">dawit.kan@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class="">Dear Dennis,<div class=""><br class=""></div><div class="">Thank you so much. I’m aware of the area size, it is only 36 pixels of 0.5 by 0.5 degree grid. I’m just wondering if it is possible to add the admin shape file of the area as shown in examples provided: <a href="https://www.dkrz.de/Nutzerportal-en/doku/vis/sw/ncl/dkrz-ncl-shapefile-german-federal-states-example" target="_blank" class="">https://www.dkrz.de/<wbr class="">Nutzerportal-en/doku/vis/sw/<wbr class="">ncl/dkrz-ncl-shapefile-german-<wbr class="">federal-states-example</a></div><div class=""><br class=""></div><div class="">If this is possible, I will try this just to visualise the the area in terms of administrative boundaries overlaid with the geographic coordinate system?</div><div class=""><br class=""></div><div class="">Thanks for you so much again for your patiences with me and going too far supporting me.</div><div class=""><br class=""></div><div class="">Dawit </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> <br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail-h5"><div class="">On Apr 21, 2017, at 2:01 AM, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank" class="">shea@ucar.edu</a>> wrote:</div><br class="gmail-m_-3100110789394294349Apple-interchange-newline"></div></div><div class=""><div class=""><div class="gmail-h5"><div dir="ltr" class=""><div class="">See attached:<br class=""><br class=""></div>you have a very small are.<br class=""><br class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Apr 19, 2017 at 11:18 AM, Dawit Abebe <span dir="ltr" class=""><<a href="mailto:dawit.kan@gmail.com" target="_blank" class="">dawit.kan@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word" class="">Dear Dennis<div class=""><br class=""></div><div class="">Thank you so much!</div><div class=""><br class=""></div><div class="">I tried with corrected commands but still have a problem with the command:</div><div class=""><br class=""></div><div class=""> <font color="#0433ff" class=""> res@gsnCenterString = spi&time({192112}</font>), returning the following error message:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">fatal:Coordinate <font color="#ff2600" class="">indexing can not be used with coordinate variables </font></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">fatal:["Execute.c":8640]:Execu<wbr class="">te: Error occurred at or near line 100 in file spi12_plotmap_script.ncl</span></div><div class=""><br class=""></div><div class="">What did I miss?</div><span class="gmail-m_-3100110789394294349HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">Dawit</div><div class=""><br class=""></div></font></span></div><span class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Apr 19, 2017, at 6:25 PM, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank" class="">shea@ucar.edu</a>> wrote:</div><br class="gmail-m_-3100110789394294349m_3116462458381133099Apple-interchange-newline"><div class=""><span style="font-family:helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline" class="">latS = min(prc&lat)</span><br style="font-family:helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><span style="font-family:helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline" class=""> latN = ma</span></div></blockquote></div><br class=""></div></span></div></blockquote></div><br class=""></div>
</div></div><span id="gmail-m_-3100110789394294349cid:4D13443D-C4EC-4AE9-92B3-1AE70F41889E" class=""><dawit.ncl></span><span id="gmail-m_-3100110789394294349cid:FD88FC21-E001-4057-A974-165E443E7E03" class=""><spi.000001.png></span><span id="gmail-m_-3100110789394294349cid:88E69B55-9E31-4D54-A4BD-E60221F4913A" class=""><<wbr class="">spi.000002.png></span></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>