Climate matching by drawing a buffer around occurrence points
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
No files, tests, or entry points are named. Start by locating the code that processes occurrence coordinates, coordinate uncertainty, and climate-zone layers, then trace how climate matches are currently calculated. Done means assigning each record's buffer-area overlap fraction to climate zones, excluding marine overlap and keeping overlapping point buffers separate.
Written by the indexing model from the issue text.
Description
At the moment, we keep points with every coordinate uncertainty level and also those that are close to the border with a different climate zone. To minimize bias related to this, draw a buffer around each occurrence point with the radius being equal to the coordinate uncertainty (i.e., records with a higher uncertainty will get a higher buffer around them). Then, calculate the amount of overlap between this buffer and the climate zone layer of the time period in which the observation was made. Based on this % overlap, calculate the presence of the point in each climate zone as follows: 60% overlap of occurrence record buffer with zone A and 40% with zone B = 0.6 occurrence records in zone A and 0.4 in zone B.
In other words: n_climate (zone A) = Area of buffer in climate zone A / Total area of buffer (and this for all occurrence records of the species of interest)
Special attention for the following situations:
- If a buffer overlaps with the marine environment, keep only the terrestrial overlap, recalculate the buffer surface ...
- If a buffer overlaps with the buffer of another point: chances will be lower due to thinning but this may still occur when coordinateUncertainties are large, in that case don't merge buffers, calculate it separately for each point as if the other weren't there.
- Dominant language
- R
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor 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 inbo/ClimateCastR
-
inbo/ClimateCastR#34 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
inbo/ClimateCastR#27 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
inbo/ClimateCastR#26 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
inbo/ClimateCastR#25 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
inbo/ClimateCastR#24 ·
All issues in inbo/ClimateCastR
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·