Skip to content

Check coverage on HH output #6

Description

@khufkens

For @lauramarques, checks coverage of GPP values on HH p-model formatted output

# quality control on coverage of site level HH data

library(tidyverse)

df <- readRDS("site_based_drivers_HH.rds")

stats <- df %>%
  group_by(sitename, date) %>%
  summarize(
    na_values = length(which(is.na(gpp)))/length(gpp)
  ) %>%
  group_by(sitename) %>%
  summarize(
    coverage = 1 - mean(na_values)
  )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions