We've been in discussion with Joel directly on this, but I wanted to
let everybody else know that what this warning message means (if they
care about the gory details).
It means you are trying to set a resource after an object has been
created rather when when an object is created. Only a small subset of
resources have this kind of restriction, and "wkColorModel" is one of
them.
Joel is not doing this directly; rather, this is the gsn_open_wks
function that is doing this behind the scenes. It's just a bug in
which gsn_open_wks is trying to set this resource again after the
workstation object has been created even though the resource was set
when the workstation was created.
This bug was fixed about a month ago, and will be released in the next
version of NCL. If you want to fix it yourself, edit the file
gsn_code.ncl and change the line:
varatts(i).ne."wkHeight") then
to:
varatts(i).ne."wkHeight".and.varatts(i).ne."wkColorModel") then
--Mary
On Tue, 19 Jul 2005, Joel Norris wrote:
>
> (I meant CMYK instead of CMWK).
>
> I need to create plots in CMYK instead of RGB, so I set the following
> resources:
>
> type = "eps"
> type@wkColorModel = "cmyk"
>
> I then got the following warning message:
>
> warning:_NhlSetValues:wkColorModel does not have "S" access
>
> What does this mean?
>
> --
> Joel Norris Assistant Professor of Climate and Atmospheric Sciences
>
> Scripps Institution of Oceanography email: jnorris@ucsd.edu
> University of California, San Diego phone: (858) 822-4420
> 9500 Gilman Drive DEPT 0224 fax: (858) 534-8561
> La Jolla, CA 92093-0224 http://meteora.ucsd.edu/~jnorris/
>
> Delivery Address: Scripps Institution of Oceanography
> 8810 Shellback Way
> Room 440, Nierenberg Hall
> La Jolla, CA 92037
>
>
>
> --
> Joel Norris Assistant Professor of Climate and Atmospheric Sciences
>
> Scripps Institution of Oceanography email: jnorris@ucsd.edu
> University of California, San Diego phone: (858) 822-4420
> 9500 Gilman Drive DEPT 0224 fax: (858) 534-8561
> La Jolla, CA 92093-0224 http://meteora.ucsd.edu/~jnorris/
>
> Delivery Address: Scripps Institution of Oceanography
> 8810 Shellback Way
> Room 440, Nierenberg Hall
> La Jolla, CA 92037
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Tue Jul 19 2005 - 17:27:31 MDT