[gradsusr] Max Function

Arlindo da Silva dasilva at alum.mit.edu
Mon Aug 29 14:13:38 EDT 2011


On Thu, Aug 18, 2011 at 9:59 AM, Walsh, Brian J <brian.walsh at amec.com>wrote:

>  Hello Grads Users,****
>
> ** **
>
> I’m trying to calculate the maximum 3-hourly precipitation amounts from one
> model in a given domain.****
>
> ** **
>
> So, for instance, if I choose a point (say 46.0 N 57.0W), I would like to
> get the maximum 3-hourly precipitation amounts from the GFS for the
> surrounding grid points (i.e. I don’t want a point forecast prediction).
> I’m not sure if I can have it output the maximum amount from the nearest
> neighbor grid points or if I need to specify a domain.****
>
> ** **
>
> I’ve tried the max function without success and was hoping someone may have
> done something similar and it worked.  I’m looking to output the data into a
> file, not plot it.****
>
> ** **
>
> Any help would be greatly appreciated.****
>
> **
>

With careful design of a coarser grid, the re() extension in opengrads could
be used to regrid the original data to a coarser grid using the box
averaging method and get what you want. No need to write a separate file,
just do the regridding on the fly. More more info, see here:

   http://opengrads.org/doc/udxt/re/

     Arlindo

-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110829/d9552900/attachment-0003.html 


More information about the gradsusr mailing list