Skip to content

this is a repo for code and data for SSSAJ manuscript Estimates of soil taxonomic change due to near-surface permafrost loss in Alaska, article doi: 10.1002/saj2.20729

License

Notifications You must be signed in to change notification settings

jelinski-lab-pedology/M007-jelinski-gelisol-change-ak.10.1002-saj2.20729

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M007-jelinski-gelisol-classification-change

This repository is adapted from jelinski lab project repos which follows our lab-specific open science guide procedures [https://jelinski-lab-pedology.github.io/open-science-guidebook/].

Repo directory and subdirectory structure

  • ./M007-jelinski-gelisol-classification-change
    • 00A_master_script_raw_data.R
    • 00B_master_script_execute_cache.R
    • /01-data
      • this is currently empty; see below
    • /02-output
      • /a-figures
      • /b-tables
    • /06-cache
    • A00_prep_workspace.R
    • A01a_process-baseline-geospatial-data-CACHE.R
    • A01b_process-baseline-geospatial-data.R
    • A02_MLRA-LRR_readin_overlays.R
    • A03_MakePastickMasks.R
    • A04_crop-MLRA-LRR-soil-domain-figure-overlay.R
    • A05a_read_in_PF_baseline_data-CACHE.R
    • A05b_read_in_PF_baseline_data.R
    • A06_preprocess_STATSGO-gNATSGO_tabular_data.R
    • A07_generate_STATSGO_spatial_data.R
    • A08_generate_gNATSGO_spatial_data.R
    • A09a_load_pastick_scenarios-CACHE.R
    • A09b_load_pastick_scenarios.R
    • A10_load_gipl_scenarios.R
    • A11a_load_aalto_scenarios-CACHE.R
    • A11b_load_aalto_scenarios.R
    • A12a_generate_all_scenarios-CACHE.R
    • A12b_generate_all_scenarios.R
    • A13_make_table_function_lrr.R
    • A14_make_lrr_general_stats_tables.R
    • B00_prep_workspace.R
    • B01_load_data_from_cache-CACHE.R
    • B02_load_pastick_scenarios-CACHE.R
    • B03_load_gipl_scenarios-CACHE.R
    • B04_load_aalto_scenarios-CACHE.R
    • B05_generate_all_scenarios-CACHE.R
    • B06_make_table_function_lrr.R
    • B07_make_lrr_general_stats_tables.R
    • F03_STATSGO_Gelisol_Order_Suborder.R
    • F04_NSP_probability_concurrence.R
    • F05-dumbbell-plots-by-LRR.R
    • F06_gelisol_scenarios.R
    • F07_histel_scenarios.R
    • F08_orthel_scenarios.R
    • F09_turbel_scenarios.R
    • FS1_baseline_figures.R
    • FS2-4_emissions_scenario_figures.R
    • FS6_domain_masks.R
    • FS8-28_survey_area_comparisons.R
    • [LICENSE]
    • [M007-jelinski-gelisol-classification-change.Rproj]
    • [README.md]

NOTE on scripts: There are two series of scripts (Series A and Series B) in this repository that each produce the same output figures and tables. Users should run either series A or series B. This can be accomplished by use of the master scripts "00A_master_script_raw_data.R" or "00B_master_script_execute_cache.R". Series A "00A_master_script_raw_data.R" is for running all steps starting with raw data sources (see below). Raw data sources are not made available as part of this release due to copyright and data ownership. Those interested in running this portion of the code will need to obtain the raw data from the original sources and/or authors as necessary. Series B "00B_master_script_execute_cache.R" is for running all steps starting with processed data products (derived from original data sources). These processed data products are derived from the raw data products produced in the "A" series scripts (described in 00A_master_script_raw_data), distributed with this package as .zip files, and extracted into the cache. Raw data sources are not made available as part of this release due to copyright and data ownership. Derived products are distributed as part of this release as a series of .zip files:

  • "./aalto.zip"
  • "./baseline.zip"
  • "./gipl.zip"
  • "./lrr_mlra.zip"
  • "./pastick.zip"
  • "./stat_gnat.zip"
  • "./yi_and_misc.zip" All of these must be unzipped (last step in B00_prep_workspace) before running the rest of the B series scripts. THEREFORE, nearly all users will utilize the B series scripts, unless they have obtained the necessary raw data sources.

/01-data

Raw data sources are not made available as part of this release due to copyright and data ownership. Those interested in running this portion of the code will need to obtain the raw data from the original sources and/or authors as necessary. If you have acquired the raw data sources, they should be placed in this "01-data" folder (currently empty in this release) as follows:

/02-output

This folder contains figures and tables or other products that are in the manuscript. Any figures and tables in /02-output are generated from code and source data.

/02-output/a-figures

Figures generated from workflow in R

/02-output/b-tables

Tables generated from workflow in R

/06-cache

These processed data products are derived from the raw data products in the "A" series scripts (described in 00A_master_script_raw_data). Raw data sources are not made available as part of this release due to copyright and data ownership. Derived products are distributed as part of this release as a series of .zip files:

  • "./aalto.zip"
  • "./baseline.zip"
  • "./gipl.zip"
  • "./lrr_mlra.zip"
  • "./pastick.zip"
  • "./stat_gnat.zip"
  • "./yi_and_misc.zip"

All of these must be unzipped (last step in B00_prep_workspace) and extracted to ./06-cache before running the rest of the B series scripts.

LICENSE

This is a standard open source license shipped with this template. I am choosing to use the MIT license currently, but this may not be the best choice12.

M007-jelinski-gelisol-classification-change.Rproj

The .Rproj file contained in this repository is pre-configured to start with a completely clean workspace EVERY TIME by selecting in Project Options > General "Restore .RData into workspace at startup" = NO and "Save workspace to .RData on exit" = NO, "Disable .Pprofile execution on session start/resume" = CHECKED, "Quit child processes on exit" = CHECKED. These two options combined will also ensure that others running this code (or even you at a later date) don't experience errors or conflictions due to workspace-specific background3.

README.md

This file.

Footnotes

  1. GitHub Docs::Licensing a Repository

  2. choosealicense.com::Choose an Open Source License

  3. Alex Douglas::Setting up a reproducible project in R

About

this is a repo for code and data for SSSAJ manuscript Estimates of soil taxonomic change due to near-surface permafrost loss in Alaska, article doi: 10.1002/saj2.20729

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages