Skip to content

Predicting continental distribution of soil mercury concentration in Australia

License

Notifications You must be signed in to change notification settings

GlobalEcologyFlinders/AusSoilHg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicting continental distribution of soil mercury concentration in Australia

DOI predicted [Hg]

Professor Corey J. A. Bradshaw
Global Ecology | Partuyarta Ngadluku Wardli Kuu, Flinders University
e-mail

Team:

Aims

  • identify external and indirect determinants of mercury (Hg)
  • understand environmental conditions that influence mercury retention and mobility
  • predict continental distribution of soil mercury

Scripts

  • HgGH.R: all required R code combined

Most of these files are too large to store in this repository directly, so in most cases the links refer to the original repository URLs where you can download the datasets.

base

  • aus.shp: Australia boundary shapefile (zipped)

land use

vegetation

geology & geochemistry

water

  • HgPredSpatRFlog10.nc: This is the NetCDF file for the output map of Australia-wide Hg concentration (log10 values) predicted from the random forest model (resolution = 0.005° × 0.005° latitude/longitude ≈ 0.55 × 0.55 km ≈ 0.306 km2). Due to Github file-size constraints, we have broken the file into similar-sized chunks, and then compressed them using the fast, lossless compression algorithm zstd. First, decompress each .zst chunk using the following command in Terminal (or equivalent): zstd -d 'HgPredSpatRFlog10.nc_chunk_a*.zst', and then combine chunks a to i using the following Terminal (or equivalent) command: cat HgPredSpatRFlog10.nc_chunk_* > HgPredSpatRFlog10.nc. You can import the NetCDF file in R using the ncdf4 package and its function nc_open. This produces a ncdf4 object that can be converted to a SpatRaster object using the rast function in package terra.
  • HgPredSpatRF.nc: This is the NetCDF file for the output map of Australia-wide Hg concentration (back-transformed to linear values) predicted from the random forest model (resolution = 0.005° × 0.005° latitude/longitude ≈ 0.55 × 0.55 km ≈ 0.306 km2). Due to Github file-size constraints, we have broken the file into similar-sized chunks, and then compressed them using the fast, lossless compression algorithm zstd. First, decompress each .zst chunk using the following command in Terminal (or equivalent): zstd -d 'HgPredSpatRF.nc_chunk_a*.zst', and then combine chunks a to i using the following Terminal (or equivalent) command: cat HgPredSpatRF.nc_chunk_* > HgPredSpatRF.nc. You can import the NetCDF file in R using the ncdf4 package and its function nc_open. This produces a ncdf4 object that can be converted to a SpatRaster object using the rast function in package terra.

required R libraries

Flinders University logo   GEL logo     CIEHF logo     ANU logo     ANU logo

About

Predicting continental distribution of soil mercury concentration in Australia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%