DOI: 10.5061/dryad.n5tb2rbwz
title: Estimating historic N- and S-deposition with publicly available data – An example from Central Germany

description: The deposition of reactive nitrogen and sulphur has profound effects on
 ecosystem functioning. In the last decades, monitoring networks providing
 high resolution spatio-temporal deposition estimates have been set up, but
 equivalent information on historic deposition is mostly missing. However,
 understanding vegetation change and mitigate future loss of biodiversity
 and ecosystem functioning is only possible evaluating the effects of its
 strongest drivers, which includes deposition in many ecosystems. Here, we
 combine different data sources to provide estimates of historic deposition
 in forested ecosystems on a high spatio-temporal scale for a federal state
 in Central Germany from 1880 to present. We make use of data from field
 measurement stations together with elevation and precipitation data from
 the last three decades to build a simple deposition model, validate this
 model with a model publicly available covering the time range from 2000 to
 present, and extrapolate deposition from this joint model to the past
 using European deposition trends from the last 150 years. Our approach can
 easily be adapted to other data and spatial areas shows how to use raw
 deposition data together with publicly available data on elevation and
 precipitation to construct simple deposition models covering recent and
 historic times in areas and for times for which no data are available.
description: Data on European emission and deposition trends was collected
 from several studies mentioned in the original publication using the
 digitize R-package which allows for the conversion of graphical data to
 numeric values.<br> <br> The FFK data were received and
 uploaded with the permission of the Forstliches Forschungs- und
 Kompetenzzentrum (FFK Gotha), a department of the Thuringia forestry
 department.<br> <br> The UBA data are publicly available upon
 request from the Umweltbundesamt, the federal Environmental Agency from
 Germany. Rainfall data were retrieved from Climatology Lab
 (http://www.climatologylab.org/terraclimate.html) and CRU.
 Elevation data was retrieved from ASTER GDEM, a product of METI
 and NASA.
description: This publication contains all necessary scripts and data to
 perform similar calculations as in the study "Estimating historic N- and S-deposition
 with publicly available data – An example from Central
 Germany". They are listed in Table 2
 of the original publication and consist of script files of the R
 programing language (*.R), files containing data needed for calculation in
 different formats (*.RData), (*.KML), (*.TIF), and files containing model
 output data in R raster format (*.GRI/GRD) and netcdf format
 (*.NC). We describe the files in detail
 below.   Filename File type Description 
 Estimate canopy exchange.R
 R script file Calculate differences between UBA and FFK
 models to estimate canopy exchange and integrate results into European
 trend lines 
 Combine models and add European
 trend data.R R script
 file extrapolate
 spatio-temporal predictions from deposition models into the past using
 trendlines 
 Create a deposition model from FFK
 measurements.R R script
 file create a simple
 deposition model from measurement station data together with elevation and
 precipitation data Extract data for specific
 locations.R R script
 file extract deposition
 data for point coordinates from netcdf or raster brick data
 files 
 Extract Thuringia data from UBA
 model.R R script
 file extract deposition
 data of Thuringia from whole Germany UBA model 
 Prepare European trend data.R
 R script file join deposition data from several sources
 and create trendlines rsquaredcalculation.R R script file marginal and conditional
 R<sup>2</sup> for generalized mixed-effect models*
 image plot
 color scale.R R script
 file draw a color scale
 next to an image plot* datFFK.RData R data file dataset to use with script to create a
 model from FFK data European deposition and emission
 data.Rdata R data
 file deposition and
 emission data from several sources ppt_Climatology lab.RData
 R data file precipitation data from Thuringia from
 1960 to 2018 prec_Chelsa.RData R data file precipitation data from Thuringia from
 1950 to 2015 European deposition and emission
 trends.txt text
 file trendlines of
 deposition in Europe from 1850/80 to 2018 samplePoints.txt text file example of a file for point coordinate
 deposition data extraction Thueringen.tif geotiff file digital elevation model of
 Thuringia 
 Thueringen_border.kml
 Keyhole Markup Language
 file border coordinates
 of the German federal state of Thuringia FFK_[x].grd/gri R raster brick file deposition data from FFK model (x = Nges,
 NH4, NO3, SO4) UBA_[x].grd/gri R raster brick file deposition data from UBA model (x = N,
 NH4, NO3, SO4) [x]_grd/gri R raster brick file deposition data from joint model (x = N,
 NH4, NO3, SO4) deposition.nc netcdf file deposition data from joint
 model *these
 scripts are from other authors, which are acknowledged in the
 files