[Thread Prev][Thread Next][Index]

[ferret_users] Problems running LSL_LOWPASS external function on a FC6 box



Hi all,

I've just downloaded Ferret V6.07 but I'm having problems using
lsl_lowpass external function. The error occurs both with the statically
and the dynamically link executables.

I'm running ferret on a FC6 box:
$ uname -a
Linux eo 2.6.22.5-49.fc6 #1 SMP Thu Aug 30 14:25:46 EDT 2007 i686 i686
i386 GNU/Linux

Any hints will be appreciated.

Here are the commands I used to test lsl_lowpass():
=================================== lsl_lowpass_test.jnl
def ax/t=0:`50*24`:1/unit=hour t50d
let tt = t[gt=t50d]
let pi2 = `2*4*atan(1)`
let f12 = `1/12`
let lowf = 1/(3*24)
let sig = 10*sin(pi2*f12 *tt)+5*sin(pi2*lowf*tt)
plot/l=1:100 sig
let sig_f = lsl_lowpass(sig,12,12)
====================================
$ ferret
        NOAA/PMEL TMAP
        FERRET v6  
        Linux(g77) 2.4.21-32 - 08/23/06
        10-Oct-07 15:47     

yes? go lsl_lowpass_test.jnl
 ! NOAA/PMEL TMAP
 ! FERRET v6
 ! Linux(g77) 2.4.21-32 - 08/23/06
 ! 10-Oct-07 15:07
 
def ax/t=0:`50*24`:1/unit=hour t50d
 !-> def ax/t=0:1200:1/unit=hour t50d
 
let tt = t[gt=t50d]
 
let pi2 = `2*4*atan(1)`
 !-> DEFINE VARIABLE pi2 = 6.2832
let f12 = `1/12`
 !-> DEFINE VARIABLE f12 = 0.083333
 
let lowf = 1/(3*24)
let sig = 10*sin(pi2*f12 *tt)+5*sin(pi2*lowf*tt)
 
plot/l=1:100 sig
 
let sig_f = lsl_lowpass(sig,12,12)


ERROR in external function: Segmentation Violation
 **ERROR: command syntax: lsl_lowpass(sig,12,12)
          The lsl_lowpass function has an incorrect number of arguments
DEFINE VARIABLE sig_f = lsl_lowpass(sig,12,12)
Command file, command group, or REPEAT execution aborted





[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement