Skip to content

Supporting code for Johnston et al. "Quantifying the effect of precipitation on landslide hazard in urbanized and non-urbanized areas" published in Geophysical Research Letters

License

Notifications You must be signed in to change notification settings

ec-johnston/2021GL094038

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supporting code for "Quantifying the effect of precipitation on landslide hazard in urbanized and non-urbanized areas" (https://doi.org/10.1029/2021GL094038)

Elizabeth Johnston (1), Frances Davenport (1), Lijing Wang (2), Jef Caers (2,3), Suresh Muthukrishnan (4,5), Marshall Burke (1,6,7) and Noah Diffenbaugh (1,8)

  1. Department of Earth System Science, Stanford University, Stanford, CA 94305
  2. Department of Geological Sciences, Stanford University, Stanford, CA 94305
  3. Institute for Human-Centered Artificial Intelligence, Stanford University, Stanford, CA 94305
  4. Department of Earth, Environmental, and Sustainability Sciences, Furman University, Greenville, SC 29613
  5. GIS and Remote Sensing Center, Furman University, Greenville, SC 29613
  6. Center on Food Security and the Environment, Stanford University, Stanford, CA 94305
  7. Environment and Energy Economics, National Bureau of Economic Research, Cambridge, MA 02138
  8. Woods Institute for the Environment, Stanford University, Stanford, CA 94305

Corresponding author: Elizabeth C. Johnston (ecj@stanford.edu)

Raw datasets are available from the following locations:

Organization of Repository

  • data: post-processed data
  • scripts: code for data processing and analysis
  • results: regression coefficients

scripts

  • func.R: defines functions used throughout data processing
  • calc-cumulative-precip.R: calculates ten-day and thirty-day precipitation accumulation
  • calc-slope.R: calculates slope from a digital elevation model (DEM)
  • buffer-rural.R: subdivides rural areas based on proximity to urbanized areas and urban clusters
  • panel-regression-models.R: defines panel regression models
  • bootstrap-models.R: bootstraps regression models

data

Reduced data for the US Pacific Coast region at 4 km spatial resolution (regional daily-scale precipitation data not included due to size):

  • pacific_coast_df.rds: dataframe of x/y coordinates within the Pacific Coast region at 4 km resolution
  • pacific_coast.asc: raster layer of the Pacific Coast region at 4 km resolution
  • bay_area_df.rds: dataframe of x/y coordinates of coastal San Francisco counties of Marin, San Francisco, San Mateo, and Santa Cruz
  • land_use.rds: land use designation into urbanized (>50,000 people), urban cluster (2,500 – 50,000 people), and rural (<2,500 people)
  • land_use_subdiv.rds: land use classification with rural areas subdivided based on proximity to urban footprint
  • slope.rds: slope (in radians)
  • landslides.rds: all precipitation-triggered landslides reported by COOLR
  • landslides_precip.rds: one-day, ten-day, and thirty-day precipitation accumulation preceding observed landslides

results

Bootstrapped coefficients from panel regression models

R Packages Used

  • tidyverse, raster, rgdal, zoo, ncdf4, data.table, lfe

About

Supporting code for Johnston et al. "Quantifying the effect of precipitation on landslide hazard in urbanized and non-urbanized areas" published in Geophysical Research Letters

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages