count_watershed_teleconnections

count_watershed_teleconnections(
  data_dir,
  cities = NULL,
  run_all = TRUE,
  file_paths = c(watersheds = "water/CWM_v2_2/World_Watershed8.shp", withdrawal =
    "water/CWM_v2_2/Snapped_Withdrawal_Points.shp", citypoint =
    "water/CWM_v2_2/City_Centroid.shp", powerplants =
    "water/UCS-EW3-Energy-Water-Database.xlsx", crop =
    "land/2016_90m_cdls/cdl_lowres_usa.img", crop_attributes =
    "land/2016_90m_cdls/cdl_lowres_usa.img.vat.dbf", irrigation =
    "land/Version2_USA_Demeter.csv", nlud = "land/usa_nlud_LR.tif", hydro =
    "energy/ORNL_EHAHydroPlant_FY2020revised.xlsx", transfers =
    "water/transfers/USIBTsHUC6_Dickson.shp",      climate =
    "land/kop_climate_classes.tif", HUC4 = "water/USA_HUC4/huc4_to_huc2.shp", population
    = "land/pden2010_60m.tif", runoff = "water/UWSCatCH/USA_Mean_Runoff.tif", nhd_flow =
    "water/UWSCatCH/UWSCatCH_Intake_Flows.shp", contributions =
    "water/UWSCatCH/Watershed_Contributions.csv")
)

Arguments

data_dir

root directory for the spatial data ("/pic/projects/im3/teleconnections/data/")

cities

a vector of cities to be included in the count. If omitted, all cities will be included.

run_all

to be deprecated. Runs current configuration.

file_paths

file paths to all geospatial input datasets

Details

counts teleconnections associated with water supply catchments associated with each city