[ncl-talk] Seasonal Variation of Hodogragh

Dennis Shea shea at ucar.edu
Fri Sep 26 07:15:05 MDT 2014


The code you sent has several 'hidden' characters. I am not sure how that
happened.

---
Replace lines 200 to 210 with

    print( times(:,0)+"  "+times(:,1)+"  "+times(:,2)+"  "+times(:,3 ))
;  <== yyyy, mm, dd, hh


    ; find the date 2010-11-01
    ;timeindex = ind(times(:,0).eq.2010 .and. times(:,1) .eq. 2)         ;
<== find indices for February 2010 only
    ;timeindex = ind(times(:,0).eq.2010 .and. times(:,1) .eq. 2 .and.
times(:,3) .eq. 12)   ; 12Z data for Feb 2010

    timeindex = ind(times(:,0).eq.2010 .and. \
                   (times(:,1) .ge. 2 .and. times(:,1).le.4) .and.
times(:,2) .eq. 12)

    print(timeindex)


On Thu, Sep 25, 2014 at 10:03 AM, Amadou Coulibaly <mpapin24 at gmail.com>
wrote:

> Hi NCL Users
>
> Is there anyone who can help me to detect/solve this error message? I
> verified lines 200 and 208 of my script, but I did't see that syntax errors.
>
> fatal:syntax error: line 200 in file panel_plot_mod0.ncl before or near �
>
>     print(times(:,0)+"  "+times(:,1)+"  "+times(:,2)+"  "+times(:,3))
>
> ------------------------------------------------------------------------^
>
>
>
> fatal:error in statement
>
>
> fatal:syntax error: line 208 in file panel_plot_mod0.ncl before or near �
>
>
> Best
>
> --
> * COULIBALY   AMADOU   *
> PhD  Student  on  West  African  Climate  System (WACS)
> FUTA - Federal  University  of  Technology of Akure, Nigeria
>
> *Visiting Student - *
> *University of Cologne, Germany**Institute of Geophysics and Meteorology*
> Pohligstr. 3 / Office 3.102
> D-50969 Köln
>
> *Project*: WASCAL (West African Science Service Centre on Climate Change
> and Adapted Land Use)
> Phone:(+234) 810 795 2836 /(+223) 65 67 27 57 /(+226) 64 57 37 27 /+49
> 15218352574
>
> E-mail: mpapin24 at gmail.com / coulibalya68 at yahoo.com
>
> "*The time is always right to do right": Nelson Mandela*
>
> *"Character is like a tree and reputation like a shadow.  The shadow is
> what we think of it; the tree is the real thing" : Abraham Lincoln*
>
> *"Do what you can, with what you have, where you are" Theodore Roosevelt*
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140926/7281ebe0/attachment.html 


More information about the ncl-talk mailing list