[gradsusr] (no subject)
jeffduda319 at gmail.com
Sat May 8 14:06:24 EDT 2021
1a) How is 'i' set?
1b) I don't think the grads scripting language supports math in a command
line command like that. You'd have to do something like
i = 1
i2 = i-1
'd a(t='i') - a(t='i2')'
2) This command is equivalent and does not require a script variable
(provided your dimension environment is set appropriately): 'd a - a(t-1)'
On Sat, May 8, 2021 at 12:01 PM Evgeny Gavrilov <eugen420 at gmail.com> wrote:
> why this method does not working?
> 'set gxout shaded'
> 'define a=tmp2m'
> 'd a(t='i') - a(t='i-1')'
> report: constant field. value = 0
> gradsusr mailing list
> gradsusr at gradsusr.org
Jeff Duda, Research Scientist
University of Colorado Boulder
Cooperative Institute for Research in Environmental Sciences
NOAA/OAR/ESRL/Global Systems Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gradsusr