Skip to content

Thread fresh params_method (per-WSG cw/mad) through lnk_pipeline_classify #286

Description

@NewGraphEnvironment

If done: link configs can put watershed groups on bcfishpass's discharge (mad) habitat model and have it take effect. If never: every link run classifies on channel width, whatever a config's parameters_habitat_method.csv says. Nothing breaks either way, since the fresh default is the bundled all-cw table.

fresh v0.35.0 (NewGraphEnvironment/fresh#220, PR #224) added params_method to frs_habitat_classify() and frs_habitat(): a data frame with watershed_group_code and model (cw or mad). lnk_pipeline_classify() calls frs_habitat_classify() by name without it (R/lnk_pipeline_classify.R:95). The config's method CSV needs to be loaded (lnk_config()?) and passed through.

Under mad, fresh follows bcfishpass in three ways. Species with no MAD thresholds get no stream habitat from inheriting rules. Rule-level channel_width (the river-polygon bypass) is ignored. SK/KO lake rearing is based on polygon membership. fresh does not implement bcfishpass's stream_order >= 8 spawning bypass, which is worth knowing when comparing against bcfishpass for mad groups.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions