At the NCAR Graphics level of the utility PLOTCHAR, the error message Cathy
Smith reports is the result of using a string in which the "function code
signal character" is used improperly. For example, if I use the character
string
'A:S:2:N:/B:S:2:N:'
in a call to PLCHHQ, it will write the equivalent of
"A squared divided by B squared"
The colons are being used as "function code signal characters"; in between
pairs of them, PLCHHQ expects to see "function codes". If I misplace one of
the colons, as in
'A:S:2:N/:B:S:2:N:'
then I will get the error message reported. Also keep in mind that, although
the colon is the default "function code signal character", another character
can be substituted. For example, I could do a
CALL PCSETC ('FC','|')
to specify the use of vertical bars in place of colons, as in
'A|S|2|N|/B|S|2|N|'
I don't know what the equivalent NCL incantation might be ...
Dave Kennison
On Tue, 8 Mar 2005, Cathy Smith wrote:
> I am having problems with some NCL code. The code (for me) consistently
> produces many errors like
>
> PLCHHQ - CHARACTER NUMBER 19 (/) IS NOT A LEGAL FUNCTION CODE
>
> For another user in our lab, the code works fine with no errors. We use
> the same NCL version ( 4.2.0.a032) and have the same path settings for the
> ncar libraries. I've had our system person help look at the differences in
> our environments and so far, we haven't seen anything that should have an
> effect.
>
> Does anyone have an idea of where we should be looking or what else we can
> check? It's driving us crazy.
>
> thanks,
> Cathy Smith
>
> "A round of victory lattes for everyone!!!!"
>
> ###########################################################
> # NOAA-CIRES Climate Diagnostics Center #
> # U of C Campus Box 216 Boulder, CO 80309-0216 #
> # e-mail cathy.smith@noaa.gov #
> # http://www.cdc.noaa.gov/people/cathy.smith/ #
> # phone (303)497-6263 fax:(303)497-6449 #
> ###########################################################
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Mar 08 2005 - 15:46:43 MST