This is the code for the University of Edinburgh's Environmental Geography module, for second year undergraduates. It will cover:
- Regional mapping with remote sensing data
- Know how to “upscale” ground data in R and QGIS
- Plan ground data collection
- Accuracy quantification to assess suitability for applications
Code is primarily in R, with some preparation scripts in Python.
The suggested workflow to combine diameter at breast height (DBH) data with airborne laser scanning derived digital surface models (DSMs) and digital terrain models (DTMs) to map biomass. This combines the scripts used during all three weeks.
- Process ground data to above-ground biomass density with processGround.R
- Add coordinates to ground data with addCoords.R
- Batch process lidar tiles to CHMs with batchCHM.R
- Merge CHM tiles to single geotiff mergeCHM.R
- Make table of biomass and CHM with alignData.R
- Fit a biomass model calibrateBiomass.R
- Apply biomass model to CHM and write geotiff mapBiomass.R
- Validate, after pre-processing the validation data, with validate.R
This contains code for potential answers for the first week of this part of the course (teaching week 7).
This contains code for potential answers for the second week of this part of the course (teaching week 8).
This contains code for potential answers for the second week of this part of the course (teaching week 11).
This contains code to generate the data used in the course.
Steven Hancock: sthancock steven.hancock@ed.ac.uk
Gnu Public License