Series coarse-graining
@CommonClimate is already working on this.
Since Aug 24, 2022.
Assessment
This issue has not been assessed yet.
Description
Is your feature request related to a problem? Please describe.
Huybers (2022), analyzing the spectral content of a portion of the GISP2 d18O record, makes a good case that interpolation should be done this way:
The d18O samples have an average spacing of $\Delta$ t = 124 yr between 20 and 50 ka, with the time between neighboring pairs of data points ranging between 77 and 306 yr. To place the record on an evenly sampled age scale, it is first linearly interpolated to 12.4-yr resolution, then smoothed to remove variability at periods shorter than 124 years by convolving with an 11-point Hamming window, and, finally, decimated to 124-yr resolution to maintain the same average sampling interval. Interpolation to high-resolution followed by smoothing and decimation helps reduce aliasing and makes results less sensitive to the exact specification of the interpolation grid.
Currently we offer interpolation but no subsequent smoothing and decimation, though we have all the tools to do so.
Describe the solution you'd like
introduce a new Series function called even_out() that interpolates at 1/10 the average Delta t, then smoothes out all variability shorter than Delta t, and subsequently resamples every 10th point.
Describe alternatives you've considered
leave things as is
- Dominant language
- Python
- Stars
- 104
- Forks
- 36
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LinkedEarth/Pyleoclim_util
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LinkedEarth/Pyleoclim_util#718 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LinkedEarth/Pyleoclim_util#717 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
LinkedEarth/Pyleoclim_util#716 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
LinkedEarth/Pyleoclim_util#715 ·
-
Broken doc linkOpendocumentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
LinkedEarth/Pyleoclim_util#704 ·
All issues in LinkedEarth/Pyleoclim_util
Similar issues
-
5-minutes algorithm all-levels any-language beginner-friendly community documentation easy first-timers-only good first issue hacktoberfest help wanted learning no-code-needed open-source python students
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Huerte/algo-solutions-python#281 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/flink-agents#1395 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pybamm-team/PyBaMM#6061 ·
Maintainers usually reply within 2 days
-
A wall-clock ceiling in test_rest_import_off_the_loop turns the gate red on unrelated pull requestsOpenbug help wanted quality
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pyrite-wiki/pyrite#1550 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
daniel-ospina/tortoise#13049 ·
Maintainers usually reply within 1 day