https://github.com/cjabradshaw/aussoilhg

Predicting continental distribution of soil mercury concentration in Australia

https://github.com/cjabradshaw/aussoilhg

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: scholar.google, zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary

Keywords

arid-lands australia biogeochemical-cycle boosted-regression-trees machine-learning mercury pollution random-forest soil soil-chemistry spatial spatial-analysis
Last synced: 5 months ago · JSON representation

Repository

Predicting continental distribution of soil mercury concentration in Australia

Basic Info
  • Host: GitHub
  • Owner: cjabradshaw
  • License: mit
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 6.91 GB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 8
Topics
arid-lands australia biogeochemical-cycle boosted-regression-trees machine-learning mercury pollution random-forest soil soil-chemistry spatial spatial-analysis
Created about 1 year ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

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:
- Associate Professor Larissa Schneider, Australian National University - Adjunct Professor Patrice de Caritat, Curtin University - Professor Simon Haberle, Australian National University - James Taylor, Australian National University - Dr Olha Furman, Department of Climate Change, Energy, the Environment and Water, Commonwealth of Australia

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

Data

Sample point

  • geochem.csv: geochemical data (available at time of publication)
  • field.csv: sample point characteristics (available at time of publication)
  • hgTSID.csv: re-analysed [Hg] estimates (ng/g) (available at time of publication)
  • gs.csv: grain-size category percentages

Spatial

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
  • NLUMv7250ALUMV8202021alb.tif: land use of Australia 201011 to 202021 (download geotif raster from original site) #### vegetation
  • wwfterrecos.shp: WWF ecoregions shapefile (download zipped file from original site)
  • OzWALD.GPP.AnnualMeans.nc: vegetation carbon uptake (gross primary production) NetCDF (download from original site)
  • OzWALD.LAI.AnnualMeans.nc: leaf area index NetCDF (download from original site) #### geology, soil, & geochemistry
  • GeologicUnitPolygons1M.shp: 1:1,000,000 geological unit polygon shapefile (download zipped file from original site)
  • lithreclass.csv: reclassified lithology groups text file
  • radmapv42019filteredMLKThURGB_24bit.tif: potassium:thorium:uranium geotif raster (download data package from original site)
  • radmapv42019filteredMLppmTh32bitfloat_grid.tif: thorium ppm geotif raster (download data package from original site)
  • radmapv42019filteredMLppmU32bitfloat_grid.tif: uranium ppm geotif raster (download data package from original site)
  • radmapv42019filteredMLpctk32bitfloat_grid.tif: % potassium geotif raster (download data package from original site)
  • NTO000005EVNPAUNATC_20231101.tif: soil nitrogen (0-5 cm) geotif raster (download from original site)
  • PTO000005EVNPAUNATC_20231101.tif: soil phosphorus (0-5 cm) geotif raster (download from original site)
  • pHc000005EVNPAUNATC_20140801.tif: soil pH (0-5 cm) geotif raster (download from original site)
  • CLY000005EVNPAUTRNN_20210902.tif: % soil clay content geotif raster (download from original site)
  • SLT000005EVNPAUTRNN_20210902.tif: % soil silt content geotif raster (download from original site)
  • ferric2rsmp.rds: principal component 2 of blue, red, NIR, SWIR1 from the enhanced barest Earth (proxy for soil categories on continuous scale) (based on Loughin 1991); layer pre-prepared for appropriate projection and clipped area. Due to Github file-size constraints, this is the resampled .rds file (ferric2.rsmp) indicated in the script. 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 'ferric2rsmpchunk*.zst', and then combine chunks a to h using the following Terminal (or equivalent) command: cat ferric2rsmpchunk > ferric2rsmp.rds (individual .zst files are in .../data/spatial/barest earth/ferricPC2/ in this repository). Once chunks are recombined, import the .rds file in R with this code: ferric2.rsmp <- readRDS(ferric2rsmp.rds)
  • ferric4rsmp.rds: principal component 4 of blue, red, NIR, SWIR1 from the enhanced barest Earth (proxy for soil categories on continuous scale) (based on Loughin 1991); layer pre-prepared for appropriate projection and clipped area. Due to Github file-size constraints, this is the resampled .rds file (ferric4.rsmp) indicated in the script. 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 'ferric4rsmpchunk*.zst', and then combine chunks a to h using the following Terminal (or equivalent) command: cat ferric4rsmpchunk > ferric4rsmp.rds (individual .zst files are in .../data/spatial/barest earth/ferricPC4/ in this repository). Once chunks are recombined, import the .rds file in R with this code: ferric4.rsmp <- readRDS(ferric4rsmp.rds)
  • Aluminiumoxideprediction_median.tif: aluminium oxide (Al2O3)
  • Feox9473.tif: iron oxide (Fe2O3); pre-prepared for correct projection. 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 'Feox9473chunk*.zst', and then combine chunks aa to jg using the following Terminal (or equivalent) command: cat Feox9473chunk > Feox9473.tif (individual .zst files are in .../data/spatial/oxides/Fe/part1 ... part19 in this repository).
  • Pox9473.tif: phosphorus oxide (P2O5); pre-prepared for correct projection. 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 'Pox9473chunk*.zst', and then combine chunks aa to jg using the following Terminal (or equivalent) command: cat Pox9473chunk > Pox9473.tif (individual .zst files are in .../data/spatial/oxides/P/part1 ... part19 in this repository). #### water
  • OzWALD.annual.Pg.AnnualSums.nc: annual precipitation NetCDF (download from original site)
  • PrescottIndex013s_lzw.tif: Prescott index geotif raster (download from original site)
  • OzWALD.Ssoil.AnnualMeans.nc: soil water availability NetCDF (download from original site) ### Predicted (available at time of publication)
  • 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 km 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.ncchunka.zst', and then combine chunks a to i using the following Terminal (or equivalent) command: cat HgPredSpatRFlog10.ncchunk > 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 km 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.ncchunka.zst', and then combine chunks a to i using the following Terminal (or equivalent) command: cat HgPredSpatRF.ncchunk > 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

Owner

  • Name: Corey Bradshaw
  • Login: cjabradshaw
  • Kind: user
  • Location: Adelaide, South Australia
  • Company: Flinders University

Matthew Flinders Professor of Global Ecology @GlobalEcologyFlinders @CABAH

GitHub Events

Total
  • Release event: 8
  • Watch event: 1
  • Member event: 1
  • Push event: 179
  • Fork event: 2
  • Create event: 10
Last Year
  • Release event: 8
  • Watch event: 1
  • Member event: 1
  • Push event: 179
  • Fork event: 2
  • Create event: 10