How does GrADS work internally when drawing?

Stefan Gofferje gradsusers at GOFFERJE.HOMELINUX.ORG
Thu Mar 20 11:53:58 EDT 2008


Hi Jennifer,

that's lots of ideas, thanks!

>> Can I
>> define ownfunction and then just say set gxout grid; d ownfunction?
> sure, if ownfunction is a valid GrADS expression. The syntax for
> defining variables is:
> 'define var = 'ownfunction
> or the implied define:
> 'var = 'ownfunction

I had something like this in mind:

--
function snowflake()
if (csnowsfc = 1)
  ret="*"
else
  ret=""
end if

return ret

...

set gxout grid
d snowflake()
--

This would - of course - require that GrADS is going through the grid
and provides the location to the function.
But it would be pretty handy if this concept would work, right? :)

Tervehdys Suomesta,
Stefan Gofferje

--
Since light travels faster than sound, is that why some people appear
bright until you hear them speak?



More information about the gradsusr mailing list