[gradsusr] Diagnostics in Ctl File?

Rowell, Mason D. Mason.D.Rowell-1 at ou.edu
Fri Nov 11 15:50:47 EST 2011


Jeff and others,

Strange. This is exactly what was suggested in the ctl file near the comments at the bottom (that which I pulled from nomads). The only difference is that they have also the inclusion of a 98cbar.gs script right after the other expressions like that in this link you gave me, whose utility is a mystery since it is not necessary, at least suggested as so by the cdiff documenation given that it is not included. Perhaps it is just some coloring scheme. At any rate, the script fails at the first line (which attempts to define dtx), with each line coded exactly as it is shown (with the appropriate NARR temp as TMPprs and wind as UGRDprs and VGRDprs of course). I assume it will do so again at dty, and so forth. I originally didn't include define with these since I thought they weren't necessary but adding that in didn't solve the problem anyways. I suspect it is because cdiff calls x, and since I define my domain with lat long, it doesn't have a x variable to use? There definitely isn't a spacing issue this time...

Mason
________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] on behalf of Jeff Duda [jeffduda319 at gmail.com]
Sent: Thursday, November 10, 2011 11:11 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] Diagnostics in Ctl File?

Mason,
There is a good example of how to code temperature advection in the page for the cdiff command: http://www.iges.org/grads/gadoc/gradfunccdiff.html
The reason for all of the crazy manipulations is because the data points on your grid are not uniformly spaced on the globe.  Thus corrections have to be made to get the correct distance between individual grid points.

Jeff

On Thu, Nov 10, 2011 at 11:00 AM, Wesley Ebisuzaki <Wesley.Ebisuzaki at noaa.gov<mailto:Wesley.Ebisuzaki at noaa.gov>> wrote:
Mason,

I think that you've discovered the "private" commands used by nomads
plot software for defining new variables
and custom plots.   The nomads plot package is a wrapper for GrADS.  It
has the ability to run grads .gs files that
are embedded within the ctl files.


http://www.cpc.ncep.noaa.gov/products/wesley/ncep_data/plot_doc.htmlhttp://www.cpc.ncep.noaa.gov/products/wesley/ncep_data/plot_doc.html

Ask NCDC for a copy of the .gs files.

> Has anyone done this before with grads?
How do you expect the developers to debug the scripts?

    Wesley



Rowell, Mason D. wrote:
> All,
>
> I noticed ample comments toward the end of the ctl files available on the nomads servers from the NARR page, with a description of how to implement these in grads scripting. I tried to take this to plot temperature advection but it didn't work, b/c the last line of the comments calls for some function never provided. Has anyone done this before with grads?
>
> Mason
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
> http://gradsusr.org/mailman/listinfo/gradsusr
>

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr



--
Jeff Duda
Grad student - PhD, Meteorology
University of Oklahoma School of Meteorology - Center for Analysis and Prediction of Storms

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111111/2c916741/attachment-0003.html 


More information about the gradsusr mailing list