DOI: 10.16904/envidat.91
title: EndSplit

description: R scripts and demonstration data for end-member mixing and splitting: using isotopes and other tracers to determine where streamflow comes from (end-member mixing) and where precipitation goes (end-member splitting).
 This package includes two R scripts: 
"EndSplit_v1.0_20200516.R" implements end-member mixing and splitting. 
"EndSplit_demo_v1.0_20200516.R" demonstrates the application of EndSplit to the Hubbard Brook Watershed 3 isotope data set (see below).
Both of these scripts are copyright (C) 2020 ETH Zurich and James Kirchner. Public use is permitted under GNU General Public License 3 (GPL3); for details see https://www.gnu.org/licenses/
But… READ THIS CAREFULLY:
ETH Zurich and James Kirchner make ABSOLUTELY NO WARRANTIES OF ANY KIND, including NO WARRANTIES, expressed or implied, that this software is free of errors or is suitable for any particular purpose. Users are solely responsible for determining the suitability and reliability of this software for their own purposes.
These scripts implement end-member mixing and end-member splitting, as described in Kirchner and Allen, "Seasonal partitioning of precipitation between streamflow and evapotranspiration, inferred from end-member splitting analysis", Hydrology and Earth System Sciences, 24, 17-39, https://doi.org/10.5194/hess-24-17-2020, 2020. Users publishing results based on these scripts should cite that paper.
Build 2020.05.16 is a minor bug fix of build 2019.10.25, which was previously released as EndSplit_v1.0_20191025.R.
 The zip file "demonstration input data.zip" contains 8 demonstration data files (all tab-delimited text): 
"Hubbard Brook WS3 isotope data split by sampling date.txt" contains streamflow and precipitation isotope data from Hubbard Brook Watershed 3 isotope data (Campbell and Green, 2019).
"Hubbard Brook WS3 daily P and Q 1956-2014.txt" contains daily precipitation and streamflow totals for Hubbard Brook Watershed 3. (USDA Forest Service Northern Research Station, 2016a and 2016b).
"Hubbard Brook WS3 isotope data WY2007.txt", "Hubbard Brook WS3 isotope data WY2008.txt", "Hubbard Brook WS3 isotope data WY2009.txt", "Hubbard Brook WS3 daily P and Q WY2007.txt", "Hubbard Brook WS3 daily P and Q WY2008.txt", and "Hubbard Brook WS3 daily P and Q WY2009.txt" contain subsets of these data for the designated water years. 
As the work product of US federal employees, the data in these files are in the public domain. However, any users of these data should cite the original sources:
Campbell, J. L., and Green, M. B.: Water isotope samples from Watershed 3 at Hubbard Brook Experimental Forest, 2006-2010, https://doi.org/10.6073/pasta/f5740876b68ec42b695c39d8ad790cee, 2019.
USDA Forest Service Northern Research Station: Hubbard Brook Experimental Forest (US Forest Service): Daily Streamflow by Watershed, 1956 - present, https://doi.org/10.6073/pasta/38b11ee7531f6467bf59b6f7a4d9012b, 2016a.
USDA Forest Service Northern Research Station: Hubbard Brook Experimental Forest (US Forest Service): Total Daily Precipitation by Watershed, 1956 - present, https://doi.org/10.6073/pasta/163e416fb108862dc6eb857360fa9c90, 2016b.
 The zip file "demonstration output files.zip" contains demonstration output files 
These tab-delimited text files were generated by running EndSplit_demo_v1.0_20200516.R (which in turn calls EndSplit_v1.0_20200516.R) under R version 3.6.0, using the input files contained in "demonstration input data.zip"
description: Resource Title: EndSplit version 1.0 build 2020.05.16
 Size: 18979 bytes
 Format: .r
 URL: https://www.envidat.ch/dataset/b12fafab-7730-4648-a8bc-6afb1944bf3b/resource/bdc05c4b-dd74-4868-b1fb-08cb26107158/download/endsplit_v1.0_20200516.r
 Description: EndSplit_v1.0_20200516.R implements end-member mixing and splitting.

This script is copyright (C) 2020 ETH Zurich and James Kirchner. Public use is permitted under GNU General Public License 3 (GPL3); for details see https://www.gnu.org/licenses/

But… READ THIS CAREFULLY:
ETH Zurich and James Kirchner make ABSOLUTELY NO WARRANTIES OF ANY KIND, including NO WARRANTIES, expressed or implied, that this software is free of errors or is suitable for any particular purpose. Users are solely responsible for determining the suitability and reliability of this software for their own purposes.

