sample1d and spline smoothing (-Fs) a Time series don't play along

Open
#8,698 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
cli, data

Research direction

Start by reproducing the sample1d command with D.dat and the stated time range and smoothing option. Inspect gmt_support.c:1847 around gmtlib_smooth_spline and trace the failure reported by gmt_intpol near row 80; done means the command no longer attempts the reported oversized allocation or fails for this input.

Written by the indexing model from the issue text.

Description

bug
sample1d D.dat -T2025-03-05T13:26:00/2025-03-07T13:24:05/30s -Fs0.99
sample1d (gmt_support.c:1847(gmtlib_smooth_spline)): Could not reallocate memory [6.78 Gb, 910228900 items of 8 bytes]
sample1d [ERROR]: Failure in gmt_intpol near row 80!
Dominant language
C
Stars
997
Forks
420
Avg merge
13h 27m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/gmt

All issues in GenericMappingTools/gmt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.