<div dir="ltr"><div><font size="4">Thanks a lot, respected sir for the very important suggestion and support. Now onwards, I will take care of the info. provided in error message as well. 🙏<br></font></div><div><br></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 6:08 PM Karin Meier-Fleischer <<a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</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">
    The result (error) is not the same, you've got a different error
    message which tells you that your selected longitude value is not in
    the data file!<br>
    <br>
    <font color="#3333ff"><tt>   Grid coordinates :</tt><tt><br>
      </tt><tt>     1 : lonlat          : points=1001 (13x77)</tt><tt><br>
      </tt><tt>                     lon : 76 to 79 by 0.25 degrees_east</tt><tt><br>
      </tt><tt>                     lat : 10 to 29 by 0.25 degrees_north</tt></font><br>
    <br>
    If you use e.g. lon value 76 degrees instead of 30 degrees it will
    produce the attached plot.<br>
    <br>
    <font color="#3333ff"><tt> plot = gsn_csm_time_lat(wks,ad(:,:,{76}),
        res )</tt></font><br>
    <br>
    It is always good to read the errors and warnings carefully because
    in most cases they tell you what is wrong.<br>
    <br>
    -Karin<br>
    <br>
    <div class="gmail-m_-8490486748364923355moz-cite-prefix">Am 01.07.19 um 12:40 schrieb Atul
      Saini:<br>
    </div>
    <blockquote type="cite">
      
      <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-m_-8490486748364923355gmail_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" target="_blank">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_-8490486748364923355gmail-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_-8490486748364923355gmail-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_-8490486748364923355gmail-m_-5841972368315949138m_-222281606250366914mimeAttachmentHeader"></fieldset>
                  <pre class="gmail-m_-8490486748364923355gmail-m_-5841972368315949138m_-222281606250366914moz-quote-pre">_______________________________________________
ncl-talk mailing list
<a class="gmail-m_-8490486748364923355gmail-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_-8490486748364923355gmail-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>
    </blockquote>
    <br>
    <pre class="gmail-m_-8490486748364923355moz-signature" cols="72">-- 
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL, CDO, PyNGL
Application Support

Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany

Phone:    +49 (0)40 460094 126
Fax:      +49 (0)40 460094 270
E-Mail:   <a class="gmail-m_-8490486748364923355moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>
URL:      <a class="gmail-m_-8490486748364923355moz-txt-link-abbreviated" href="http://www.dkrz.de" target="_blank">www.dkrz.de</a>

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
  </div>

</blockquote></div>