[ncl-talk] fatal:CvtStringToCmap:Unable to convert string "cmp_b2r" to ColorMap [SEC=UNCLASSIFIED]

Griffith Young griffith.young at bom.gov.au
Tue Feb 7 17:55:23 MST 2017


Hello Chang,
                First check that NCL knows that the path is where to find the colormap:
                *             $ ncargpath colormaps

                More information here: http://www.ncl.ucar.edu/Document/Language/env.shtml

                If the directory is in the path, then try creating a smaller filename like "test.rgb" and see if you can load that.

                If the directory is in the path, then try:
                *             export NCARG_COLORMAPS=$NCARG_ROOT/lib/ncarg/colormaps:${NCARG_COLORMAPS}

                Or, to be more specific:
                *             export NCARG_COLORMAPS=/home/local/ncl/lib/ncarg/colormaps:${NCARG_COLORMAPS}

                Hope this helps.

Griff.


From: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] On Behalf Of Xi Chang
Sent: Wednesday, 8 February 2017 10:57 AM
To: ncl-talk at ucar.edu
Subject: [ncl-talk] fatal:CvtStringToCmap:Unable to convert string "cmp_b2r" to ColorMap

I got this error:


fatal:CvtStringToCmap:Unable to convert string "BlAqGrWh2YeOrReVi22" to ColorMap

warning:Error retrieving resource wkColorMap from args - Ignoring Arg

The colorbar is there though,

ls $NCARG_ROOT/lib/ncarg/colormaps/BlAqGrWh2YeOrReVi22.rgb

/home/local/ncl/lib/ncarg/colormaps/BlAqGrWh2YeOrReVi22.rgb

any solution for this?



Chang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170208/70f1a0ff/attachment.html 


More information about the ncl-talk mailing list