Re: Adding a NCL v6.1.2 colormap into v6.1.1

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 16 2014 - 09:52:47 MST

On Jan 14, 2014, at 6:20 PM, A.J. Eiserloh <arthur.eiserloh@gmail.com> wrote:

> Is it possible to add a color map (eg. "matlab_jet") created for v.6.1.2 into NCL v6.1.1 without having to download the latest NCL version. I tried just downloading the .rgb file from NCL's website and putting it into my colormaps directory, but I keep getting the error : fatal:CvtStringToCmap:Unable to convert string "matlab_jet" to ColorMap

Hi A.J,

The matlab_jet color table was added in version 6.1.0, so you should already have it.

It sounds like maybe you have one or more NCARG environment variables set incorrectly.

In any case, it should be possible to do this. Which directory did you put the .rgb file in?

If you put it in $NCARG_ROOT/lib/ncarg/colormaps then it should be recognized automatically.

If you put it somewhere else, then you need to set:

   setenv NCARG_COLORMAPS $NCARG_ROOT/lib/ncarg/colormaps:/path/to/my/own/colormap/file

where "/path/to/my/own/colormap/file" needs to be replaced with where you put your own *rgb file.

But, double check that you have the correct setting for NCARG_ROOT, and check if you have any
other NCARG env vars set that might not be correct:

env | grep NCARG

--Mary

>
>
> -- A.J.
> _______________________________________________
> 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 Thu Jan 16 09:52:52 2014

This archive was generated by hypermail 2.1.8 : Sun Jan 19 2014 - 21:56:35 MST