Establishing a 24-hour maximum value from 4 6-hour forecast hours.

Kevin M Levey klevey at CUSTOMWEATHER.COM
Mon Oct 26 23:33:17 EDT 2009


Dear Jeff,

Thanks for your response. Yes, your suggestion works just great,
however, there is a caveat. Without templating my GFS GRIB2 files your
suggestion was not possible. I merely used the new templating feature
for g2ctl (http://www.cpc.noaa.gov/products/wesley/g2ctl.html) and
then used your suggestion as in

'd max((((TMAX2m-273.16) *1.8) +32),t=9,t=15)'

It produced exactly what I was looking for. If templating is not used
all GFS GRIB files have only one t value and t does not vary and no
matter what I did, it would not work. Templating my GFS GRIB2 files
actually has allowed me to process my data a lot faster overall too.

Regards,

Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of
Cape Town)
Director of Meteorological Operations
CustomWeather, Inc.
San Francisco, California, USA

"Taking the World by Storm!"

http://www.customweather.com
http://www.myforecast.com
http://www.1stweather.com

cell: 415-794-0411
work: 415-777-3566
email: klevey at customweather.com

On Oct 26, 2009, at 10/26/09 - 4:26 PM, Jeffrey Duda wrote:

> I would think a simple "d max(tmp2m,t=(first),t=(last))" command
> should work.  Granted, make sure you have your horizontal domain set
> to the entire globe.
>
> Jeff Duda
>
> On Mon, Oct 26, 2009 at 6:16 PM, Kevin M Levey <klevey at customweather.com
> > wrote:
> MON 26OCT09: 1615PDT
>
> Dear Grads users
>
> It turns out my current logic is not correct. I am trying to find the
> highest TMAX2m value for each point on the globe  from four 6-hour GFS
> forecast hours and then plot this value, so that the single plot will
> show the highest value for each of the 720x181 data points from the
> 0.5 GFS data covering a period of 24-hours. I know the answer is
> probably simple, but I seem to making this harder than it should be.
> Any help would be greatly appreciated.
>
> Thanks.
>
> Regards,
>
> Kevin M Levey, MSc in Oceans and Atmospheric Sciences (University of
> Cape Town)
> Director of Meteorological Operations
> CustomWeather, Inc.
> San Francisco, California, USA
>
> "Taking the World by Storm!"
>
> http://www.customweather.com
> http://www.myforecast.com
> http://www.1stweather.com
>
> cell: 415-794-0411
> work: 415-777-3566
> email: klevey at customweather.com
>
>
>
> --
> Jeff Duda
> Iowa State University
> Meteorology Graduate Student
> 3134 Agronomy Hall
> www.meteor.iastate.edu/~jdduda

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


More information about the gradsusr mailing list