Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shiny, assign index class, more checks #75

Open
leppott opened this issue Jun 6, 2023 · 6 comments
Open

Shiny, assign index class, more checks #75

leppott opened this issue Jun 6, 2023 · 6 comments

Comments

@leppott
Copy link
Owner

leppott commented Jun 6, 2023

Is your feature request related to a problem? Please describe.
More checks on station in the assign index class file builder function in Shiny.

  • Level 3 ecoregion check. flag sites outside these ecoregions: Coast Range, Puget Lowland, Willamette Valley, Cascades, and North Cascades.
  • Xeric region check. Flag sites with mean annual precipitation < 650 mm (based on StreamCat PRISM 1981-2010 local catchment scale data)
  • ICI/IWI. No flags for now. Just something I’ll want to plot to check anomalous results (samples that have BCG outputs better or worse than expected based on ICI and IWI scores)

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Not sure if have the information to compare or will need to generate.

@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

Only require SiteID, elev_m, and pslopeNHD.

With a GIS layer can assign Level 3 ecoregion in the get parameters section.

Annual precip will need to get info from StreamCat.

Not sure where ICI and IWI info is obtained.

@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

Level III ecoregions
1 = Coastal Range
2 = Puget Lowlands
3 = Willamette Valley
4 = Cascades
77 = North Cascades

@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

StreamCat PRISM 1981-2010 local catchment scale data

FINAL_TABLE = PRISM_1981_2010
METRIC_NAME = Precip8110[AOI] (units are mm)

@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

ICI and IWI also available using StreamCatTools

@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

Ecoregion would need to extract from a shapefile using provided lat-longs.

leppott added a commit that referenced this issue Jun 6, 2023
* fix: MetricFlags.xlsx 'pctSLOPE' to 'pslope_nhd'
    + Align with index class assignment
    + Add PRECIP8110CAT for BCG_MariNW_Bugs500ct (all classes)
* refactor: Add more StreamCat variables to get index parameters, Issue #75
    + PRECIP8110CAT
    + ICI
    + IWI
@leppott
Copy link
Owner Author

leppott commented Jun 6, 2023

Only ecoregion left to implement.

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

No branches or pull requests

1 participant