[gradsusr] define new field
Stephen McMillan
smcmillan at planalytics.com
Thu Jul 17 15:55:21 EDT 2014
Rabah,
If you have opengrads, you could use "if" function, for example:
'define newfld=if(var,<,1000,1,-u)' where var is an available variable
whose values are < 1000
Otherwise, you could use const, for example:
'define newfld=const(var,1,-a)' where var is an available variable
Hope above helps.
Stephen McMillan
On Thu, Jul 17, 2014 at 3:07 PM, Rabah Hachelaf <r.hachelaf at gmail.com>
wrote:
> Hello all,
>
> How can i define a new field (Xsize,Ysize) containing constant value (1
> for exemple) in GRADS.
>
> Thanks.
>
> --
> ------------------------------
> Cordialement,
> Best regards,
> Rabah Hachelaf
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140717/b79b5a41/attachment.html
More information about the gradsusr
mailing list