[gradsusr] Filter values

Andrew Revering andy at f5data.com
Tue Oct 19 06:51:43 EDT 2010


I figured out a way to exchange values on a grid by doing this.

 

'define v = re(value,0.037)'

'define mv = if(const(v,0,-u),<,30,0,const(v,0,-u))'

 

But that sets ALL values less than 30 to a value of 0 on the entire grid.
What I'd like to do is the same thing, but only for a portion of the grid.
Is there a way to constrict this to just check an area within x distance of
the center, but not change values outside of this center radius?

 

 

 

Andrew Revering

Convective Development, Inc.

http://www.convectivedevelopment.com/

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101019/e7fbc399/attachment.html 


More information about the gradsusr mailing list