[rsf-user] Request for help

2 views
Skip to first unread message

S C

unread,
Feb 21, 2023, 2:38:07 AM2/21/23
to rsf-...@lists.sourceforge.net
Sir, i am getting this error while processing alaska data "can't get first trace"

Kindly help me.

Керим Хемраев via RSF-user

unread,
Feb 21, 2023, 4:27:14 AM2/21/23
to RSF-...@lists.sourceforge.net
Hi,
 
This error usually means that either the file is broken, the file is inapropriate or the file doesn’t exist.
Try to sfin < my_file.rsf
This should print the information about the structure of the file.
If not then something wrong with the file.
 
Also I would recommend to start processing with examples provided with Madagascar. Always look into examples within Madagascar source code and search for use of programs using some text editor (VScode for example). 
 
The most power of Madagascar comes with use of python+Jupyter.
I find interesting this example: https://github.com/rmorel/Viking
But you can also find other examples provided by Madagascar community as well.
 
Hope this helps.
Kerim Khemraev
 

S C

unread,
Feb 21, 2023, 11:08:51 PM2/21/23
to rsf-...@lists.sourceforge.net
Respected si/madam,
                    I am trying to execute things from alaska . everything i working fine until the the following script.:

*Flow('allvelfilt_shot','allshots alaskavelfilt.sh',
     './${SOURCES[1]} 1 10')


*Plot('movie_velfilt','allvelfilt_shot',
     '''
     suxmovie n2=96 loop=1 fframe=1 dframe=1
              title="record %g" perc=20
     ''')




The alaskavelfilt.sh script is also given below:
#!/bin/bash
PID=$$

cat >tempin${PID}.su
for (( EP=$1; EP<=$2; EP++))
do
#    echo EP = ${EP} PID = ${PID}
    <tempin${PID}.su suwind \
        key=ep \
        min=${EP} \
        max=${EP} \
    | sustatic hdrs=1 sign=-1 \
    | sugain \
        tpow=1 \
    | sumute \
        xmute=-5280,0,5280 \
tmute=.488,0,.488 \
    | sugain  agc=1 wagc=.5  \
    > temp${PID}.su
    cat temp$$.su | suwind key=offset min=-999998 max=0 \
    | sudipfilt \
        bias=-.003 \
        dx=1 \
        slopes=-.014,-.012,.004,.006 \
        amps=0.0,1.0,1.0,0.0 \
    | suchw \
        key1=offset \
        key2=offset \
        a=0 \
        b=-1


    cat temp${PID}.su | suwind key=offset min=0 max=999998 \
    | sudipfilt \
        bias=.003 \
        dx=1 \
        slopes=-.006,-.004,.012,.014 \
        amps=0.0,1.0,1.0,0.0

done

rm temp${PID}.su tempin${PID}.su



Kindly check whether this script is correct bcz I am feeling sth is messing up here which I am not able to figure it out.

Regrads,
Satish

Karl Schleicher

unread,
Feb 22, 2023, 8:48:42 AM2/22/23
to S C, rsf-...@lists.sourceforge.net
SC,
I see the escort in another email.  I will try to recreate error.
Karl

Sent from my iPhone

On Feb 21, 2023, at 10:09 PM, S C <satishgch...@gmail.com> wrote:


_______________________________________________
RSF-user mailing list
RSF-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsf-user
Reply all
Reply to author
Forward
0 new messages