{"title":"PAVLIB4SWAT:基于 Kepler.gl 的 Python 分析和可视化工具及库,用于 SWAT 模型","authors":"Qiaoying Lin, Dejian Zhang, Jiefeng Wu, Yihui Fang, Xingwei Chen, Bingqing Lin","doi":"10.2166/hydro.2023.182","DOIUrl":null,"url":null,"abstract":"<div><div data- reveal-group-><div><img alt=\"graphic\" data-src=\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\" path-from-xml=\"hydro-d-23-00182gf01.tif\" src=\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\"/><div>View largeDownload slide</div></div></div><div content- data-reveal=\"data-reveal\"><div><img alt=\"graphic\" data-src=\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\" path-from-xml=\"hydro-d-23-00182gf01.tif\" src=\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\"/><div>View largeDownload slide</div></div><i> </i><span>Close modal</span></div></div><p>The Soil and Water Assessment Tool (SWAT) has been widely applied to simulate the hydrological cycle, investigate cause-and-effect relationships, and aid decision-making for better watershed management. However, the software tools for model dataset analysis and visualization to support informed decision-making in a web environment are not considered fully fledged and are technically intensive to implement. This study focuses on addressing these issues by establishing a tool and library (named PAVLIB4SWAT) that can largely reduce technical expertise requirements for developers to adopt and customize this work to their own demands. Specifically, we created PAVLIB4SWAT based on a Kepler.gl widget to visualize SWAT model data, including shapefiles from the watershed delineation process, model inputs, and simulated results via dynamic and interactive maps. We evaluated PAVLIB4SWAT through a Jinjiang watershed SWAT model use case to demonstrate its utility and ease of adoption. The case study shows that PAVLIB4SWAT can provide various geospatial analysis and mapping functionalities for SWAT models and can flexibly distribute visualized results as standalone offline web pages and web servers. In addition, PAVLIB4SWAT was designed as an open-source project and implemented purely in the Python programming language; thus, developers can easily adapt and customize it to suit their demands.</p>","PeriodicalId":54801,"journal":{"name":"Journal of Hydroinformatics","volume":null,"pages":null},"PeriodicalIF":2.2000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"PAVLIB4SWAT: a Python analysis and visualization tool and library based on Kepler.gl for SWAT models\",\"authors\":\"Qiaoying Lin, Dejian Zhang, Jiefeng Wu, Yihui Fang, Xingwei Chen, Bingqing Lin\",\"doi\":\"10.2166/hydro.2023.182\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div data- reveal-group-><div><img alt=\\\"graphic\\\" data-src=\\\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\\\" path-from-xml=\\\"hydro-d-23-00182gf01.tif\\\" src=\\\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\\\"/><div>View largeDownload slide</div></div></div><div content- data-reveal=\\\"data-reveal\\\"><div><img alt=\\\"graphic\\\" data-src=\\\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\\\" path-from-xml=\\\"hydro-d-23-00182gf01.tif\\\" src=\\\"https://iwa.silverchair-cdn.com/iwa/content_public/journal/jh/26/1/10.2166_hydro.2023.182/1/m_hydro-d-23-00182gf01.png?Expires=1709841441&Signature=xMpA~wkS~~ifqqTv54V4piyxjUgUzcs~7OX5BsDb89KGB7W7tL4wLUV0fn5ZBvX6rHt0FyROAQwVfwYKc-vwiqnvNVEZybJDkM47NiOZWr2F7tRZUUq7AjEsvjPnQG-sEK57ediQeASVW3dalVMRUYV-2e2mOzBL3kteDIRy9tHCrZdWUyuzn2zyiDr8DgHWpbZA7EfsE9FDq1OlxKzYs4Ugvf2R9mFw-iNCyeDmJEkUz0Y8CZaqDKWQcKurJiQg1A23ZNglRXdo5mt1e8dYiW~zUDiIENBVf1sJujF6XCitsB33fhZmUgJHwuBhUkRBHiuQOG0LyXac89hEs~f~aA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA\\\"/><div>View largeDownload slide</div></div><i> </i><span>Close modal</span></div></div><p>The Soil and Water Assessment Tool (SWAT) has been widely applied to simulate the hydrological cycle, investigate cause-and-effect relationships, and aid decision-making for better watershed management. However, the software tools for model dataset analysis and visualization to support informed decision-making in a web environment are not considered fully fledged and are technically intensive to implement. This study focuses on addressing these issues by establishing a tool and library (named PAVLIB4SWAT) that can largely reduce technical expertise requirements for developers to adopt and customize this work to their own demands. Specifically, we created PAVLIB4SWAT based on a Kepler.gl widget to visualize SWAT model data, including shapefiles from the watershed delineation process, model inputs, and simulated results via dynamic and interactive maps. We evaluated PAVLIB4SWAT through a Jinjiang watershed SWAT model use case to demonstrate its utility and ease of adoption. The case study shows that PAVLIB4SWAT can provide various geospatial analysis and mapping functionalities for SWAT models and can flexibly distribute visualized results as standalone offline web pages and web servers. In addition, PAVLIB4SWAT was designed as an open-source project and implemented purely in the Python programming language; thus, developers can easily adapt and customize it to suit their demands.</p>\",\"PeriodicalId\":54801,\"journal\":{\"name\":\"Journal of Hydroinformatics\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":2.2000,\"publicationDate\":\"2024-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Hydroinformatics\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://doi.org/10.2166/hydro.2023.182\",\"RegionNum\":3,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Hydroinformatics","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.2166/hydro.2023.182","RegionNum":3,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
PAVLIB4SWAT: a Python analysis and visualization tool and library based on Kepler.gl for SWAT models
View largeDownload slide
View largeDownload slide
Close modal
The Soil and Water Assessment Tool (SWAT) has been widely applied to simulate the hydrological cycle, investigate cause-and-effect relationships, and aid decision-making for better watershed management. However, the software tools for model dataset analysis and visualization to support informed decision-making in a web environment are not considered fully fledged and are technically intensive to implement. This study focuses on addressing these issues by establishing a tool and library (named PAVLIB4SWAT) that can largely reduce technical expertise requirements for developers to adopt and customize this work to their own demands. Specifically, we created PAVLIB4SWAT based on a Kepler.gl widget to visualize SWAT model data, including shapefiles from the watershed delineation process, model inputs, and simulated results via dynamic and interactive maps. We evaluated PAVLIB4SWAT through a Jinjiang watershed SWAT model use case to demonstrate its utility and ease of adoption. The case study shows that PAVLIB4SWAT can provide various geospatial analysis and mapping functionalities for SWAT models and can flexibly distribute visualized results as standalone offline web pages and web servers. In addition, PAVLIB4SWAT was designed as an open-source project and implemented purely in the Python programming language; thus, developers can easily adapt and customize it to suit their demands.
期刊介绍:
Journal of Hydroinformatics is a peer-reviewed journal devoted to the application of information technology in the widest sense to problems of the aquatic environment. It promotes Hydroinformatics as a cross-disciplinary field of study, combining technological, human-sociological and more general environmental interests, including an ethical perspective.