[ncl-talk] NCARG_COLORMAPS
Rick Brownrigg
brownrig at ucar.edu
Tue Jun 16 10:31:33 MDT 2015
Hi Laura,
It seems something somewhere is referencing that BlueWhiteOrangeRed.rgb
colortable, even if you are using your own. I don't know offhand if this
is a default behavior somewhere or if its unintentional. Do you reference
it in an .hluresfile, perhaps?
But in any case, I think Kyle's right -- the solution is to include the
default colormap in addition to your own:
export NCARG_COLORMAPS=/glade/u/home/laura:$NCARG_ROOT/lib/ncarg/colormaps
HTH...
Rick
On Tue, Jun 16, 2015 at 10:15 AM, Laura Fowler <laura at ucar.edu> wrote:
> Kyle:
> I always use my own color table (colorTable.rbg in my home directory),
> and I do not need to use the default color tables. Thanks for your
> suggestion anyway,
> Laura
>
>
> On Tue, Jun 16, 2015 at 10:00 AM, Kyle Griffin <ksgriffin2 at wisc.edu>
> wrote:
> > Laura,
> >
> > You need to be sure to include the default colormaps directory in your
> path
> > as well, or move all of NCL's colormaps into the one directory you have
> set.
> > Since you don't include that directory, most of the default colormaps
> will
> > not work.
> >
> > See:
> >
> http://ncl.ucar.edu/Document/Graphics/create_color_table.shtml#MoveColorTableFile
> >
> >
> > Kyle
> >
> > ----------------------------------------
> > Kyle S. Griffin
> > Department of Atmospheric and Oceanic Sciences
> > University of Wisconsin - Madison
> > Room 1421
> > 1225 W Dayton St, Madison, WI 53706
> > Email: ksgriffin2 at wisc.edu
> >
> > On Tue, Jun 16, 2015 at 10:57 AM, Laura Fowler <laura at ucar.edu> wrote:
> >>
> >> Hi:
> >> For the last week or so, I have trouble with setting NCARG_COLORMAPS
> >> on yellowstone to use my color table /glade/u/home/laura/colorTable. I
> >> have:
> >>
> >> [laura at yslogin5 QUASI-UNIFORM]$ echo $NCARG_ROOT
> >> /glade/apps/opt/ncl/6.3.0/intel/12.1.5
> >>
> >> and
> >>
> >> echo $NCARG_COLORMAPS
> >> /glade/u/home/laura
> >>
> >> I get the error:
> >> fatal:CvtStringToCmap:Unable to convert string "BlueWhiteOrangeRed" to
> >> ColorMap
> >> warning:Error retrieving resource wkColorMap from DB - Using default
> value
> >>
> >>
> >> This error seems to be recent as I have used that color table without
> >> any issue in the last few weeks. I am not sure what I am doing wrong
> >> and need a few hints to help figure this one out.
> >>
> >> Thanks,
> >> Laura
> >>
> >>
> >>
> >> --
> >>
> >>
> !-------------------------------------------------------------------------------------------------------------
> >> Laura D. Fowler
> >> Mesoscale and Microscale Meteorology Division (MMM)
> >> National Center for Atmospheric Research
> >> P.O. Box 3000, Boulder CO 80307-3000
> >>
> >> e-mail: laura at ucar.edu
> >> phone: 303-497-1628
> >>
> >>
> >>
> !-------------------------------------------------------------------------------------------------------------
> >> _______________________________________________
> >> ncl-talk mailing list
> >> ncl-talk at ucar.edu
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> >
>
>
>
> --
>
> !-------------------------------------------------------------------------------------------------------------
> Laura D. Fowler
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
>
> e-mail: laura at ucar.edu
> phone: 303-497-1628
>
>
> !-------------------------------------------------------------------------------------------------------------
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150616/0cde9594/attachment.html
More information about the ncl-talk
mailing list