Skip to content

sync dev - #38

Merged
jcaracappa1 merged 7 commits into
devfrom
main
Aug 18, 2026
Merged

sync dev#38
jcaracappa1 merged 7 commits into
devfrom
main

Conversation

@jcaracappa1

Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines 57 to 59
data.temp <- terra::clamp(data, lower = ref.value, upper = Inf, value = FALSE)
data.stat <- sum(data.temp, na.rm = TRUE)
data.stat <- sum(data.temp- ref.value, na.rm = TRUE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[air] reported by reviewdog 🐶

Suggested change
data.temp <- terra::clamp(data, lower = ref.value, upper = Inf, value = FALSE)
data.stat <- sum(data.temp, na.rm = TRUE)
data.stat <- sum(data.temp- ref.value, na.rm = TRUE)
data.temp <- terra::clamp(
data,
lower = ref.value,
upper = Inf,
value = FALSE
)
data.stat <- sum(data.temp - ref.value, na.rm = TRUE)

Comment on lines 77 to 79
data.temp <- terra::clamp(data, lower = -Inf, upper = ref.value, value = FALSE)
data.stat <- sum(data.temp, na.rm = TRUE)
data.stat <- sum(data.temp- ref.value, na.rm = TRUE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[air] reported by reviewdog 🐶

Suggested change
data.temp <- terra::clamp(data, lower = -Inf, upper = ref.value, value = FALSE)
data.stat <- sum(data.temp, na.rm = TRUE)
data.stat <- sum(data.temp- ref.value, na.rm = TRUE)
data.temp <- terra::clamp(
data,
lower = -Inf,
upper = ref.value,
value = FALSE
)
data.stat <- sum(data.temp - ref.value, na.rm = TRUE)

jcaracappa1 and others added 2 commits August 18, 2026 14:07
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Comment thread R/make_2d_deg_day_ts.R
.groups = "drop"
) |>
dplyr::mutate(metric = metric)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[air] reported by reviewdog 🐶

Suggested change

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jcaracappa1
jcaracappa1 merged commit d3a41c2 into dev Aug 18, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants