<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="">ok, I spent some time on this and possibly found a solution.&nbsp;<div class=""><br class=""></div><div class="">wrf_wps_dom() is calling draw() on the background map regardless of resources passed. &nbsp;It then overlays the domain plots using gsn_polyline_ndc(). This means that when you add your own polylines to mp and call draw() you are drawing over the domain boxes as they are in NDC coordinates and not attached to the actual plot.&nbsp;</div><div class=""><br class=""></div><div class="">If you read the lat/lon coordinates for your shape file (e.g. <a href="https://www.ncl.ucar.edu/Applications/Scripts/shapefiles_1.ncl" class="">https://www.ncl.ucar.edu/Applications/Scripts/shapefiles_1.ncl</a>) . &nbsp;You could then use datatondc()&nbsp;<a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/datatondc.shtml" class="">https://www.ncl.ucar.edu/Document/Functions/Built-in/datatondc.shtml</a>&nbsp;and then add the outlines using gsn_polyline_ndc(wks, … … presres)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">e.g.&nbsp;</div><div class=""><br class=""></div><div class="">n.b. &nbsp;lat and lon may not be stored as x/y in your shapefile you will need to investigate that yourself. &nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div class="">mp = wrf_wps_dom (wks,mpres,lnres,txres)</div><div class=""><br class=""></div><div class="">dir &nbsp; &nbsp; &nbsp; &nbsp; = "/home/taolu/WRF/CASES/kinugawa/shp/"</div><div class="">shp_kinu = dir + "kinugawa.shp"</div><div class=""><br class=""></div><div class="">f = addfile(dir + shp_kinu, "r”)</div><div class="">lon &nbsp; = f-&gt;x</div><div class="">lat &nbsp; = f-&gt;y</div><div class="">xndc = new(dimsizes(lat), float)</div><div class="">yndc = new(dimsizes(lat), float)</div><div class="">datatondc(mp, lon, lat, xndc, yndc)</div><div class="">gsn_polyline_ndc(wks, xndc, yndc, preres)</div><div class=""><br class=""></div><div class="">shp_tone = dir + "tonegawa.shp"</div><div class="">f = addfile(dir + shp_tone, "r”)</div><div class="">lon &nbsp; := f-&gt;x</div><div class="">lat &nbsp; := f-&gt;y</div><div class="">xndc := new(dimsizes(lat), float)</div><div class="">yndc := new(dimsizes(lat), float)</div><div class="">datatondc(mp, lon, lat, xndc, yndc)</div><div class="">gsn_polyline_ndc(wks, xndc, yndc, preres)</div><div class=""><br class=""></div><div class="">frame(wks)</div></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">;;; Don’t call draw(mp) at any time, this will cover up the domain boxes that were already added to the frame.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span style="orphans: 2; widows: 2;" class="">##############################</span><br style="orphans: 2; widows: 2;" class=""><span style="orphans: 2; widows: 2;" class="">Alan Brammer,</span><div style="orphans: 2; widows: 2;" class="">Post-Doc Researcher</div><div style="orphans: 2; widows: 2;" class=""><br class=""></div><div style="orphans: 2; widows: 2;" class="">Department of Atmospheric and&nbsp;Environmental Sciences,<br class="">University at Albany,&nbsp;State University of New&nbsp;York,&nbsp;Albany, NY, 12222<div class=""><a href="mailto:abrammer@albany.edu" class="">abrammer@albany.edu</a><br class="">##############################</div></div></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 28 Jan 2016, at 10:29, Alan Brammer &lt;<a href="mailto:abrammer@albany.edu" class="">abrammer@albany.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">See reply below from Tao Lu. &nbsp;I don’t use the WRF functions enough to know whats going on in this cake.&nbsp;<div class=""><br class=""></div><div class="">Unless obvious, always reply to ncl-talk not individual responders.</div><div class="">&nbsp;<br class=""><div class="">Hopefully someone familiar with wrf_wps_dom() can comment on adding extra polylines to the output.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""><br class=""><blockquote type="cite" class=""><div class=""><br class=""></div><div class=""><div dir="ltr" class="">Thank you very much for replying to me.<div class="">And I am sorry for my bad description.</div><div class=""><br class=""></div><div class="">In the code I attached, only&nbsp;</div><div class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Test to add a shapefile</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; I add the following contents</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; dir&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "/home/taolu/WRF/CASES/kinugawa/shp/"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; shp_kinu = dir + "kinugawa.shp"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; shp_tone = dir + "tonegawa.shp"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres@gsLineColor&nbsp; &nbsp; &nbsp; = "gray25"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres@gsLineThicknessF = 2.0&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; kinu_id = gsn_add_shapefile_polylines(wks,mp,shp_kinu,preres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; tone_id = gsn_add_shapefile_polylines(wks,mp,shp_tone,preres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; draw(mp);</span><br class=""></div>is added by me.<div class=""><br class=""></div><div class="">Run the original code, I could get the domains as showed below:</div><div class=""><span id="cid:ii_152867ab590a783f">&lt;image.png&gt;</span><br class=""></div><div class=""><br class=""></div><div class="">But after I added my code, I could get this one:</div><div class=""><span id="cid:ii_152867c0b0a7c996">&lt;image.png&gt;</span><br class=""></div><div class="">The one I want is the combination of the two.</div><div class=""><br class=""></div><div class="">I also tried&nbsp;<span style="font-size:12.8px" class="">type =“png” and&nbsp;</span><span style="font-size:12.8px" class="">mpres@gsnDraw = True, but also failed.</span></div><div class=""><span style="font-size:12.8px" class="">Do you have any clue about this?</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Jan 28, 2016 at 4:22 AM, Alan Brammer <span dir="ltr" class="">&lt;<a href="mailto:abrammer@albany.edu" target="_blank" class="">abrammer@albany.edu</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><span class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><font style="background-color:rgb(147,196,125)" class="">So, I edit the plotgrids_new.ncl as showed below, but I could not get what I wanted.</font></div></div></div></blockquote></span>What do you mean by this?&nbsp;</div><div class="">Is a plot produced?&nbsp;</div><div class="">You’re outputting to x11 so it will only be temporary.&nbsp; At the top of the script you might want to change type =“png” or “pdf” then you can send the output to the script and detail what you actually wanted.</div><div class=""><br class=""></div><div class="">mpres@gsnDraw = False ; &nbsp;may prevent the wrf_wps_dom() function from drawing allowing your to overlay your shape file polylines. &nbsp; I’m not familiar with wrf_wps_dom() though, and the documentation I found online was particularly lacking.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">An example of why the plot isn’t what you want, will enable someone to probably either answer or forward this onto <a href="mailto:wrfhelp@ucar.edu" target="_blank" class="">wrfhelp@ucar.edu</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Alan</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span class="">##############################</span><br class=""><span class="">Alan Brammer,</span><div class="">Post-Doc Researcher</div><div class=""><br class=""></div><div class="">Department of Atmospheric and&nbsp;Environmental Sciences,<br class="">University at Albany,&nbsp;State University of New&nbsp;York,&nbsp;Albany, NY, 12222<div class=""><a href="mailto:abrammer@albany.edu" target="_blank" class="">abrammer@albany.edu</a><br class="">##############################</div></div></div><br class=""><div class=""><div class=""><div class="h5"><blockquote type="cite" class=""><div class="">On 27 Jan 2016, at 03:21, Tao Lu &lt;<a href="mailto:hakufu.asano@gmail.com" target="_blank" class="">hakufu.asano@gmail.com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><font style="background-color:rgb(147,196,125)" class="">I try to show nesting domain and some shape files at the same time.<br class="">So, I edit the plotgrids_new.ncl as showed below, but I could not get what I wanted.<br class=""><br class="">I found the reason is the command: draw(mp), But I do not know how to handle this problem.</font></div></div></div></div></blockquote></div></div><blockquote type="cite" class=""><div class=""><div class=""><div class="h5"><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class=""><font style="background-color:rgb(147,196,125)" class="">Please help me.</font><div class=""><font class=""><br class=""></font></div><div class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;&nbsp; &nbsp;Script display location of model domains</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;&nbsp; &nbsp;Only works for ARW domains</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;&nbsp; &nbsp;Only works for NCL versions 6.2 or later</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;&nbsp; &nbsp;Reads namelist file directly</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;----------------------------------------------------------------------------</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">begin</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Check the version of NCL</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; version = systemfunc("ncl -V")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if(version.lt.6.2) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; print("You need NCL V6.2 or later to run this script. Try running plotgrids.ncl. Stopping now...")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; return</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; We generate plots, but what kind do we prefer?</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; type = "x11"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; type = "pdf"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; type = "ps"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; type = "ncgm"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; wks = gsn_open_wks(type,"wps_show_dom")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; read the following namelist file</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; filename = "namelist.wps"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Set the colors to be used</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; colors = (/"white","black","White","ForestGreen","DeepSkyBlue","Red","Blue"/)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; gsn_define_colormap(wks, colors)&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Set some map information ; line and text information</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpFillOn = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpFillColors&nbsp; = (/"background","DeepSkyBlue","ForestGreen","DeepSkyBlue", "transparent"/)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpDataBaseVersion&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "Ncarg4_1"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpGeophysicalLineColor&nbsp; &nbsp; &nbsp; = "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpGridLineColor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpLimbLineColor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpNationalLineColor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpPerimLineColor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@mpUSStateLineColor&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = "Black"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;&nbsp; mpres@mpOutlineBoundarySets&nbsp; &nbsp; &nbsp; &nbsp;= "AllBoundaries"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;mpres@mpGridSpacingF&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 45</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@tiMainString&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = " WPS Domain Configuration&nbsp; "</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; lnres = True&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; lnres@gsLineThicknessF = 2.5</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; lnres@domLineColors&nbsp; &nbsp; = (/ "white", "Red" , "Red" , "Blue" /)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; txres = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; txres@txFont = "helvetica-bold"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;txres@txJust = "BottomLeft"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; txres@txJust = "TopLeft"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; txres@txPerimOn = False</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; txres@txFontHeightF = 0.015</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Do not change anything between the ";;;;;" lines</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; maxdom = 21</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; nvar = 19</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; parent_idn = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; parent_grid_ration = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; i_parent_startn = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; j_parent_startn = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; e_wen = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; e_snn = new (maxdom,integer)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; plotvar = new((/maxdom,nvar/),float)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; plotvar@_FillValue = -999.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; plotvar = wrf_wps_read_nml(filename)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@max_dom = floattointeger(plotvar(0,0))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@dx = plotvar(0,1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@dy = plotvar(0,2)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if (.not.ismissing(plotvar(0,3))) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lat = plotvar(0,3)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; else</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lat = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if (.not.ismissing(plotvar(0,4))) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lon = plotvar(0,4)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; else</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lon = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if (.not.ismissing(plotvar(0,5))) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_x = plotvar(0,5)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if (.not.ismissing(plotvar(0,6))) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_y = plotvar(0,6)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@truelat1 = plotvar(0,7)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@truelat2 = plotvar(0,8)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@stand_lon = plotvar(0,9)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mproj_int = plotvar(0,10)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@pole_lat = plotvar(0,11)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@pole_lon = plotvar(0,12)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; do i = 0,maxdom-1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; parent_idn(i) = floattointeger(plotvar(i,13))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; parent_grid_ration(i) = floattointeger(plotvar(i,14))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; i_parent_startn(i) = floattointeger(plotvar(i,15))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; j_parent_startn(i) = floattointeger(plotvar(i,16))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; e_wen(i) = floattointeger(plotvar(i,17))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; e_snn(i) = floattointeger(plotvar(i,18))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end do</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if(mpres@max_dom .gt. 1) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; do i = 1,mpres@max_dom-1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; ;Making sure edge is nested grid is at least 5 grid points from mother domain.</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(i_parent_startn(i) .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Western edge of grid must be at least 5 grid points from mother domain!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(j_parent_startn(i) .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Southern edge of grid must be at least 5 grid points from mother domain!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; pointwe = (e_wen(i)-1.)/parent_grid_ration(i)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; pointsn = (e_snn(i)-1.)/parent_grid_ration(i)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; gridwe = e_wen(parent_idn(i)-1)-(pointwe+i_parent_startn(i))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; gridsn = e_snn(parent_idn(i)-1)-(pointsn+j_parent_startn(i))</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(gridwe .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Eastern edge of grid must be at least 5 grid points from mother domain!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(gridsn .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Northern edge of grid must be at least 5 grid points from mother domain!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; ;Making sure nested grid is fully contained in mother domain.</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; gridsizewe = (((e_wen(parent_idn(i)-1)-4)-i_parent_startn(i))*parent_grid_ration(i))-(parent_grid_ration(i)-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; gridsizesn = (((e_snn(parent_idn(i)-1)-4)-j_parent_startn(i))*parent_grid_ration(i))-(parent_grid_ration(i)-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(gridwe .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Inner nest (domain = " + (i+1) + ") is not fully contained in mother nest (domain = " + parent_idn(i) + ")!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("For the current setup of mother domain = " + parent_idn(i) + ", you can only have a nest of size " + gridsizewe + "X" + gridsizesn + ". Stopping Program!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; exit</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if(gridsn .lt. 5) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Warning: Inner nest (domain = " + (i+1) + ") is not fully contained in mother nest (domain = " + parent_idn(i) + ")!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("For the current setup of mother domain = " + parent_idn(i) + ", you can only have a nest of size " + gridsizewe + "X" + gridsizesn + ". Stopping Program!")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; exit</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; ;Making sure the nest ends at a mother grid domain point.</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; pointwetrunc = decimalPlaces(pointwe,0,False)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; pointsntrunc = decimalPlaces(pointsn,0,False)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if((pointwe-pointwetrunc) .ne. 0.) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; nest_we_up = (ceil(pointwe)*parent_grid_ration(i))+1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; nest_we_dn = (floor(pointwe)*parent_grid_ration(i))+1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Nest does not end on mother grid domain point. Try " + nest_we_dn + " or " + nest_we_up + ".")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; if((pointsn-pointsntrunc) .ne. 0.) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; nest_sn_up = (ceil(pointsn)*parent_grid_ration(i))+1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; nest_sn_dn = (floor(pointsn)*parent_grid_ration(i))+1</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; &nbsp; print("Nest does not end on mother grid domain point. Try " + nest_sn_dn + " or " + nest_sn_up + ".")</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; &nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; end do</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@parent_id = parent_idn(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@parent_grid_ratio = parent_grid_ration(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@i_parent_start = i_parent_startn(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@j_parent_start = j_parent_startn(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@e_we = e_wen(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mpres@e_sn = e_snn(0:mpres@max_dom-1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if(mproj_int .eq. 1) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@map_proj = "lambert"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lat = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lon = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; else if(mproj_int .eq. 2) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@map_proj = "mercator"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lat = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lon = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; else if(mproj_int .eq. 3) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@map_proj = "polar"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lat = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@pole_lon = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; else if(mproj_int .eq. 4) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@map_proj = "lat-lon"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Deal with global wrf domains that don't have dx or dy</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; if (<a href="mailto:mpres@dx.lt" target="_blank" class="">mpres@dx.lt</a>.1e-10 .and. <a href="mailto:mpres@dx.lt" target="_blank" class="">mpres@dx.lt</a>.1e-10) then</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@dx = 360./(mpres@e_we(0) - 1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@dy = 180./(mpres@e_sn(0) - 1)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lat = 0.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; &nbsp; mpres@ref_lon = 180.0</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; end if</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; mp = wrf_wps_dom (wks,mpres,lnres,txres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Now you can add some information to the plot.&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Below is an example of adding a white dot over the DC location.</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;pmres = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;pmres@gsMarkerColor = "White"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;pmres@gsMarkerIndex = 16</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;pmres@gsMarkerSizeF = 0.01</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; ;gsn_polymarker(wks,mp,-77.26,38.56,pmres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; Test to add a shapefile</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">; I add the following contents</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; dir&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= "/home/taolu/WRF/CASES/kinugawa/shp/"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; shp_kinu = dir + "kinugawa.shp"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; shp_tone = dir + "tonegawa.shp"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres@gsLineColor&nbsp; &nbsp; &nbsp; = "gray25"</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; preres@gsLineThicknessF = 2.0&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; kinu_id = gsn_add_shapefile_polylines(wks,mp,shp_kinu,preres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; tone_id = gsn_add_shapefile_polylines(wks,mp,shp_tone,preres)</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp;&nbsp;</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; draw(mp);</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">&nbsp; frame(wks)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; lets frame the plot - do not delete</span><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><br style="margin:0px;padding:0px;color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class=""><span style="color:rgb(46,139,87);font-family:Monaco,'Andale Mono','Courier New',Courier,mono;font-size:11.7px;line-height:15.21px" class="">end</span></div></div></div><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div style="font-size:12.8000001907349px" class=""><br class=""></div></div></div></div></div>
</div></div></div>
_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">******************************************************</span><br class=""></div><div style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">盧 涛 (TAO LU)</span><br style="font-size:12.8000001907349px" class=""><div style="font-size: 12.8000001907349px; margin: 0px;" class=""><font size="2" face="arial, helvetica, sans-serif" class="">〒<span lang="EN-US" class="">112-8551&nbsp;</span>東京都文京区春日<span lang="EN-US" class="">1-13-27</span></font></div><div style="font-size: 12.8000001907349px; margin: 0px;" class=""><font size="2" face="arial, helvetica, sans-serif" class="">中央大学理工学研究科都市環境学専攻</font></div><div style="font-size: 12.8000001907349px; margin: 0px;" class=""><font size="2" face="arial, helvetica, sans-serif" class="">河川・水文<span lang="EN-US" class=""><span lang="EN-US" class=""><span lang="EN-US" class="">研究</span></span><span lang="EN-US" class=""><span lang="EN-US" class="">室</span></span></span>(山田正教授) 修士課程1年</font></div></div><div style="font-size:12.8000001907349px" class=""><div style="font-size: 12.8000001907349px; margin: 0px;" class=""><font size="2" face="arial, helvetica, sans-serif" class=""><span lang="EN-US" class=""><br class=""></span></font></div><div style="font-size: 12.8000001907349px; margin: 0px;" class=""><font size="2" face="arial, helvetica, sans-serif" class=""><span lang="EN-US" class="">TEL: 03-3817-3406; &nbsp;&nbsp;</span></font><span style="font-family:arial,helvetica,sans-serif;font-size:small" class="">Phone: 070-2188-7509</span></div>E-mail1:&nbsp;<a href="mailto:mail%3Amet.yamos@gmail.com" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank" class="">hakufu.asano@gmail.com</a><br style="font-size:12.8000001907349px" class="">E-mail2:&nbsp;<a href="mailto:mail%3Ayamoto@civil.chuo-u.ac.jp" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank" class="">lutao@civil.chuo-u.ac.jp</a><br style="font-size:12.8000001907349px" class=""><span style="font-size:12.8000001907349px" class="">*******************************************************</span></div></div></div></div></div></div></div>
</div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>