rossyndicate / nps_water_vulnerability

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

update/finalize function to pull 30 year WBM raster layers #63

Closed ccmothes closed 1 month ago

ccmothes commented 1 month ago

This PR just includes an updated version for the get30yearWBMGridMet.R function. I've added function documentation to the top that hopefully explains everything, and also have a commented out testing chunk at the bottom. Currently this will pull all rasters for a specified aoi (crops rasters to the aoi bbox for now), WBM variable(s) and GCMs (with a few other arguments if you want to change the defaults) and returns/saves a single .tif that is a raster stack of all rasters each with the associated GCM/year/variable name attributed to it.