color table

From: Li, Yongzuo <yongzuo.li_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 29 2012 - 11:12:02 MDT

Hi,

My NCL script to test color table is like

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
  wks = gsn_open_wks("pdf", "rv.KHGX.20080913_0600")
  gsn_define_colormap(wks,"GrayWhiteGray")
exit

I got error
[yli@cirrus ~/files]$ ncl rv-contour-KHGX.ncl
 Copyright (C) 1995-2009 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 5.1.1
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
fatal:CvtStringToCmap:Unable to convert string "GrayWhiteGray" to ColorMap
warning:Error retrieving resource wkColorMap from args - Ignoring Arg

Any suggestion is welcome.

Yongzuo

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jun 29 11:12:12 2012

This archive was generated by hypermail 2.1.8 : Fri Jun 29 2012 - 15:46:14 MDT