[gembud] Recent model run vs. previous one

pmanousos at firstenergycorp.com pmanousos at firstenergycorp.com
Tue Sep 11 08:28:09 MDT 2007


Hi Pedro

Assuming the previous cycle's forecast is in a different grid file - you 
will need to have the program open two files.

gdfile= currentcycle.grd + previouscycle.grd 

Now you can reference these grids in the gdpfun parameter...

gdpfun=sub(hght^f012,hght+2^f018) 

(where a +2 indicated get hght from the second file defined in gdfile)

Also - in any program (example - gdinfo), type "ph" at the command prompt 
followed by a parameter name to get more info on how to use the parameter.
For example "ph gdfile" will spell out for you how to reference different 
grid files in the "gdfile" parameter and "ph gfunc" will spell out how to 
reference different fields from the different files.

Pete

gembud-bounces at unidata.ucar.edu wrote on 09/10/2007 05:16:53 PM:

> All:
> 
> 
> I'm trying to write a script that makes a comparison of 
> the most current
> model run, say 24h forecast, versus the previous cycle's 
> (say it is 6h
> earlier) 30h forecast, effectively valid at the same time.
> I'd like to
> just be able to see changes in the model solution from 
> previous runs.  I
> have something like:
> 
> 
> 
> gdpfun= sub(hght^1200f012, hght^0600f018)
> 
> 
> 
> which actually works, but I'd like to be able to do 
> something like this
> with specifying the times, but a more general script in which it
> compares the last run versus the previous one, something 
> in the form of:
> 
> 
> 
> gdpfun= sub(hght^last, hght^'(last-1)')
> 
> 
> 
> I'd appreciate any suggestions as soon as possible.
> 
> 
> 
> Thanks,
> 
> Pedro
> 
> 
> 
> 
> 
> Pedro Mulero
> 
> Meteorologist, Wind Asset Management
> 
> 1125 NW Couch, Suite 700
> 
> Portland, OR 97209
> 
> Office: 503.478.6302
> 
> Cell: 503.382.7827
> 
> Pedro.Mulero at PPMEnergy.com
> 
> 
> 
> 
> _______________________________________________
> gembud mailing list
> gembud at unidata.ucar.edu
> For list information or to unsubscribe,  visit: http:
> //www.unidata.ucar.edu/mailing_lists/ 



-----------------------------------------
The information contained in this message is intended only for the
personal and confidential use of the recipient(s) named above. If
the reader of this message is not the intended recipient or an
agent responsible for delivering it to the intended recipient, you
are hereby notified that you have received this document in error
and that any review, dissemination, distribution, or copying of
this message is strictly prohibited. If you have received this
communication in error, please notify us immediately, and delete
the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/20070911/14888ed7/attachment.html 


More information about the gembud mailing list