[Thread Prev][Thread Next][Index]

Re: [ferret_users] LET/LIKE=



Hi,

it should be a bug introduced by your compiler or python or both. It works with my pyferret, not starting as python module but directly.

I build myself from scratch with gcc-7 and python/3.7.4. The latter is installed with a miniconda and "seems" to be based on gcc-7 too, so all fortran related libraries (and others) should fit well, libgfortran.so.4 is linked in.

All the best,

Martin

(ferret is a script arranging the environment and calling pyferret.)

blogin1:~ $ ferret
        NOAA/PMEL TMAP
        PyFerret v7.5 (optimized)
        Linux 3.10.0-957.21.3.el7.x86_64 - 12/28/19
        17-Jan-20 19:51

yes? yes? let/units="m" oldvar = 777.
yes? yes? let/like=oldvar newvar = 666.
yes? yes? list newvar
             VARIABLE : 777. (m)
          666.0


Am 17.01.2020 um 17:09 schrieb Marco van Hulten:
Hello Ferretters—

In classic Ferret 7.5 this works:

   yes? let/units="m" oldvar = 777.
   yes? let/like=oldvar newvar = 666.
   yes? list newvar
                VARIABLE : 777. (m)
             666.0

but in PyFerret 7.3 it does not:

   yes? let/units="m" oldvar = 777.
   yes? let/like=oldvar newvar = 666.
    **ERROR: unknown command qualifier: like=oldvar

Is /like= removed in PyFerret, or is it a bug in version 7.3?

—Marco



[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement