1) My exploratory data workflow, "Exploring_Data_in_BRCA.Rmd" (before it gets too out of hand)! The first two thirds of the .Rmd is pulling in and munging all of the different data sets, including:
well levels at the water supply + water use
recreational visitor counts at BRCA
gridMET-based WBM variables for both the water supply’s watershed (columns suffixed with gridmet.wbm.ws) and the grid it falls within (suffixed with .gridmet.wbm.xy)
raw gridMET vars for both the water supply’s watershed (columns suffixed with gridmet.ws) and the grid the well falls within (suffixed with .gridmet.xy)
nearest noaa weather station data (.noaa)
nearby and also "reference"-quality USGS streamflow data ("usgs" and "mammothck")
USGS Gw data across three nearby wells ("nwell", "mwell", "swell")
The actual analyses don't start until line 615, after which I run the cross-correlation function across all variables as they relate to our well levels, and have provided some code to plot variables against each other or as time series.
2) Some fixes/updates to functions that previously existed. Of note are two functions that are NOT currently working...
Something super strange is happening with the get_gridMET() function, where it no longer accepts a user-supplied AOI as an argument in the function. Nor does it like having a vector of variables to iterate over. I have no idea why this is happening. @ccmothes could you explore what the issue might be if you have time?
-get_NWIS() also does not work for pulling anything besides stream flow data. This is fine for now but will need updating.
3) A new function for downloading park centroid climate data ('get_centroid_climate_data()and an in-development function for pulling in dayMET data (get_dayMET()`)
@KECognac , I'm sharing this PR with you in hopes you merge and start playing around with my Rmd. @ccmothes as mentioned above I could really use your help trying to figure out what the heck is going on with get_gridMET() - I've run out of ideas, and it might be a super easy fix with a fresh set of eyes on it. :)
This PR is adding in:
1) My exploratory data workflow, "Exploring_Data_in_BRCA.Rmd" (before it gets too out of hand)! The first two thirds of the .Rmd is pulling in and munging all of the different data sets, including:
The actual analyses don't start until line 615, after which I run the cross-correlation function across all variables as they relate to our well levels, and have provided some code to plot variables against each other or as time series.
2) Some fixes/updates to functions that previously existed. Of note are two functions that are NOT currently working...
get_gridMET()
function, where it no longer accepts a user-supplied AOI as an argument in the function. Nor does it like having a vector of variables to iterate over. I have no idea why this is happening. @ccmothes could you explore what the issue might be if you have time? -get_NWIS()
also does not work for pulling anything besides stream flow data. This is fine for now but will need updating.3) A new function for downloading park centroid climate data ('get_centroid_climate_data()
and an in-development function for pulling in dayMET data (
get_dayMET()`)@KECognac , I'm sharing this PR with you in hopes you merge and start playing around with my Rmd. @ccmothes as mentioned above I could really use your help trying to figure out what the heck is going on with
get_gridMET()
- I've run out of ideas, and it might be a super easy fix with a fresh set of eyes on it. :)Thanks in advance! Katie