Re: define colormap question

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 12 Jun 2006 07:26:55 -0600 (MDT)

Hi Jerry,

What you've done below should work. Does the "vor.gp" file follow the
same format as the other *.gp files in that directory? Does it have
read permissions? You can verify this with:

   ls -l $NCARG_ROOT/lib/ncarg/colormaps/vor.gp

and then compare it to another *.gp file:

   ls -l $NCARG_ROOT/lib/ncarg/colormaps/so4_21.gp

Also, compare your "vor.gp" file to the "so4_21.gp" file to make sure
it has all the necessary text.

If your "vor.gp" file looks like it has the right format and read
permissions, then can you please do the following and email the output
to me personally:

   ls -l $NCARG_ROOT/lib/ncarg/colormaps/vor.gp
   cat vor.gp
   ncargpath colormaps

Thanks,

--Mary

On Mon, 12 Jun 2006, jerry wrote:

> hi
>
> i define a colormap "vor.gp" and move the file to the directory
> $NCARG_ROOT/lib/ncarg/colormaps/
>
> when i test the new color table with the code¡G
>
> begin
> wks = gsn_open_wks("x11","test")
> gsn_define_colormap(wks,"vor")
> gsn_draw_colormap(wks)
> end
>
> it will get the error message
>
> fatal¡GCvtStringToCmap¡GUnable to convert string "vor" to ColorMap
> warning¡GError retrieving resource wkColorMap from args - Ignoring Arg
>
> I need help
>
> thanks
>
>

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 12 2006 - 07:26:55 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 12 2006 - 07:29:19 MDT