Bug #623

filter1d -F[f|F] option

Added by Marcell over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2014-09-18
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.x-svn Platform:Linux

Description

Error using filter1d (5.1.2_r13525) with custom weights using the -F[f|F]w.dat option.
i.e.: filter1d tserie.dat -FFw.dat -E -N0 -f0T
Error message: "Syntax error -F option: Filterwidth must be positive"
The same command was working on gmt 4.5.7 [64-bit]. (only the -N option changed to -N4/0)

tserie.dat - 1 year 6 hourly sampled time serie (cut from 17 years ) (75.6 KB) Marcell, 2014-09-18 10:06

w.dat - gaussian weights (45 Bytes) Marcell, 2014-09-18 10:06

tserie-filt.dat - filtered time serie [gmt 4.5.7] (cut from 17 years ) (76.9 KB) Marcell, 2014-09-18 10:11

History

#1 Updated by Paul over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Paul

I fixed the problem with the error message. However, I notice that GMT5 and GMT5 give slightly different results so I will need to determine why and which one is doing it right. WIll keep this issue open until that is the case.

#2 Updated by Paul over 2 years ago

  • Status changed from In Progress to Resolved
  • Target version set to Candidate for next bugfix release
  • % Done changed from 0 to 100

OK, fixed a porting bug in that the -f0T affected how filter coefficients were interpreted; of course, these are always just floats. GMT5 and GMT4 now gives the same result. In r13528.

#3 Updated by Paul over 2 years ago

  • Status changed from Resolved to Closed

Closing this as fixed since no further feedback.

Also available in: Atom PDF