<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div class="" style="">My sincere apologies for posting very basic issues. I have been trying to make headway in learning ncl with very little progress. All the examples I try do not seem to work. Examples,</div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px;" id="enhancrCard_2" class="link-enhancr-attachment link-enhancr-element" contenteditable="false"><table class="link-enhancr-element" cellspacing="0" cellpadding="0" border="0" style="width:450px; height:auto; position: relative; display: block;"><tbody><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height:
1px; line-height: 0px;"> </div></td></tr><tr class="link-enhancr-element"><td rowspan="5" class="link-enhancr-element" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; font-size: 1pt;"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 14px; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 14px; font-size: 14pt;"> </div></td><td colspan="2" class="link-enhancr-element" style="height: 6px; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 6px; font-size: 6pt;"> </div></td><td rowspan="5" class="link-enhancr-element" style="width: 20px; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 20px; font-size: 20pt;"> </div></td><td class="link-enhancr-element" rowspan="5" width="1" style="width: 1px;
background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="link-enhancr-element" style="width: 1px; font-size: 1pt;"> </div></td></tr><tr><td class="link-enhancr-element" colspan="2" style="width: 100%; vertical-align: middle;"><div class="link-enhancr-text-part link-enhancr-element" style="line-height: 16.5px; width: 414px;"><div class="link-enhancr-element" style="word-wrap: break-word; word-break: break-all;"><span class="link-enhancr-element icon icon-shrink link-enhancr-toggle"></span><span class="link-enhancr-element icon icon-close link-enhancr-delete"></span><a href="https://www.dropbox.com/s/aeoqmfgrk6pbd99/wrfout_d01_2014-07-29_00%5E%2500%5E%2500.nc" class="link-enhancr-card-urlWrapper link-enhancr-element" style="line-height: 100%; font-size: 18px; display: block; color: rgb(0, 0, 0) !important;"><span class="link-enhancr-element link-enhancr-card-title" style="margin: 0px 0px 3px; line-height: 21px; max-height:
43px; display: inline-block; overflow: hidden !important;">wrfout_d01_2014-07-29_00^%00^%00.nc</span></a><div style="font-size: 13px; line-height: 20px; color: rgb(153, 153, 153); max-height: 81px; overflow: hidden;" class="link-enhancr-card-description link-enhancr-element">zilore mumba shared from Dropbox</div></div></div></td></tr><tr><td colspan="2" class="link-enhancr-element" style="height: 6px; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 6px; font-size: 6pt;"></div></td></tr><tr><td class="link-enhancr-element" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="link-enhancr-element" style="font-size: 0pt;"><a href="https://www.dropbox.com/s/aeoqmfgrk6pbd99/wrfout_d01_2014-07-29_00%5E%2500%5E%2500.nc" class="link-enhancr-card-url link-enhancr-element" style="color: black; text-decoration: none !important;" target="_blank"><span
class="link-enhancr-element link-enhancr-view-on" style="display: inline-block; line-height: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: 13px; word-break: break-all;"><span class="link-enhancr-element link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span style="font-weight: bold" class="link-enhancr-view-on-domain">www.dropbox.com</span></span></span></a></div></td><td class="link-enhancr-element" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="link-enhancr-element link-enhancr-preview-wrapper" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span class="link-enhancr-element
link-enhancr-preview-by link-enhancr-mobile-no-resize" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr><td colspan="2" class="link-enhancr-element" style="height: 9px; font-size: 0pt; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 9px; font-size: 9pt;"></div></td></tr><tr class="link-enhancr-element"><td class="link-enhancr-element" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="link-enhancr-element" style="height: 1px; line-height: 0px;"> </div></td></tr></tbody></table></div><div class="" style=""><br></div><div class="" style="">1. I have tried the two examples on "wrf_map_overlay" examples found at <a
href="https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml" class="" style="">wrf_map_overlays</a> both don't work for me, only modification being the filename (which works in grads)</div><div class="" style="">2. <span style="font-size: 12pt;" class=""> </span><span style="font-size: 12pt;" class="">I have tried</span><span style="font-size: 12pt;" class=""> the "Getting_started example 5"found at <a href="https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/gsun05n.shtml" class="" style="">Getting started using NCL - example 5 - contour plots over maps</a>, it does not work for me.</span></div><div class="" style=""><span style="font-size: 12pt;" class="">3. I have tried *overlay_*" examples found at <a href="https://www.ncl.ucar.edu/Applications/Scripts/overlay_1.ncl" class="" style="">https://www.ncl.ucar.edu/Applications/Scripts/overlay_1.ncl</a>, they do not work for
me.</span></div><div class="" style=""><span style="font-size: 12pt;" class="">I would appreciate if someone can make overlay_1.ncl (below) work for me. Modifications are a) my filename and longitude and latitude of my domain. The wrf output file is attached if allowed since it is too large (through dropbox). I moved to Windows which does not allow : in file names.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span style="font-size: 12pt;" class="">The error I get is: </span></div><div class="" style="background-color: transparent;">fatal:Dimension (bottom_top) of file (wrfout_d01_2014-07-29_00:00:00) does not have an associated coordinate variable</div><div class="" style="background-color: transparent;"><span class="" style=""></span></div><div class="" style="background-color:
transparent;">fatal:["Execute.c":8128]:Execute: Error occurred at or near line 16 in file overlay_1.ncl</div><div class="" style="color: rgb(0, 0, 0); font-size: 12pt; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span style="font-size: 12pt;" class=""><br class="" style=""></span></div><div class="" style="background-color: transparent;">;*************************************************</div><div class="" style="background-color: transparent;">; overlay_1.ncl</div><div class="" style="background-color: transparent;">;</div><div class="" style="background-color: transparent;">; Concepts illustrated:</div><div class="" style="background-color: transparent;">; - Overlaying line contours on filled contours</div><div class="" style="background-color: transparent;">; - Explicitly setting contour levels</div><div class="" style="background-color:
transparent;">; - Selecting a different color map</div><div class="" style="background-color: transparent;">;</div><div class="" style="background-color: transparent;">;*************************************************</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div class="" style="background-color: transparent;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;">begin</div><div class="" style="background-color: transparent;"> a = addfile("wrfout_d01_2014-07-29_00:00:00.nc","r")</div><div class="" style="background-color: transparent;"> temp = a->T(0,{500},:,:)</div><div class="" style="background-color: transparent;"> uwnd =
a->U(0,{500},:,:)</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;"> wks = gsn_open_wks("ps","overlay")</div><div class="" style="background-color: transparent;"> gsn_define_colormap(wks,"BlueDarkRed18") ; use the BlueDarkRed18 colormap</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;"> res = True</div><div class="" style="background-color: transparent;"> res@mpFillOn = False</div><div class="" style="background-color: transparent;"> res@mpMaxLatF = -4.07 ; specify the plot domain</div><div class="" style="background-color: transparent;"> res@mpMinLatF = -21.9 ;</div><div
class="" style="background-color: transparent;"> res@mpMinLonF = 17.25 ;</div><div class="" style="background-color: transparent;"> res@mpMaxLonF = 38.44 ;</div><div class="" style="background-color: transparent;"> sres@gsnFrame = False ; do not advance the frame</div><div class="" style="background-color: transparent;"> sres@cnLevelSelectionMode = "ExplicitLevels" ; use explicit levels</div><div class="" style="background-color: transparent;"> sres@cnLevels = ispan(-5,35,5) ; set the contour levels</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color:
transparent;"> plot = gsn_csm_contour_map(wks,temp,res) ; create the temperature plot</div><div class="" style="background-color: transparent;"> plot_ov = gsn_csm_contour(wks,uwnd,sres) ; create the U-wind plot</div><div class="" style="background-color: transparent;"> overlay(plot,plot_ov) ; overlay the U-wind plot on the temperature plot</div><div class="" style="background-color: transparent;"> draw(plot) ; draw the temperature plot (with the U-wind plot overlaid)</div><div class="" style="background-color: transparent;"> frame(wks) ; advance the frame</div><div class=""
style="background-color: transparent;">end</div><div class="" style="background-color: transparent;"><br class="" style=""></div><div class="" style="background-color: transparent;"> res@mpOutlineOn = True ; turn the map outline on</div><div class="" style="background-color: transparent;"> res@gsnDraw = False ; do not draw the plot</div><div class="" style="background-color: transparent;"><span class="" style=""></span></div><div class="" style="background-color: transparent;"> </div><div class="" style=""><span style="font-size: 12pt;" class=""><br class="" style=""></span></div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px;" contenteditable="false" id="enhancrCard_1"
class=""><table class="" cellspacing="0" cellpadding="0" border="0" style="width:450px; height:170px; position: relative; display: block;"><tbody class="" style=""><tr class="" style=""><td class="" colspan="8" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr class="" style=""><td rowspan="5" class="" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td class="" rowspan="5" style="vertical-align: middle; width: 168px; height: 168px; background-color: #000000;border-collapse: collapse;"><div class="" style="width: 168px;" align="center"><a href="https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/gsun05n.shtml" class="" style="text-decoration:
none !important; color: #000000 !important;"><img alt="image" src="https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/gsun05n.sm.1.gif" class="" width="168" height="168" style="display: block; margin: auto;"></a></div></td><td rowspan="5" class="" style="width: 1px; background-color: #e5e5e5; font-size: 0pt; border-collapse: collapse;"><div class="" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td rowspan="5" class="" style="width: 14px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td colspan="2" class="" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="height: 6px; background-color: #ffffff; font-size: 6pt;"> </div></td><td rowspan="5" class="" style="width: 20px; background-color: #ffffff; font-size: 0pt;
border-collapse: collapse;"><div class="" style="width: 20px; background-color: #ffffff; font-size: 20pt;"> </div></td><td class="" rowspan="5" width="1" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr class="" style=""><td class="" colspan="2" style="width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';"><div class="" style="line-height:16.5px; background-color: #ffffff; height: 135px; width: 245px;"><div class="" style="word-wrap: break-word; word-break: break-all;"><span class="" style=""></span><span class="" style=""></span><a href="https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/gsun05n.shtml" class="" style="text-decoration: none !important; color: #000000 !important; line-height: 100%; font-size: 18px; display: block;"><span class=""
style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; display: inline-block;">Getting started using NCL - example 5 - contour plots ov...</span></a><div style="font-size: 13px; line-height: 20px; color: #999999; max-height: 81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" class="">NCL Home >
Documentation >
Manuals >
Getting Started GSUN > Examples > 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 </div></div></div></td></tr><tr class="" style=""><td colspan="2" class="" style="height: 4px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="height: 4px; background-color: #ffffff; font-size: 4pt;"></div></td></tr><tr class="" style=""><td class="" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="" style="font-size: 0pt;"><a href="https://www.ncl.ucar.edu/Document/Manuals/Getting_Started/Examples/gsun05n.shtml" class="" style="color: black; text-decoration: none !important;cursor:pointer !important;" target="_blank"><span class="" style="display: inline-block; line-height: 11px; max-width: 145px; min-width: 85px; overflow: hidden; max-height: 13px; word-break: break-all;"><span class="" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999;
-moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span style="font-weight: bold" class="">www.ncl.ucar.edu</span></span></span></a></div></td><td class="" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span class="" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr class="" style=""><td colspan="2" class="" style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="height: 9px; background-color: #ffffff; font-size:
9pt;"></div></td></tr><tr class="" style=""><td class="" colspan="8" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div class="" style=""> </div><div style="width:450px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';margin-top:5px; margin-bottom: 5px;" contenteditable="false" id="enhancrCard_0" class=""><table class="" cellspacing="0" cellpadding="0" border="0" style="width:450px; height:auto; position: relative; display: block;"><tbody class="" style=""><tr class="" style=""><td class="" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px;"> </div></td></tr><tr class="" style=""><td rowspan="5" class=""
style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class="" style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td><td rowspan="5" class="" style="width: 14px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="width: 14px; background-color: #ffffff; font-size: 14pt;"> </div></td><td colspan="2" class="" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="height: 6px; background-color: #ffffff; font-size: 6pt;"> </div></td><td rowspan="5" class="" style="width: 20px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="width: 20px; background-color: #ffffff; font-size: 20pt;"> </div></td><td class="" rowspan="5" width="1" style="width: 1px; background-color: #e5e5e5; font-size: 1pt; border-collapse: collapse;"><div class=""
style="width: 1px; background-color: #e5e5e5; font-size: 1pt;"> </div></td></tr><tr class="" style=""><td class="" colspan="2" style="width: 100%; vertical-align: middle; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';"><div class="" style="line-height:16.5px; background-color: #ffffff; width: 414px;"><div class="" style="word-wrap: break-word; word-break: break-all;"><span class="" style=""></span><span class="" style=""></span><a href="https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml" class="" style="text-decoration: none !important; color: #000000 !important; line-height: 100%; font-size: 18px; display: block;"><span class="" style="margin: 0; font-weight: normal;margin-bottom: 3px; font-size: 18px; line-height: 21px; max-height: 43px; color: #000000; overflow: hidden !important; display: inline-block;">wrf_map_overlays</span></a><div style="font-size: 13px; line-height: 20px; color: #999999; max-height:
81px; font-family: 'Georgia', 'Times', 'Times New Roman', 'serif';overflow: hidden;" class="">NCL WRFUserARW.ncl functions (graphics routines)</div></div></div></td></tr><tr class="" style=""><td colspan="2" class="" style="height: 6px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class="" style="height: 6px; background-color: #ffffff; font-size: 6pt;"></div></td></tr><tr class="" style=""><td class="" style="vertical-align: middle; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="" style="font-size: 0pt;"><a href="https://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_overlays.shtml" class="" style="color: black; text-decoration: none !important;cursor:pointer !important;" target="_blank"><span class="" style="display: inline-block; line-height: 11px; max-width: 314px; min-width: 254px; overflow: hidden; max-height: 13px; word-break: break-all;"><span class=""
style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">View on <span style="font-weight: bold" class="">www.ncl.ucar.edu</span></span></span></a></div></td><td class="" style="vertical-align: middle; width: 100px; font-family: 'Arial', 'Helvetica Neue', 'Helvetica', 'sans-serif';"><div class="" style="max-width: 100px; min-width: 80px; overflow: hidden; text-align: right; line-height: 11px; max-height: 13px; font-size: 0pt;"><span class="" style="vertical-align:middle; font-size: 9px; line-height: 11px; color: #999999; -moz-text-size-adjust: none; -ms-text-size-adjust: none; -webkit-text-size-adjust:none; text-size-adjust:none;">Preview by Yahoo</span></div></td></tr><tr class="" style=""><td colspan="2" class="" style="height: 9px; background-color: #ffffff; font-size: 0pt; border-collapse: collapse;"><div class=""
style="height: 9px; background-color: #ffffff; font-size: 9pt;"></div></td></tr><tr class="" style=""><td class="" colspan="7" style="height: 1px; background-color: #e5e5e5; font-size: 1px; border-collapse: collapse;"><div class="" style="height: 1px; background-color: #e5e5e5; font-size: 1px; line-height:0px"> </div></td></tr></tbody></table></div><div class="" style=""> </div></div></body></html>