-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug report
Describe the bug
Definition in aperture parameter of sfgetcregather is causing a building error in sfcrestack.
To Reproduce
Steps to reproduce the behavior:
- Run SConstruct fullInterpolationAndStack experiment (In this experiment aperture parameter is not defined to sfgetcregather, but default of the program is 1. Though, in the sfcrestack, the aperture parameter is defined as 10).
- See error
< creGatherTrace-m0-0.rsf /root/madagascar/bin/sfcrestack timeCurves=creTimeCurveTrace-m0-0.rsf verb=y aperture=10 | /root/madagascar/bin/sfput label1=t0 unit1=s label2=m0 unit2=Km --out=stdout > creStackedTrace-m0-0.rsf
sfcrestack: The aperture can't be > n2
Aperture=10 n2=1
sfput: build/api/c/file.c: No in= in file in: No such file or directory
scons: *** [creStackedTrace-m0-0.rsf] Error 1
scons: building terminated because of errors.Expected behavior
Definition of the same aperture parameter value in both programs should correct the bug.
Screenshots
Desktop (please complete the following information):
- OS: CentOS
- Version [e.g. 22]
Additional context
When the same experiment is tested with aperture parameter defined as 10 for both programs the bug disapears.
sfcrestack: Active mode on!!!
sfcrestack: Input file parameters:
sfcrestack: n1=1001 d1=0.004000 o1=0.000000
sfcrestack: n2=10 d2=0.012500 o2=0.000000
sfcrestack: n3=3 d3=0.004000 o3=1.000000
sfcrestack: n4=1 d4=0.500000 o4=3.500000
sfcrestack: Time curves file parameters:
sfcrestack: n1=161 d1=0.012500 o1=0.000000
sfcrestack: n2=3 d2=0.004000 o2=1.000000
sfcrestack: n3=1 d3=0.500000 o3=3.500000
< creStackedTrace-m0-0.rsf /root/madagascar/bin/sfrcat axis=2 --out=stdout > stackedSection.rsf
< stackedSection.rsf /root/madagascar/bin/sfbandpass fhi=20 --out=stdout > filtStackedSection.rsf
scons: done building targets.Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working