[ncl-talk] 4 panel plot color error message

Rashed Mahmood rashidcomsis at gmail.com
Wed Aug 11 14:36:57 MDT 2021


The colors variable is commented in the script. There are other possible
issues: colors1,2,3 are not defined and only colors3 is used in the fourth
plot while the first three plots use colors. But still the colorbar
procedure is being invoked for colors0, colors1, colors3 etc.

On Wed, Aug 11, 2021 at 10:07 PM Herb, Jason via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:

> Hello all,
>
> I have a 4-panel plot for various sites which are color coded based on
> given ranges. I tested it with the same the same input for all inputs to
> make sure that it would plot the data correctly with no issues. Now that it
> worked and have it feed in 4 different files the code errors. The error
> messages are as follows:
>
> fatal:Undefined identifier: (colors) is undefined, can't continue
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 555 in
> file test4panel.ncl
>
> given (colors) was specified well above the line kicking error I am
> confused as what is occurring and how to fix.
> I have attached the code and the input files.
>
> Thanks,
> Jason
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210811/d0e9b196/attachment.html>


More information about the ncl-talk mailing list