User Defined Functions in OpenGrADS
Michael Fiorino
Michael.Fiorino at NOAA.GOV
Thu Nov 19 19:12:49 EST 2009
regrid2 as an old style udf that works in grads <= 1.9 but not in our
opengrads versions as arlindo described; and the regrid2.f fortran code
i wrote has bugs (not big ones though) that have been eliminated in the
opengrads extension 're2'.
please do NOT use regrid2, but use the corrected version in re2 that
works in both opengrads 1.10 and 2.0. also note re2 is functionally the
same as regrid2 and if you replaced all calls to regrid2 with re2 you
get the same behavior, but not the same answers in some cases...
let me know if you have problems using re2.
/r mike
Arlindo da Silva wrote:
>
>
> ---------- Forwarded message ----------
> From: *Paidemwoyo Munhutu* <Paidemwoyo.Munhutu at noaa.gov
> <mailto:Paidemwoyo.Munhutu at noaa.gov>>
> Date: Thu, Nov 19, 2009 at 4:49 PM
> Subject: RE: User Defined Functions in OpenGrADS
> To: ddasilva at umd.edu <mailto:ddasilva at umd.edu>
>
>
> Hello,
>
> I am a software engineer at GFDL with NOAA and I would like to
> know if the user defined functions are still disabled in OpenGrADS
>
>
> The old style UDFs are no longer supported. The OpenGrADS project
> supports the dynamically linked extesions.
>
>
> . I built opengrads (GrADS_v2.0.a5) from source so I was not sure
> if I had made a mistake. I then downloaded the latest version
> GrADS 2.0.a7.oga.3. In both I ran the command query udft and it
> returned a warning message saying the feature was disabled. Is
> there anyway to enable it?
>
> The particular function I want to use is regrid2, but it is
> unrecognised because of this.
>
>
> Try
>
> ga-> q udf
> ga-> q udc
>
> or even
>
> ga-> q udxt
>
> "q udft" is the old command, and the message you saw comes from the
> COLA's part of the code. I agree, it is confusing.
>
> Arlindo
>
> --
> Arlindo da Silva
> dasilva at alum.mit.edu <mailto:dasilva at alum.mit.edu>
More information about the gradsusr
mailing list