>Is there a way to dump resources values to the screen?
Not clear about your question.
Most frequently, resources are user defined options
which modify the default behaviour of the gsn*
graphical interfaces. These resources are passed
as attributes of a variable. The following untested
procedure might be what you want.
procedure print_VarAtts(var) ; print attribute names and values
local att_names, n
begin
att_names =getvaratts(var)
if (.not.all(ismissing(att_names))) then
nAtts = dimsizes(att_names)
do n=0,nAtts-1
print ("name="+att_names(n) +" = "+var@$att_names(n)$ )
end do
end if
end
regards,
Dennis Shea
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Wed Feb 19 2003 - 12:34:48 MST