Skip to content

ucsb-dreamlab/dibblee-Rscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Combine Dibblee maps with R

R-based workflow for scaling, cropping and combining GeoTIFF's from the Dibblee map collection.

Workflow

  1. Generate cropped/scaled versions of maps in data/: ./crop_all.sh
  2. Create combined map: Rscript combine.R

Directory Structure

  • data/ - Source GeoTIFF files (.tif) and coordinate files (.tif.txt)
  • output/ - Intermediate processed files (scaled and cropped .tif files)
  • images/ - Final visualization outputs (.png files)

Scripts

  • cop_all.sh - Batch processes all GeoTIFF files in the data directory
  • crop.R - Individual file processing (scaling, polygon cropping)
  • combine.R - Combines multiple rasters into a single visualization
  • plot.R - Creates individual plots for single GeoTIFF files

Requirements

  • R with packages: terra, sf, ggplot2, maps, terrainr
  • Input data: GeoTIFF files with corresponding .txt coordinate files

About

Combine Dibblee maps with R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published