rossyndicate / nps_water_vulnerability

Workflow for the NPS climate change vulnerability assessment – security of park water supplies.
1 stars 3 forks source link

Updates to Generic_CCVA data processing RMD and get_koppen function #59

Closed KECognac closed 2 months ago

KECognac commented 2 months ago

Hey @kathryn-willi and @ccmothes ,

I'm attempting to right yesterday's **wrong** with a pull request that includes the following changes to NPS project scripts:
  1. Generic_CCVA.rmd (which I should probably rename to Generic_CCVA_data_processing.rmd) - I cleaned / improved the stats section. It now calculates stats for each of the selected scenarios (i.e., historical, hot dry, hot wet...). It also includes pre-made monthly, seasonal, and annual stats dataframes that can each be easily summarized. I also added example maps, tables, and timeseries plots to show how data processing outputs can theoretically be used in a downstream .RMD report.
  1. get_koppen.R - I updated the source for Koppen climate rasters. Previoiusly it used the Beck et al. (2023) files. Now, it uses the Beck et al. (2018). files that Amber actually used. This fixes issues regarding the different number of Koppen centroids that were identified for parks as we discussed last week.

Thanks for bearing with me while I get a handle on this git workflow. Don't hesitate to reach out if you have any questions.

-Kristen

ccmothes commented 2 months ago

One more thing I just realized (which we could address later) is the naming of the generic reports to specify one is for processing and the other generates the report. I think the one in this PR should be named 'generic_ccva_processing.Rmd' and the one I'm going to draft up will be 'generic_ccva_report.Rmd' or something like that.