This script implements end-member mixing and end-member splitting, as described in Kirchner and Allen, "Seasonal partitioning of precipitation between streamflow and evapotranspiration, inferred from end-member splitting analysis", Hydrology and Earth System Sciences, 24, 17-39, https://doi.org/10.5194/hess-24-17-2020, 2020. Users publishing results based on these scripts should cite that paper.
description: Resource Title: EndSplit_demo version 1.0 build 2020.05.16
 Size: 14802 bytes
 Format: .r
 URL: https://www.envidat.ch/dataset/b12fafab-7730-4648-a8bc-6afb1944bf3b/resource/19e05849-5bd7-4d0e-9c90-98f9f2d78435/download/endsplit_demo_v1.0_20200516.r
 Description: EndSplit_demo_v1.0_20200516.R demonstrates the application of EndSplit to the Hubbard Brook Watershed 3 isotope data set. It calls EndSplit_v1.0_20200516.R.

Both of these scripts are copyright (C) 2020 ETH Zurich and James Kirchner. Public use is permitted under GNU General Public License 3 (GPL3); for details see https://www.gnu.org/licenses/

But… READ THIS CAREFULLY:
ETH Zurich and James Kirchner make ABSOLUTELY NO WARRANTIES OF ANY KIND, including NO WARRANTIES, expressed or implied, that this software is free of errors or is suitable for any particular purpose. Users are solely responsible for determining the suitability and reliability of this software for their own purposes.

These scripts implement end-member mixing and end-member splitting, as described in Kirchner and Allen, "Seasonal partitioning of precipitation between streamflow and evapotranspiration, inferred from end-member splitting analysis", Hydrology and Earth System Sciences, 24, 17-39, https://doi.org/10.5194/hess-24-17-2020, 2020. Users publishing results based on these scripts should cite that paper.
description: Resource Title: demonstration input data
 Size: 387131 bytes
 Format: application/zip
 URL: https://www.envidat.ch/dataset/b12fafab-7730-4648-a8bc-6afb1944bf3b/resource/00207c87-63c7-4c9d-86c9-4873bf699035/download/demonstration-input-data.zip
 Description: # The zip file "demonstration input data.zip" contains 8 demonstration data files (all tab-delimited text): #

"Hubbard Brook WS3 isotope data split by sampling date.txt" contains streamflow and precipitation isotope data from Hubbard Brook Watershed 3 isotope data (Campbell and Green, 2019).

"Hubbard Brook WS3 daily P and Q 1956-2014.txt" contains daily precipitation and streamflow totals for Hubbard Brook Watershed 3. (USDA Forest Service Northern Research Station, 2016a and 2016b).

"Hubbard Brook WS3 isotope data WY2007.txt", "Hubbard Brook WS3 isotope data WY2008.txt", "Hubbard Brook WS3 isotope data WY2009.txt", "Hubbard Brook WS3 daily P and Q WY2007.txt", "Hubbard Brook WS3 daily P and Q WY2008.txt", and "Hubbard Brook WS3 daily P and Q WY2009.txt" contain subsets of these data for the designated water years. 

As the work product of US federal employees, the data in these files are in the public domain. However, any users of these data should cite the original sources:

Campbell, J. L., and Green, M. B.: Water isotope samples from Watershed 3 at Hubbard Brook Experimental Forest, 2006-2010, https://doi.org/10.6073/pasta/f5740876b68ec42b695c39d8ad790cee, 2019.

USDA Forest Service Northern Research Station: Hubbard Brook Experimental Forest (US Forest Service): Daily Streamflow by Watershed, 1956 - present, https://doi.org/10.6073/pasta/38b11ee7531f6467bf59b6f7a4d9012b, 2016a.

USDA Forest Service Northern Research Station: Hubbard Brook Experimental Forest (US Forest Service): Total Daily Precipitation by Watershed, 1956 - present, https://doi.org/10.6073/pasta/163e416fb108862dc6eb857360fa9c90, 2016b.
description: Resource Title: demonstration output files
 Size: 14152 bytes
 Format: application/zip
 URL: https://www.envidat.ch/dataset/b12fafab-7730-4648-a8bc-6afb1944bf3b/resource/02360e0a-ceec-4bc8-968e-1b17a5a7ad1e/download/demonstration-output-files.zip
 Description: These tab-delimited text files were generated by running EndSplit_demo_v1.0_20200516.R (which in turn calls EndSplit_v1.0_20200516.R) under R version 3.6.0, using the input files contained in "demonstration input data.zip"