On Thu, May 21, 2009 at 5:23 PM, Ramon Solano <span dir="ltr"><<a href="mailto:rsolanob@gmail.com">rsolanob@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hello,<div><br></div><div>There is no problem, just a new name. Please try </div><div><br></div><div>q udxt</div><div><br></div><div>Or is this a "hidden" not-to-be-used feature?</div><div></div></div>
</blockquote><div><br><br>As I said in a previous message,<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <b style="color: rgb(153, 0, 0);">IMPORTANT CAVEAT</b></span><b style="color: rgb(153, 0, 0);"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ---------------------------------------------------------------</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> As COLA has not yet published the official API for User Defined</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> functions in GrADS v2.0 we have adopted here an API that is </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> based on our work with v1.9.0-rc1. This is a very low-level </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> API that is *not* endorsed by COLA. As such, it is *not* </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> advisable that users adopt this API to write their own </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> extensions. Furthermore, the extensions as implemented here </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> are tied to a specific version of GrADS and should always be </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> built in the context a given GrADS source tree. </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> --------------------------------------------------------------</span></b><br style="font-family: courier new,monospace;">
<br> See below, for a current list of functions (note: use "q udx" instead of "q udxt" for a short description of the functions.) The extensions are available with the "OpenGrADS Bundle", which has the same functionality of COLA releases with the addition of the extensions. Another important distinction is that we have adopted NetCDF-4 which supports all the classic NetCDF formats in addition to OpenDAP and the new NetCDF-4/HDF-5 formats. (Except for a small glitch with some specific non-GDS OpenDAP URLs on 64-bit Linux, NetCDF-4 appears to be working very well.)<br>
There is no "gradsdap" binary --- the "grads" binary does it all: opendap, netcdf-2/4, hdf-4, grib-1/2, binary, etc. <br><br> To get these extensions you need to install the OpenGrADS Bundle from:<br>
<br>Linux, Mac OS X, Linux:<br><br> <a href="http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032&release_id=681044">http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=305032&release_id=681044</a><br>
<br>Windows:<br><br> <a href="http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=290254&release_id=682062">http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=290254&release_id=682062</a><br>
<br>OpenGrADS documentation is available from this Wiki:<br><br> <a href="http://opengrads.org/wiki/index.php?title=OpenGrADS_Documentation">http://opengrads.org/wiki/index.php?title=OpenGrADS_Documentation</a><br><br>
In your tarball you also will find under Contents/ a file called Documentation.html with off-line documentation for the extensions and grads in general for those times when you do not have an Internet connection.<br><br>Again, in case you missed what I've said above: <b>these extensions are *not* included in the tarballs
you download from COLA, you need to install the OpenGrADS Bundle from the URL
above.</b><br>
<br> Arlindo<br><br><br><font face="courier new,monospace">ga-> q udx<br><br> User<br> Defined<br> COMMAND Short Description Function@Library <br> ---------- ----------------------------------- --------------------------<br>
printenv Expand environment variables c_xenv@^env.gex<br> runenv Expand env vars and run command c_env@^env.gex<br> @ Expand env vars and run command c_env@^env.gex<br> getenv Get value of environment variable c_getenv@^env.gex<br>
setenv Set value of environment variable c_setenv@^env.gex<br> gxyat Save images in PNG/SVG/PDF/PS c_gxyat@^gxyat.gex<br> set_rgba Set color red/green/blue/alpha c_rgba@^gxyat.gex<br> hello Hello, World! sample command c_hello@^libhello.gex<br>
ipc_verb IPC verbose toggle c_Verb@^libipc.gex<br> ipc_open Open stream for save/load c_Open@^libipc.gex<br> ipc_close Close stream c_Close@^libipc.gex<br> ipc_save Save expression to stream c_Save@^libipc.gex<br>
ipc_define Define variable (obsolete) c_Define@^libipc.gex<br> ipc_error Print IPC error message c_Error@^libipc.gex<br> mfhilo Find max/min or H/L in 2D field c_mfhilo@^libmf.gex<br> tcprop Properties radinf from central lon/lat c_tcprop@^libmf.gex<br>
shp_lines Draw lines from shapefile c_lines@^shape.gex<br> shp_polyf Draw polygons from shapefile c_polyf@^shape.gex<br> ---------- ----------------------------------- --------------------------<br>
<br> User<br> Defined<br> FUNCTION Short Description Function@Library <br> ---------- ----------------------------------- --------------------------<br> lt Less than operator f_bjt@^libbjt.gex<br>
jd Julian day f_bjt@^libbjt.gex<br> cosz Cosine solar zenith angle f_bjt@^libbjt.gex<br> dayratio Daylight ratio f_bjt@^libbjt.gex<br> if Conditional function f_bjt@^libbjt.gex<br>
maxv Maximum value f_bjt@^libbjt.gex<br> minv Minimum value f_bjt@^libbjt.gex<br> which Label gridpoints f_bjt@^libbjt.gex<br> ftest F-test f_bjt@^libbjt.gex<br>
ttest T-test f_bjt@^libbjt.gex<br> tfit Point linear regression f_bjt@^libbjt.gex<br> fit Global linear regression f_bjt@^libbjt.gex<br> tcorr2 Time correlation f_bjt@^libbjt.gex<br>
tregr2 Point linear regression f_bjt@^libbjt.gex<br> tmave2 Time averaging w/masking f_bjt@^libbjt.gex<br> madvu Calculates -d(u*EXPR)/dx f_bjt@^libbjt.gex<br> madvv Calculates -d(V*EXPR)/dy f_bjt@^libbjt.gex<br>
madvw Calculates -d(W*EXPR)/dp f_bjt@^libbjt.gex<br> muadv Zonal advection f_bjt@^libbjt.gex<br> mvadv Meridional advection f_bjt@^libbjt.gex<br> mwadv Vertical advection f_bjt@^libbjt.gex<br>
satvap Saturated vapor pressure f_bjt@^libbjt.gex<br> dew Dew point temperature f_bjt@^libbjt.gex<br> lw Thermal infrared fluxes f_bjt@^libbjt.gex<br> lw2 Thermal infrared fluxes v2 f_bjt@^libbjt.gex<br>
pinterp Pressure interpolation f_bjt@^libbjt.gex<br> zinterp Height interpolation f_bjt@^libbjt.gex<br> line Draws a line f_bjt@^libbjt.gex<br> vint2 Mass-weighted vertical integral f_bjt@^libbjt.gex<br>
fish Poisson solver f_fish@^fish.gex<br> fish_psi Compute streamfunction f_psichi@^fish.gex<br> fish_chi Compute velocity potential f_psichi@^fish.gex<br> fish_vor Compute vorticity f_psichi@^fish.gex<br>
fish_div Compute divergence f_psichi@^fish.gex<br> dewpt Dew-point temperature f_gsudf@^gsudf.gex<br> ept Equivalent potential temperature f_gsudf@^gsudf.gex<br> epi Potential Instability f_gsudf@^gsudf.gex<br>
plcl Pressure at LCL f_gsudf@^gsudf.gex<br> shear Wind Shear f_gsudf@^gsudf.gex<br> srh1km Storm-relative Helicity 0-1km' f_gsudf@^gsudf.gex<br> srh3km Storm-relative Helicity 0-3km' f_gsudf@^gsudf.gex<br>
tlcl Temperature at LCL f_gsudf@^gsudf.gex<br> tsindex Chance of T-storm Initiation f_gsudf@^gsudf.gex<br> ttindex Total Totals Index f_gsudf@^gsudf.gex<br> wchill Wind Chill Index (New) f_gsudf@^gsudf.gex<br>
hello Hello, World! sample function f_hello@^libhello.gex<br> ipc_save Save expression to stream f_Save@^libipc.gex<br> ipc_load Load variable from file f_Load@^libipc.gex<br> smth2d Shuman smoother/de-smoother f_smth2d@^libmf.gex<br>
uv2trw Find radial/tangential velocity f_uv2trw@^libmf.gex<br> re2 General interpolator (regrid2) f_re2@^libmf.gex<br> esmrf Saturation vapor pressure (old MRF) f_esmrf@^libmf.gex<br> linreg Linear regression: mx + b f_linreg@^libmf.gex<br>
re General interpolator ffre@^re.gex<br> re_ General interpolator (verbose) ffre_dbg@^re.gex<br> regrid2 regrid2-like wrapper for re() f_gsudf@^gsudf.gex<br> reimg Interpolation for Image Generation' f_gsudf@^gsudf.gex<br>
sh_filt Spherical harmonic filter f_shfilt@^shfilt.gex<br> sh_power Spherical harmonic spectra f_shpowr@^shfilt.gex<br> ---------- ----------------------------------- --------------------------<br>
</font><br></div></div><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>