[ncl-talk] NCL problem in plotting MJO plot

Md. Saquib Saharwardi 1610303 saquib16 at iiserb.ac.in
Mon Aug 6 23:03:41 MDT 2018


Dear Nick,
               Thankyou for your quick  response.
I again tried the same. I found that problem is related to the
*band_pass_hovmueller* function.

fatal:syntax error: line 17 in file mjoclivar_5.ncl before or near \n
  mjo_hov = band_pass_hovmueller (x(:,{latS:latN},{lonL:lonR} ,srate, bpf,
wgty({latS:latN}), opt)
--------------------------------------------------------------------------------------------------^

fatal:Variable (mjo_hov) is undefined
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 19 in file
mjoclivar_5.ncl


I have attached the file again.

Please help me to solve this problem..

Thanking you

with regards


*****************************************************************************
Md. Saquib Saharwardi
Research Scholar
Department of Earth and Environmental Sciences
Indian Institute of Science Education and Research Bhopal (IISERB)
Bhopal- 462066, Madhya Pradesh
Email: saquib16 at iiserb.ac.in
Mob: +91-7471112404
CGMLI (Home Page) <http://home.iiserb.ac.in/~kumarp/index.html>

On Mon, Aug 6, 2018 at 9:46 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi,
>
> Looking at your script, there is not an obvious syntax error. Have you
> printed hStrt and hLast to verify they are indeed scalar values? -- in
> general, ind() would return an array.
>
> HTH...
> Rick
>
> On Mon, Aug 6, 2018 at 1:21 AM, Md. Saquib Saharwardi 1610303 <
> saquib16 at iiserb.ac.in> wrote:
>
>> Dear Mary,
>>               I am using daily anomaly file of olr to repeat the
>> *mjoclivar_5.ncl* plot.
>> I am getting this error while plotting the dataset.
>>
>> fatal:syntax error: line 76 in file mjoclivar_5.ncl before or near \n
>>   band_pass_hovmueller_plot(hov(hStrt:hLast,:) ,pltDir, pltType,
>> pltName, optHovP)
>> ------------------------------------------------------------
>> ------------------------^
>>
>> Script is attached herewith
>>
>>
>> Please help me in this regard
>>
>> Thank in Advance.
>>
>> With regards
>> Saquib
>>
>> ************************************************************
>> *****************
>> Md. Saquib Saharwardi
>> Research Scholar
>> Department of Earth and Environmental Sciences
>> Indian Institute of Science Education and Research Bhopal (IISERB)
>> Bhopal- 462066, Madhya Pradesh
>> Email: saquib16 at iiserb.ac.in
>> Mob: +91-7471112404
>> CGMLI (Home Page) <http://home.iiserb.ac.in/%7Ekumarp/index.html>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> 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/20180807/08b8be27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjoclivar_5.ncl
Type: application/octet-stream
Size: 792 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180807/08b8be27/attachment.obj>


More information about the ncl-talk mailing list