<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=""><div class="">Errors line by line. Starting at the top.&nbsp;</div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">warning:wkImageFileName is not a resource in the given object<br class="">warning:wkImageFormat is not a resource in the given object</div></div></div></blockquote></div><div class="">I don’t know what these are and I don’t get them. &nbsp;They haven’t popped up on ncl talk for many years. &nbsp;</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">warning:mpProjection is not a valid resource in test_contour at this time<br class="">warning:mpMinLonF is not a valid resource in test_contour at this time<br class="">warning:mpMaxLonF is not a valid resource in test_contour at this time<br class="">warning:mpMinLatF is not a valid resource in test_contour at this time<br class="">warning:mpMaxLatF is not a valid resource in test_contour at this time<br class="">warning:mpShapeMode is not a valid resource in test_contour at this time<br class="">warning:mpFillOn is not a valid resource in test_contour at this time<br class="">warning:mpOutlineOn is not a valid resource in test_contour at this time<br class="">warning:mpDataBaseVersion is not a valid resource in test_contour at this time</div></div></div></blockquote>You’re passing mp resources to gsn_csm_contour() . &nbsp;As that is no longer a map function it doesn’t understand mp resources. Delete all the lines where res@mp…. and set the below instead. &nbsp;Then pass the new resources to wrf_map() as below.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">mpres = True</div><div class=""><div dir="ltr" class="">&nbsp; mpres@mpFillOn&nbsp;&nbsp;&nbsp;&nbsp; = False&nbsp;<br class="">&nbsp; mpres@mpMaxLatF&nbsp;&nbsp;&nbsp; = 38.20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; specify the plot domain<br class="">&nbsp;&nbsp;mpres@mpMinLatF&nbsp;&nbsp;&nbsp; = 37.75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br class="">&nbsp;&nbsp;mpres@mpMinLonF&nbsp;&nbsp;&nbsp; = -120.00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br class="">&nbsp;&nbsp;mpres@mpMaxLonF&nbsp;&nbsp;&nbsp; = -119.10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;<br class="">&nbsp;&nbsp;mpres@mpOutlineOn&nbsp; = True&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; turn the map outline on<br class="">&nbsp;&nbsp;mpres@mpProjection&nbsp; = "CylindricalEquidistant"&nbsp;&nbsp;&nbsp; ;The default<br class="">&nbsp;&nbsp;mpres@pmTickMarkDisplayMode&nbsp; = "Always"<br class="">&nbsp;&nbsp;mpres@mpDataBaseVersion&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = "MediumRes"<br class="">&nbsp;&nbsp;mpres@mpOutlineOn &nbsp; &nbsp; =True<br class="">&nbsp;&nbsp;mpres@mpShapeMode &nbsp; = “FreeAspect"</div></div><div dir="ltr" class=""><br class=""></div><div class=""><div dir="ltr" class="">&nbsp; map = wrf_map(wks, a, mpres)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">warning:cnLineOn is not a valid resource in test_contour at this time</div></div></div></blockquote>Still got a typo here. &nbsp;Not sure how you edit these files, but I’d recommend looking at&nbsp;<a href="https://www.ncl.ucar.edu/Applications/editor.shtml" class="">https://www.ncl.ucar.edu/Applications/editor.shtml</a> the coloring will help pick up simple typos.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">(0)&nbsp;&nbsp;&nbsp;&nbsp; wrf_map_overlay: Warning: This procedure is obsolete. Consider<br class="">(0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using wrf_map_overlays instead.</div></div></div></blockquote>As it says, use wf_map_overlays() instead. &nbsp;Though this still works for me. &nbsp;&nbsp;</div><div class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class="">&nbsp;wrf_map_overlay(wrf,map,(/contour,vector/),True)</div></blockquote></div><div class="">You’ve changed wks to wrf here? Not sure why. This causes the main error.&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="">Here’s the edited version, with the newer overlay function. I would go through the edits above and then match up to my version.&nbsp;</div><div class=""><br class=""></div><div class=""></div></body></html>