<div dir="ltr"><div><font size="4"><b>Please help this is urgent, your support is highly important.</b></font></div><div><font size="4"><b><br></b></font></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><font size="4">Regards,</font></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=1flpEpH50fxgPRxFvuyiLu2A70K0UoFx-&revid=0Byj9ykpbAx3od3R4N016WWh0MnlGQ1JHUTg4Nk5HVmVMS2ZNPQ" width="304" height="116"><br></div><div> <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 1, 2019 at 2:55 PM Atul Saini <<a href="mailto:atulsainimail@gmail.com">atulsainimail@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><span style="font-family:sans-serif;font-size:12.8px">Hi Karin Sir, </span><div dir="auto" style="font-family:sans-serif;font-size:12.8px"> I tried it, earlier but result remail same . Please help.</div><div style="color:purple;font-family:sans-serif;font-size:12.8px" dir="auto"><div dir="auto"><br></div><div dir="auto"><b style="color:rgb(0,0,255)">plot = gsn_csm_time_lat(wks,ad(:,:,{30}), res ) </b></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 1, 2019, 14:40 Karin Meier-Fleischer via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
Hi Atul,<br>
<br>
your data has pr_wtr(time,lat,lon).<br>
<br>
The plot line has to be change to something like <br>
<br>
<span style="color:rgb(0,0,255)"><b> plot =
gsn_csm_time_lat(wks,ad(:,:,{30}), res ) <br>
<br>
</b></span>-Karin<br>
<span style="color:rgb(0,0,255)"></span><br>
<div class="gmail-m_-5841972368315949138m_-222281606250366914moz-cite-prefix">Am 01.07.19 um 10:04 schrieb Atul Saini
via ncl-talk:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hello NCL Talk,</div>
<div> I am trying to plot the figure
'Time vs Longitude' , but there is some problem with NCL while
plotting and its says-</div>
<div><br>
</div>
<div> <span style="color:rgb(153,0,255)">"fatal:Number of
subscripts do not match number of dimensions of variable,(2)
Subscripts used, (3) Subscripts expected<br>
fatal:["Execute.c":8638]:Execute: Error occurred at or near
line 31</span></div>
<div><b><br>
<span style="color:rgb(153,0,255)"></span></b></div>
<div><span style="color:rgb(153,0,255)"><b>Please help to
resolve the issue, I am attaching the script and data file
herewith this mail.</b></span></div>
<div><span style="color:rgb(153,0,255)"><b><br>
</b></span></div>
<div><span style="color:rgb(0,0,255)"><b>Script-</b></span></div>
<div><span style="color:rgb(0,0,255)"><b><br>
</b></span></div>
<div><span style="color:rgb(0,0,255)"><b>;*********************************************<br>
; time_lat_2.ncl<br>
;*********************************************<br>
;<br>
; These files are loaded by default in NCL V6.2.0 and
newer<br>
; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>
<br>
<br>
begin<br>
f = addfile ("<a href="http://1951_2017_masked.nc" rel="noreferrer" target="_blank">1951_2017_masked.nc</a>" , "r");
add file<br>
ad = f->pr_wtr<br>
;*************************<br>
; plotting parameters<br>
;*************************<br>
wks = gsn_open_wks ("png", "time_lat" ) ; send
graphics to PNG file <br>
<br>
<br>
res = True ; plot mods
desired<br>
res@tiMainString = "color example" ; title<br>
res@tmXBLabelStride = 2 ; tick mark
label stride<br>
res@tiYAxisString = "time" ; y axis title<br>
<br>
res@cnFillOn = True ; color on<br>
res@cnFillMode = "CellFill"<br>
res@lbLabelStride = 2 ; every other
label<br>
res@lbOrientation = "Vertical" ; vertical
label bar<br>
res@cnLinesOn = False ; turn off
contour lines<br>
res@cnFillPalette = "ViBlGrWhYeOrRe" ; set color
map<br>
res@cnLevelSpacingF = 5 ; contour
spacing<br>
<br>
plot = gsn_csm_time_lat(wks,ad(:,{30}), res ) <br>
<br>
end</b></span></div>
<div><span style="color:rgb(153,0,255)"></span><br>
</div>
<div>
<div>
<div dir="ltr" class="gmail-m_-5841972368315949138m_-222281606250366914gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><font size="4">Regards,</font></div>
<div><br>
</div>
<div><img src="https://docs.google.com/uc?export=download&id=1flpEpH50fxgPRxFvuyiLu2A70K0UoFx-&revid=0Byj9ykpbAx3od3R4N016WWh0MnlGQ1JHUTg4Nk5HVmVMS2ZNPQ" width="304" height="116"><br>
</div>
<div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="gmail-m_-5841972368315949138m_-222281606250366914mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-5841972368315949138m_-222281606250366914moz-quote-pre">_______________________________________________
ncl-talk mailing list
<a class="gmail-m_-5841972368315949138m_-222281606250366914moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu" rel="noreferrer" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="gmail-m_-5841972368315949138m_-222281606250366914moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
</blockquote></div>