[ncl-install] Bad output files from rgb.c

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Thu Dec 6 13:50:54 MST 2018


NCL support,

I am debugging Macports builds of NCARG/NCL 6.5.0 on Mac OS 10.13.6 (High
Sierra).  My current build recipe works pretty well.  However, there are
errors in the two RGB database files that are generated during the build
process.  This leads to defects in output plots.  This is demonstrated by
some of the example programs, such as:

   mac56:~/temp/x 31> ng4ex cn05n
   NCAR Graphics NCL Example <cn05n>
     Copying cn05n.ncl
   Running NCL...
    Copyright (C) 1995-2018 - All Rights Reserved
    University Corporation for Atmospheric Research
    NCAR Command Language Version 6.5.0
    The use of this software is governed by a License Agreement.
    See http://www.ncl.ucar.edu/ for more details.
   fatal:CvtStringToColorIndex: Unable to convert string "PaleGreen4" to
requested type
   warning:Error retrieving resource lbTitleFontColor from args - Ignoring
Arg
   fatal:CvtStringToColorIndex: Unable to convert string "PaleGreen4" to
requested type
   warning:Error retrieving resource tiMainFontColor from args - Ignoring
Arg

   <truncated>

This is caused by bad files rgb.dir and rgb.pag that are generated by rgb.c
when building NCARG.  I can plug in correct database files from other
sources, and these NCL color errors go away.  The current Macports build
throws several warning messages about rgb.c.  There is a current Macports
ticket with more details, including a build console log that shows the
rgb.c warnings:

    https://trac.macports.org/ticket/57728

It is unclear to me whether the problem is in rgb.c itself, or in the
Macports build environment.  Either is possible.  Can you please take a
look and advise on a possible solution?  Thanks.

--Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20181206/66b0158f/attachment.html>


More information about the ncl-install mailing list