Re: Paneling of Daily Annual Cycle

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri May 09 2014 - 08:34:42 MDT

Azizul,

The error messages are telling you exactly what the problem is. For example:

> fatal:Variable (pr3Avg) is undefined
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 217 in file gpcpac1.ncl

This means you are referencing a variable that doesn't exist.

> fatal:syntax error: function gsn_csm_xy expects 4 arguments, got 3
> fatal:error at line 218 in file gpcpac1.ncl

You are calling gsn_csm_xy with only 3 arguments, and it needs four arguments: a workstation id, an X array, a Y array, and a resource list.

If you don't have an X array, then try calling gsn_csm_y instead.

This error is a bit more obscure:

>
> fatal:syntax error: line 226 in file gpcpac1.ncl before or near end
> end
> ---^

This might mean that you have an incomplete "do" loop or "if" statement, meaning one without an "end do" or an "end if".

--Mary

On May 7, 2014, at 3:04 PM, azizul haque <haque.azizul320@yahoo.com> wrote:

> Hi Mary,
> I got following error message
>
> atal:Variable (pr3Avg) is undefined
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 217 in file gpcpac1.ncl
>
> fatal:syntax error: function gsn_csm_xy expects 4 arguments, got 3
> fatal:error at line 218 in file gpcpac1.ncl
>
> fatal:Variable (pr4Avg) is undefined
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 223 in file gpcpac1.ncl
>
> fatal:Variable (pr4Avg) is undefined
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 224 in file gpcpac1.ncl
>
> fatal:syntax error: function gsn_csm_xy expects 4 arguments, got 3
> fatal:error at line 225 in file gpcpac1.ncl
>
> fatal:syntax error: line 226 in file gpcpac1.ncl before or near end
> end
> ---^
>
> fatal:error in statement
> fatal:Variable (PDAY) is undefined
> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 235 in file gpcpac1.ncl
>
> fatal:syntax error: line 236 in file gpcpac1.ncl before or near end
> end
> --^
>
> fatal:error in statement
> [ahaque@linux256 ~]$
> On Wednesday, 7 May 2014, 11:02, Mary Haley <haley@ucar.edu> wrote:
> Azizul,
>
> You need to be more specific than just "Unfortunately thing does not work to me."
>
> In what way does it not work? Are you getting an error, or an incorrect panel plot, or something else?
>
> Please see our posting guidelines, which I've pointed you to before:
>
> http://www.ncl.ucar.edu/Support/posting_guidelines.shtml#PostingGuidelines
>
> --Mary
>
> On May 5, 2014, at 9:14 PM, azizul haque <haque.azizul320@yahoo.com> wrote:
>
> > Hi NCL Users,
> > I plotted daily annual cycle for the CNRM-CM5 historical dataset. Now I want to make a panel using CNRM-CM5 and CESM1-BGC (historical and rcp8.5). Unfortunately thing does not work to me.
> > Appreciated if you could guide me.
> > Attached is the script for your ready reference.
> > Regards
> > Azizul
>
> >
> > <Script for Panneling Annual Cycle.rtf>_______________________________________________
> > ncl-talk mailing list
> > List instructions, subscriber options, unsubscribe:
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 9 08:34:50 2014

This archive was generated by hypermail 2.1.8 : Fri May 09 2014 - 15:23:18 MDT