{"accessLimitation":{"value":"noLimitations","description":"Access to the resource is not subject to any access limitations and is available to all users without restriction.","uri":"http://vocab.nerc.ac.uk/collection/N07/current/UNRS/"},"authors":[{"familyName":"Chrapkiewicz","givenName":"K.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"k.chrapkiewicz17@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0001-6949-9741","fullName":"Chrapkiewicz, K."},{"familyName":"Lipp","givenName":"A.","organisationName":"University of Oxford","organisationIdentifier":"https://ror.org/052gg0110","role":"author","email":"alexander.lipp@merton.ox.ac.uk","nameIdentifier":"https://orcid.org/0000-0003-2130-8576","fullName":"Lipp, A."},{"familyName":"Barron","givenName":"L.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"leon.barron@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0001-5986-3853","fullName":"Barron, L."},{"familyName":"Barnes","givenName":"R.","organisationName":"Lawrence Berkeley National Laboratory","organisationIdentifier":"https://ror.org/02jbv0t02","role":"author","email":"rijard.barnes@gmail.com","fullName":"Barnes, R."},{"familyName":"Roberts","givenName":"G.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"gareth.roberts@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0002-6487-8117","fullName":"Roberts, G."}],"availability":"Unknown","citation":{"authors":["Chrapkiewicz, K.","Lipp, A.","Barron, L.","Barnes, R.","Roberts, G."],"bibtex":"https://catalogue.ceh.ac.uk/documents/8ae3c419-611d-4bee-ad41-1c9081e79975/citation?format=bib","day":1,"doi":"10.5285/8ae3c419-611d-4bee-ad41-1c9081e79975","month":5,"publisher":"NERC EDS Environmental Information Data Centre","resourceTypeGeneral":"software","ris":"https://catalogue.ceh.ac.uk/documents/8ae3c419-611d-4bee-ad41-1c9081e79975/citation?format=ris","title":"Python code to identify sources of chemical pollutants in waterways","url":"https://doi.org/10.5285/8ae3c419-611d-4bee-ad41-1c9081e79975","year":2024},"custodians":[{"organisationName":"NERC EDS Environmental Information Data Centre","organisationIdentifier":"https://ror.org/04xw4m193","role":"custodian","email":"info@eidc.ac.uk"}],"datasetReferenceDate":{"publicationDate":"2024-05-01"},"description":"This resource contains python code to carry out source apportionment of chemicals in river water. Convex optimisation is used to efficiently apportion tracer and pollutant sources from point concentration observations. A minimum working example of the python code and the open-source framework used for the analysis is also provided. Chemical data collected in 2019-2020 along the River Wandle (Thames, UK) were used to test the code and example results are also included. \n\nThe code assumes conservative mixing and hence is likely to be best suited to assessing chronic sources of pollution (i.e., sources that are temporally invariant, or as near as, during the sampling campaign).","distributionFormats":[{"name":"Python","type":"text/plain","version":"unknown"},{"name":"Comma-separated values (CSV)","type":"text/csv","version":"unknown"},{"name":"NetCDF","type":"application/netcdf","version":"4"},{"name":"Portable Network Graphics (png)","type":"image/png","version":"unknown"},{"name":"yaml","type":"text/plain","version":"unknown"},{"name":"TIFF","type":"image/tiff","version":"unknown"}],"distributorContacts":[{"organisationName":"NERC EDS Environmental Information Data Centre","organisationIdentifier":"https://ror.org/04xw4m193","role":"distributor","email":"info@eidc.ac.uk"}],"funding":[{"funderName":"Natural Environment Research Council","funderIdentifier":"https://ror.org/02b5d8509","awardNumber":"NE/X010805/1","awardURI":"https://gtr.ukri.org/projects?ref=NE/X010805/1","orcid":false,"ror":true}],"id":"8ae3c419-611d-4bee-ad41-1c9081e79975","incomingCitationCount":0,"infoLinks":[{"url":"https://data-package.ceh.ac.uk/sd/8ae3c419-611d-4bee-ad41-1c9081e79975.zip","name":"Supporting information","description":"Supporting information available to assist in re-use of this dataset","function":"information","type":"OTHER"}],"inspireThemes":[{"theme":"Environmental Monitoring Facilities","uri":"http://inspire.ec.europa.eu/theme/ef"}],"keywordsOther":[{"value":"source apportionment"},{"value":"chemicals"},{"value":"environmental contaminant","uri":"http://vocabs.lter-europe.net/EnvThes/20895"},{"value":"pollutant","uri":"http://www.eionet.europa.eu/gemet/concept/6395"},{"value":"waterway","uri":"http://www.eionet.europa.eu/gemet/concept/9254"},{"value":"river","uri":"http://www.eionet.europa.eu/gemet/concept/7244"},{"value":"stream","uri":"http://vocabs.lter-europe.net/EnvThes/21796"}],"keywordsPlace":[{"value":"Thames"}],"keywordsTheme":[{"value":"Pollution","uri":"http://onto.nerc.ac.uk/CEHMD/topic/15"},{"value":"Hydrology","uri":"http://onto.nerc.ac.uk/CEHMD/topic/9"}],"licences":[{"value":"This resource is available under the terms of the Open Government Licence","code":"license","uri":"https://eidc.ac.uk/licences/ogl/plain"}],"lineage":"The code was developed as part of a six-month project funded via a NERC Exploring the Frontiers grant. K. Chrapkiewicz was the principal code developer with A. Lipp. We made use of existing models developed by co-investigators A. Lipp and R. Barnes. This work built upon the optimisation techniques developed by A. Lipp, G. Roberts and colleagues. The data inverted in this study were generated L Barron and colleagues (Egli et al., 2023). \n\nTo run the code please see the readme files that accompany this repository. Briefly, once the code is downloaded and installed a minimum working example can be run using > python examples/mwe.py. Examples of data and their associated formats are included with this repository. The raw chemical data are also included. Examples of outputs in the form of figures (.png format) are also included. With regards to quality assurance, a synthetic data inversion was conducted and an Analysis of Variance and an assessment of the uncertainties were also carried out. Further details are provided in the supporting documentation and cited papers.   ","metadataDate":"2026-06-27T18:38:30","notGEMINI":false,"onlineResources":[{"url":"https://data-package.ceh.ac.uk/data/8ae3c419-611d-4bee-ad41-1c9081e79975","name":"Download the data","description":"Download a copy of this data","function":"download","type":"OTHER"},{"url":"https://data-package.ceh.ac.uk/sd/8ae3c419-611d-4bee-ad41-1c9081e79975.zip","name":"Supporting information","description":"Supporting information available to assist in re-use of this dataset","function":"information","type":"OTHER"}],"pointsOfContact":[{"familyName":"Roberts","givenName":"Gareth","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"pointOfContact","email":"gareth.roberts@imperial.ac.uk","fullName":"Roberts, G.","pointOfContact":"Imperial College London"}],"publicationDate":"2024-05-01T00:00:00.000Z","publishers":[{"organisationName":"NERC EDS Environmental Information Data Centre","organisationIdentifier":"https://ror.org/04xw4m193","role":"publisher","email":"info@eidc.ac.uk"}],"resourceIdentifiers":[{"code":"https://catalogue.ceh.ac.uk/id/8ae3c419-611d-4bee-ad41-1c9081e79975"},{"code":"10.5285/8ae3c419-611d-4bee-ad41-1c9081e79975","codeSpace":"doi"}],"resourceType":{"value":"software"},"responsibleParties":[{"familyName":"Chrapkiewicz","givenName":"K.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"k.chrapkiewicz17@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0001-6949-9741","fullName":"Chrapkiewicz, K."},{"familyName":"Lipp","givenName":"A.","organisationName":"University of Oxford","organisationIdentifier":"https://ror.org/052gg0110","role":"author","email":"alexander.lipp@merton.ox.ac.uk","nameIdentifier":"https://orcid.org/0000-0003-2130-8576","fullName":"Lipp, A."},{"familyName":"Barron","givenName":"L.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"leon.barron@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0001-5986-3853","fullName":"Barron, L."},{"familyName":"Barnes","givenName":"R.","organisationName":"Lawrence Berkeley National Laboratory","organisationIdentifier":"https://ror.org/02jbv0t02","role":"author","email":"rijard.barnes@gmail.com","fullName":"Barnes, R."},{"familyName":"Roberts","givenName":"G.","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"author","email":"gareth.roberts@imperial.ac.uk","nameIdentifier":"https://orcid.org/0000-0002-6487-8117","fullName":"Roberts, G."},{"familyName":"Roberts","givenName":"Gareth","organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"pointOfContact","email":"gareth.roberts@imperial.ac.uk","fullName":"Roberts, G.","pointOfContact":"Imperial College London"},{"organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"rightsHolder","email":"gareth.roberts@imperial.ac.uk"},{"organisationName":"NERC EDS Environmental Information Data Centre","organisationIdentifier":"https://ror.org/04xw4m193","role":"publisher","email":"info@eidc.ac.uk"},{"organisationName":"NERC EDS Environmental Information Data Centre","organisationIdentifier":"https://ror.org/04xw4m193","role":"custodian","email":"info@eidc.ac.uk"}],"rightsHolders":[{"organisationName":"Imperial College London","organisationIdentifier":"https://ror.org/041kmwe10","role":"rightsHolder","email":"gareth.roberts@imperial.ac.uk"}],"supplemental":[{"name":"A One-Health environmental risk assessment of contaminants of emerging concern in London’s waterways throughout the SARS-CoV-2 pandemic","url":"https://doi.org/10.1016/j.envint.2023.108210","function":"relatedDataset"}],"title":"Python code to identify sources of chemical pollutants in waterways","topicCategories":[{"value":"environment","uri":"http://inspire.ec.europa.eu/metadata-codelist/TopicCategory/environment"}],"topics":["http://onto.nerc.ac.uk/CEHMD/topic/15","http://onto.nerc.ac.uk/CEHMD/topic/9"],"type":"software","uri":"https://catalogue.ceh.ac.uk/id/8ae3c419-611d-4bee-ad41-1c9081e79975","useConstraints":[{"value":"This resource is available under the terms of the Open Government Licence","code":"license","uri":"https://eidc.ac.uk/licences/ogl/plain"}]}