Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manuscript updates #173

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified paper/figure_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added paper/figure_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 35 additions & 1 deletion paper/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ @inproceedings{mills2015introduction
author={Mills, Gerald and Ching, J and See, L and Bechtel, B and Foley, M},
booktitle={Proceedings of the 9th International Conference on Urban Climate, Toulouse, France},
pages={20--24},
year={2015}
year={2015},
url={https://www.wudapt.org/wp-content/uploads/2015/05/Mills_etal_ICUC9.pdf}
}
@article{ching2018wudapt,
title={WUDAPT: An urban weather, climate, and environmental modeling infrastructure for the anthropocene},
Expand Down Expand Up @@ -105,3 +106,36 @@ @software{kelsey_jordahl_2020_3946761
doi = {10.5281/zenodo.3946761},
url = {https://doi.org/10.5281/zenodo.3946761}
}

@article{best2006progress,
title={Progress towards better weather forecasts for city dwellers: from short range to climate change},
author={Best, MJ},
journal={Theoretical and Applied Climatology},
volume={84},
pages={47--55},
year={2006},
publisher={Springer},
doi={10.1007/s00704-005-0143-2},
url={https://doi.org/10.1007/s00704-005-0143-2}
}

@article{wong2019evaluation,
title={Evaluation of uWRF performance and modeling guidance based on WUDAPT and NUDAPT UCP datasets for Hong Kong},
author={Wong, Michael Mau Fung and Fung, Jimmy Chi Hung and Ching, Jason and Yeung, Peter Pak Shing and Tse, Jason Wai Po and Ren, Chao and Wang, Ran and Cai, Meng},
journal={Urban Climate},
volume={28},
pages={100460},
year={2019},
publisher={Elsevier},
doi={10.1016/j.uclim.2019.100460},
url={https://doi.org/10.1016/j.uclim.2019.100460}
}

@software{modelamerica,
title={Model America: Data and Models for every U.S. Building},
author={New, Joshua and Bass, Brett and Berres, Andy and Clinton, Nicholas and Adams, Mark and Li, Fengqi and Stubbings, Avery and Chowdhury, Shovan},
year={2021},
publisher={ESS-DIVE repository},
doi={10.15485/2283980},
url={https://data.ess-dive.lbl.gov/datasets/doi:10.15485/2283980}
}
16 changes: 9 additions & 7 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,21 @@ bibliography: paper.bib
---

# Summary
The Neighborhood Adaptive Tissues for Urban Resilience Futures tool (NATURF) is a Python workflow that generates files readable by the Weather Research and Forecasting (WRF) model. NATURF uses *geopandas* [@kelsey_jordahl_2020_3946761] and *hamilton* [@DBLP:conf/vldb/KrawczykI22] to calculate 132 building parameters from shapefiles with building footprint and height information. These parameters can be collected and used in many formats, and the primary output is a binary file configured for input to WRF. This workflow is a flexible adaptation of the National/World Urban Database and Access Portal Tool (NUDAPT/WUDAPT)[@ching2009national; @mills2015introduction] that can be used with any study area at any spatial resolution. The climate modeling community and urban planners can identify the effects of building/neighborhood morphology on the microclimate using the urban parameters and WRF-readable files produced by NATURF. The source code for NATURF can be found on [GitHub](https://github.com/IMMM-SFA/naturf/tree/main), and more information on the urban parameters calculated can be found in the [documentation](https://immm-sfa.github.io/naturf/).
The Neighborhood Adaptive Tissues for Urban Resilience Futures tool (NATURF) is a Python workflow that generates files readable by the Weather Research and Forecasting (WRF) model. NATURF uses *geopandas* [@kelsey_jordahl_2020_3946761] and *hamilton* [@DBLP:conf/vldb/KrawczykI22] to calculate 132 building parameters from shapefiles with building footprint and height information. These parameters can be collected and used in many formats, and the primary output is a binary file configured for input to WRF. This workflow is a flexible adaptation of the National/World Urban Database and Access Portal Tool (NUDAPT/WUDAPT)[@ching2009national; @mills2015introduction] that can be used with any study area at any spatial resolution. The climate modeling community and urban planners can identify the effects of building/neighborhood morphology on the microclimate using the urban parameters and WRF-readable files produced by NATURF. More information on the urban parameters calculated can be found in the [documentation](https://immm-sfa.github.io/naturf/).

# Statement of Need
NATURF serves many audiences: (i) urban climate modelers wanting to understand building effects on the urban microclimate at a fine scale, (ii) urban planners creating new developments, (iii) sociologists aiming to understand weather-based inequalities and stresses. A preliminary version of NATURF was used to calculate urban parameters and demonstrate that simulated new developments in the Chicago Loop neighborhood in Chicago Illinois, USA affect temperature and energy use both in the new developments and the preexisting neighborhoods [@allen2020impacts]. Their findings show that building effects on the microclimate can be modeled at 90m resolution, and they quantify how different configurations of urban developments affect not only the developments themselves but also neighborhoods that already exist. Urban planners will be able to use NATURF in the same way as urban areas continue to grow. Likewise, NATURF will give climate modelers the tools to understand how urbanization will contribute to microclimate and broader global climate change, and sociologists could see how urban developments affect weather-related stresses.
Fine-resolution, three-dimensional representations of urban surfaces are necessary to support weather modeling at informative scales for understanding urban microclimate effects on public health and energy use [@best2006progress]. NUDAPT/WUDAPT were both created to address this need, but data is only currently available for select regions [@ching2009national] and using inputs such as satellite data [@ching2018wudapt] that could introduce uncertainties in the parameters produced [wong2019evaluation]. NATURF uses building-level data to represent urban surfaces at sub-kilometer resolutions, allowing the user to conduct studies at a high resolution at any location where building footprint and height data exist. A preliminary version of NATURF was used to calculate urban parameters and demonstrate that simulated new developments in the Chicago Loop neighborhood in Chicago Illinois, USA affect temperature and energy use both in the new developments and the preexisting neighborhoods [@allen2020impacts]. Their findings show that building effects on the microclimate can be modeled at 90m resolution, and they quantify how different configurations of urban developments affect not only the developments themselves but also neighborhoods that already exist. In this way, urban planners will be able to use NATURF to project how urban developments will affect meteorology within and outside of the new growth.

In relation to existing software, NATURF utilizes the same urban parameters and WRF pathways as NUDAPT and WUDAPT, but it does so at a higher spatial resolution for more detailed predictions. WUDAPT in particular seeks to gather consistent data on a worldwide scale [@ching2018wudapt] while NATURF works at a city- or neighborhood-scale. Put simply, NATURF allows the user to conduct studies at a high resolution at any location where building footprint and height data exist.

Similar to NATURF, the open-source toolbox GeoClimate [@bocher2021geoclimate] aims to quantify the effect of urban features for climate models. Both tools provide outputs similar to the three levels of data associated with WUDAPT: level 0 data (local climate zones), level 1 data (sampling data with finer resolution), and level 2 data (precise urban parameter data) [@ching2018wudapt]. GeoClimate produces level 0 and level 1 data, while NATURF provides level 2 data. Where NATURF uses building height and footprint data to calculate urban parameters, GeoClimate uses OpenStreetMap data. GeoClimate also calculate different parameters from NATURF and considers the influences of vegetation and roads on the microclimate. NATURF and GeoClimate measure the effect of urban features on microclimate, but they use different source data and output different data products to do so.
Similar to NATURF, the open-source toolbox GeoClimate [@bocher2021geoclimate] aims to quantify the effect of urban features for climate models. Both tools provide outputs for WRF to be used with the NUDAPT/WUDAPT framework, but at different resolutions. GeoClimate is intended for the production of local climate zones, data classified as level 0 by WUDAPT used to approximate urban parameters within the zone [@ching2018wudapt]. NATURF produces level 2 data, precise urban parameter data at finer resolutions. The input data used by each tool influences the resolution of outputs; GeoClimate primarily uses OpenStreetMap data where building heights must be estimated while NATURF uses shapefiles with building height and footprint data included. For both tools, study areas at the neighborhood-scale have comparable memory usage and computational time. For larger areas, particularly at the city-scale, NATURF is more suited for use on high-performance computers (HPC) due to the number and complexity of interactions being calculated. Despite this, installation and execution of NATURF requires only a few minutes and edits to code, and the use of *hamilton* allows for the tracking of code execution progress. Additionally, NATURF can internally produce outputs ready for WRF whereas GeoClimate requires the installation and use of additional packages. While NATURF and GeoClimate both produce urban parameter data for urban microclimate modeling, NATURF does so at a higher resolution with flexibility to analyze complex interactions between buildings at multiple scales.

# Design and Functionality
NATURF uses *hamilton* for organization and visualization of its workflow. Function names become inputs to other functions, allowing for a delineation of dependencies for every function. This code format allows for easier troubleshooting and visualization of the workflow. The calculation of parameters itself is done through *geopandas*. The input shapefile is loaded in as a GeoDataFrame that can handle calculation of parameters for each building in one process as opposed to using long "for" or "while" loops. Likewise, the geospatial features of *geopandas* are conducive to calculating the urban parameters for NATURF which are based on the geometry of each building and its neighbors. \autoref{fig:bldg_ht} shows one of these parameters, mean building height at 100 meter resolution over Los Angeles County, California, USA.
NATURF uses *hamilton* for organization and visualization of its workflow. Function names become inputs to other functions, allowing for a delineation of dependencies for every function. This code format allows for easier troubleshooting and visualization of the workflow (See \autoref{fig{dag}}). Additionally, *hamilton* allows for the calculation of a specified subset of variables if the entire workflow is not desired. The calculation of parameters itself is done through *geopandas*. The input shapefile is loaded in as a GeoDataFrame that can handle calculation of parameters for each building in one process as opposed to using long "for" or "while" loops. Likewise, the geospatial features of *geopandas* are conducive to calculating the urban parameters for NATURF which are based on the geometry of each building and its neighbors. \autoref{fig:bldg_ht} shows one of these parameters, mean building height at 100 meter resolution over Los Angeles County, California, USA using open-source building data from Model America [@modelamerica].

![NATURF workflow visualization. Desired variables can be specified as inputs and all dependent functions will be executed. \label{fig:dag}](figure_1.png)

![Average building height at 100 meter resolution for Los Angeles. \label{fig:bldg_ht}](figure_2.png)

![Average building height at 100 meter resolution for Los Angeles. \label{fig:bldg_ht}](figure_1.png)
The primary functionality of NATURF is the calculation and preparation of building parameters to be input to WRF for enhanced understanding of the effect of building morphology on the urban microclimate. The final two functions in the NATURF workflow create a binary file and index file that can be linked into the "URB_PARAM" section of WRF's GEOGRID.TBL. However, the urban parameters calculated can be retrieved and used for any other user purposes. Users can define the desired parameters for calculation and then export them to a CSV for use in other software. This flexibility allows NATURF to serve audiences inside and outside of the climate modeling community.

# Acknowledgements
This research was supported by the U.S. Department of Energy, Office of Science, as part of research in MultiSector Dynamics, Earth and Environmental System Modeling Program.
Expand Down
Loading