DOI: 10.5281/zenodo.4911185
title: Data and code for the publication "Tracing the horizontal transport of microplastics on rough surfaces"

description: <strong>Background</strong> The data set contains images of fluorescent PMMA (Polymethyl methacrylate) particles that are moved by water on rough surfaces in an irrigation experiment. The experiments were done in the laboratory at the Institute of Geography, University of Cologne, Germany, in Septembre 2020. The images were taken with an sCMOS (advanced scientific complementary metal-oxide-semiconductor) high resolution pco.panda 4.2 camera (PCO AG, Kehlheim, Germany). The data set was analysed in the publication: Laermanns, H., Lehmann, M., Klee, M., Löder, M.G.J., Gekle, S. and Bogner, C., 2021, “Tracing the horizontal transport of microplastics on rough surfaces,” Microplastics and Nanoplastics, https://doi.org/10.1186/s43591-021-00010-2 Additionally to the data, this collection of files contains the Python and R scripts/notebooks used to analyse the images and create graphics for the publication. The code for the simulation of flow patterns can be obtained from the authors upon request. <strong>Disclaimer</strong> The data and code are provided as is without any warranty. Experimental parameters Surface roughness: two levels, fine and course Inclination: 6 levels, 2.5°, 5°, 7.5°, 10°, 12.5° and 15° Irrigation: three levels, 4.8, 7.2 and 10.44 L/h Repetitions: three More details on the experimental setup are given in the publication. <strong>Description of the dataset</strong> The folder <strong>images.zip</strong> contains the images. They are organized as follows: <strong>Feinsand_10_Partikel</strong>: images of PMMA particles on the fine surface <strong>Grobsand_10_Partikel</strong>: images of PMMA particles on the rough surface Both folders contain six subfolders <strong>_XX_Grad_Gefaelle</strong>, XX being 2_5, 5, 7_5, 10, 12_5, 15. These folders refer to inclinations of 2.5°, 5°, 7.5°, 10°, 12.5° and 15° of the rough surfaces, respectively. every folder _XX_Grad_Gefaelle contains three subfolders <strong>Fliessgeschwindigkeit_YY</strong>, with YY being 20mlx4, 30mlx4 and 43_5mlx4, the parameters of the peristaltic pump, corresponding to irrigation rates of 4.8, 7.2 or 10.44 L/h, respectively. every folder Fliessgeschwindigkeit_YY contains three subfolders <strong>Z_Durchgang</strong> with Z being 1, 2 or 3 corresponding to the tree repetitions of the experiment. <strong>stained_flow_patterns</strong>: images of flow patterns of the fluorescent dye Nile Red (in methanol), an mp4 video and a text file with parameters to produce the video based on the images. The images were produced for the following experimental parameters: <strong>Feinsand_2_5_Grad_20_ml</strong>: fine surface, inclined by 2.5° and irrigated with 7.2 L/h <strong>Grobsand_7_5_Grad_20_ml</strong>: coarse surface, inclined by 7.5° and irrigated with 7.2 L/h The file <strong>experimental_data.csv</strong> links the concatenated folder names to experimental parameters. <strong>Description of the code</strong> The images were first processed in Python to locate the PMMA particles and calculate particle sizes. The Python code is located in the <strong>py_scripts.zip</strong> folder. It contains the following files: <strong>find_XYZ</strong>: locates PMMA particles. XYZ stands for different experimental parameters (see above). Scripts containing the string <strong>_problems</strong> locate PMMA particles for images with possible artefacts (smeared particles, residual light etc.). You need to uncomment the appropriate lines in the files to rerun the code because it was run piece by piece. <strong>pickle_to_csv.py</strong>: converts pickle files to csv files <strong>calculate_sizes.py</strong>: calculates the sizes of PMMA particles from the first image of each experiment <strong>py_functions_new.py</strong>: contains custom functions Further analysis run in a mixture of R and Pyhton in one working document (R Notebook): <strong>Analysis_with_loops.Rmd</strong>: tracking of the PMMA particles by PtrakPy version 0.4.2 (Allan et al. 2019). Python 3.8 (Python Software Foundation, https://www.python.org/) was called directly from R using the R package reticulate (https://rstudio.github.io/reticulate/) in RStudio (https://www.rstudio.com/). <strong>Analysis_for_paper.Rmd</strong>: R code for analysis of tracking, statistical analysis, plotting. We used the R version 4.0.3 (R Core Team 2020). <strong>helper_function.R</strong>: contains custom R functions for the analysis <strong>Results</strong> The file <strong>results.zip</strong> contains the folders: <strong>data</strong>: *.pickle files produced by Python containing the trajectories of PMMA particles <strong>data_csv</strong>: *.pickle files converted to *.csv files <strong>figures</strong>: figures produced by the code during the analysis, organized in different subfolders <strong>RData</strong>: large computational results produced and saved during analysis <strong>sizes_csv</strong>: *.csv files containing PMMA particle sizes and further morphological characteristics; produced during analysis <strong>Acknowledgements</strong> The authors thank Julia Horn for support in the laboratory and Florian Steininger for technical assistance. <strong>Funding</strong> This project was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), Project Number 391977956, SFB 1357, subprojects B04 and B06. <strong>References</strong> Allan, Dan, Casper van der Wel, Nathan Keim, Thomas A Caswell, Devin Wieker, Ruben Verweij, Chaz Reid, et al. 2019. <em>Soft-Matter/Trackpy: Trackpy V0.4.2</em> (version v0.4.2). Zenodo. https://doi.org/10.5281/zenodo.3492186. Laermanns, Hannes, Moritz Lehmann, Marcel Klee, Martin GJ Löder, Stephan Gekle, and Christina Bogner. 2021. “Tracing the Horizontal Transport of Microplastics on Rough Surfaces.” <em>Microplastics and Nanoplastics</em>. https://doi.org/10.1186/s43591-021-00010-2. R Core Team. 2020. <em>R: A Language and Environment for Statistical Computing</em>. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.