loading user defined functions in GrADSv2

Ramon Solano rsolanob at GMAIL.COM
Thu May 21 17:23:13 EDT 2009


Hello,

There is no problem, just a new name. Please try

q udxt

Or is this a "hidden" not-to-be-used feature?

I had success compiling and integrating my own functions with this
same version, in case anyone may be having troubles doing that.

Here is my output:

ga-> q udxt
      printenv -> c_xenv       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/env.gex>
        runenv -> c_env        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/env.gex>
             @ -> c_env        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/env.gex>
        getenv -> c_getenv     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/env.gex>
        setenv -> c_setenv     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/env.gex>
         gxyat -> c_gxyat      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gxyat.gex>
      set_rgba -> c_rgba       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gxyat.gex>
         hello -> c_hello      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libhello.gex>
      ipc_verb -> c_Verb       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
      ipc_open -> c_Open       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
     ipc_close -> c_Close      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
      ipc_save -> c_Save       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
    ipc_define -> c_Define     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
     ipc_error -> c_Error      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
        mfhilo -> c_mfhilo     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
        tcprop -> c_tcprop     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
     shp_lines -> c_lines      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/shape.gex>
     shp_polyf -> c_polyf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/shape.gex>
            lt -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
            jd -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          cosz -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
      dayratio -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
            if -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          maxv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          minv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         which -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         ftest -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         ttest -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          tfit -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
           fit -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
        tcorr2 -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
        tregr2 -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
        tmave2 -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         madvu -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         madvv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         madvw -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         muadv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         mvadv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         mwadv -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
        satvap -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
           dew -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
            lw -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
           lw2 -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
       pinterp -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
       zinterp -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          line -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
         vint2 -> f_bjt        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libbjt.gex>
          fish -> f_fish       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/fish.gex>
      fish_psi -> f_psichi     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/fish.gex>
      fish_chi -> f_psichi     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/fish.gex>
      fish_vor -> f_psichi     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/fish.gex>
      fish_div -> f_psichi     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/fish.gex>
         dewpt -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
           ept -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
           epi -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
          plcl -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
         shear -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
        srh1km -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
        srh3km -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
          tlcl -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
       tsindex -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
       ttindex -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
        wchill -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
         hello -> f_hello      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libhello.gex>
      ipc_save -> f_Save       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
      ipc_load -> f_Load       from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libipc.gex>
        smth2d -> f_smth2d     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
        uv2trw -> f_uv2trw     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
           re2 -> f_re2        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
         esmrf -> f_esmrf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
        linreg -> f_linreg     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/libmf.gex>
            re -> ffre         from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/re.gex>
           re_ -> ffre_dbg     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/re.gex>
       regrid2 -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
         reimg -> f_gsudf      from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/gsudf.gex>
       sh_filt -> f_shfilt     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/shfilt.gex>
      sh_power -> f_shpowr     from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/shfilt.gex>
           and -> f_rsb        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/librsb.gex>
            or -> f_rsb        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/librsb.gex>
        iclass -> f_rsb        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/librsb.gex>
       bin2dec -> f_rsb        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/librsb.gex>
         bmask -> f_rsb        from </usr/local/grads-2.0.a5.oga.5/
Darwin/Versions/2.0.a5.oga.5/i386/gex/librsb.gex>



On May 21, 2009, at 1:48 PM, Jennifer Adams wrote:

> User Defined Functions were disabled in GrADS version 2.0. Please
> see a post from me dated January 25, 2008 with the subject "GrADS
> 2.0.a0". Arlindo's opengrads may have what you need to implement
> your UDF.
> --Jennifer
>
> On May 21, 2009, at 4:29 PM, Lisa Welp wrote:
>
>> Hi Aviva,
>>
>> I'm having the same problem as you.  If you've recieved a helpful
>> solution off-list, I'd be interested in hearing it.
>>
>> Thanks,
>> Lisa
>>
>> Aviva Braun wrote:
>>> Hi group,
>>>
>>> I am having some problems with Grads v 2.0 and loading user
>>> defined functions.
>>>
>>> I do a 'setenv GAUDFT
>>> /echidna/s0/guishard/era40tracks/udf/regrid2/udft.regrid2' before
>>> starting grads.  Then, I start grads and type 'query udft'.  The
>>> result is:
>>>
>>> Warning: User Defined Functions have been disabled in this version
>>> of GrADS
>>>
>>> How do allow for use of user defined functions?  Do I need to
>>> rebuild
>>> grads to allow for udf's?
>>>
>>> Any help would be most appreciated.
>>>
>>> Thanks,
>>> Aviva
>>>
>>> ----------------------------------------------------------------
>>> This message was sent using IMP, the Internet Messaging Program.
>>>
>>>
>>
>> --
>> ---------------------------------------
>> Lisa Welp-Smith, Postdoc
>> Carbon Dioxide Research Group
>> Scripps Institution of Oceanography, UCSD
>> 9500 Gilman Dr. Dept. 0244
>> La Jolla, CA  92093-0244
>> (work) 858-822-1642
>> (cell) 203-823-5410
>> lwelp at ucsd.edu
>
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
>
>
>

---
Ramon Solano,  Research Specialist
Terrestrial Biophysics and Remote Sensing Lab.
Dept. of Soil, Water and Environmental Sciences
The University of Arizona




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090521/8a6b44f1/attachment.html 


More information about the gradsusr mailing list