Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
This repository was archived by the owner on May 28, 2024. It is now read-only.

Should 2a_model.R use med-obs or well-obs sites (but not both)? #148

@lekoenig

Description

@lekoenig

Currently, 2a_model.R builds separate targets and input files for the "well-observed" sites and the "medium-observed" sites. This makes the file more difficult to interpret/remember to update each relevant target, and might be over-engineered for what we need. Will we always want both the medium-observed and well-observed outputs, or is it more likely that we'll just choose one and train the model using that dataset?

What if we created a new target called p2a_observed_sites or something like that that just serves as a toggle for which set of sites we're interested in, e.g.:

# p2_well_observed_sites could be replaced with p2_med_observed_sites below
tar_target(
p2a_observed_sites
   p2_well_observed_sites
),

This way, we would update the downstream targets to depend on p2a_observed_sites instead of either p2_well_observed_sites or p2_med_observed_sites, and we would create just one version of the input/output zarr data store depending on which set of sites we're interested in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions