Hi,
This is exactly what I want, I will test it soon.
Thanks!
On Mercredi, févr 19, 2003, at 14:40 America/Montreal, Dennis Shea
wrote:
>> 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
>
>
Christian Pagé
page@sca.uqam.ca
http://meteocentre.com/ http://meteoalerte.com/
Etudiant au Doctorat en Sciences de l'environnement UQAM
+1 514 987 3000 ext. 2376
_______________________________________________
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 - 14:04:55 MST