This repository is supplementary to the paper "Sun, Y., Oleson, K. W., Zhao, L., Mills, G., He, C., Demuzere, M., Topping, D. O., Zhang, N., & Zheng, Z. (2025). Enhancing Global-Scale Urban Land Cover Representation Using Local Climate Zones in the Community Earth System Model. Journal of Advances in Modeling Earth Systems, 17(11), e2025MS004934. https://doi.org/10.1029/2025MS004934". A related dataset is open access at: https://doi.org/10.6084/m9.figshare.30665966.
The objectives of this project are:
- Modify the CESM source code to incorporate a built LCZ representation in a modular way;
- Validate model performance with the new LCZ scheme using the Urban-PLUMBER dataset;
- Examine model sensitivity to LCZ urban parameters.
The standard source code comes from CTSM, with the release tag: ctsm5.1.dev166. See modified code lines labeled with !YS.
-
Add a new command
use_lcz,to the namelist for case build: -
Apply
use_lczto determine land cover classification: -
Define LCZ classes:
-
Modify the PIO process for a time-varying urban variable
T_BUILDING_MAX: -
Modify subgrid-level:
-
Apply
use_lczwhen controlling model set-up:
The scripts listed below are used for processing simulation output and visualization
| Num. | Subject | Simulations | Output data process | Visualization |
|---|---|---|---|---|
| 2.1 | Flux variations at the UK-KingsCollege site | CNTL, WRF_LCZ, LI_LCZ | Use Export.ipynb to get export_uk_kingscollege_df.csv | Figure.ipynb |
| 2.2 | Taylor diagram over all flux sites | CNTL, WRF_LCZ, LI_LCZ | Use Export.ipynb to get results4taylor.csv | Figure.ipynb |
| 2.3 | Overall model performance | CNTL, WRF_LCZ, LI_LCZ, CESM_LCZ | Use Export_ahf.ipynb and Export_flux.ipynb to get ahf.csv and flux.csv, respectively | Figure.ipynb |
| 2.4 | Model sensitivity to parameters | BASE, SENS | Use Export.ipynb to get result.csv | Figure.ipynb |
| 2.5 | Variations in anthropogenic heat flux | BASE, SENS | Use Export.ipynb to get ahf.csv and qh.csv | Figure.ipynb |
- CNTL: simulation using CLM5.0 default surface data.
- WRF_LCZ: simulation using LCZ-based urban parameters from WRF's default look-up table.
- LI_LCZ: simulation using LCZ-based urban parameters from Li et al. (2023).
- BASE: simulation using LCZ-based urban parameters created by the authors, mixing WRF's and LI's LCZ tables.
- SENS: simulation using surface input with parameter perturbation.
The figures listed below are used to illustrate details of implementing built LCZs in CLMU.
| Subject | Visualization |
|---|---|
| CLM5 representation hierarchy with default and LCZ classes | Figure |
| A modular way of incorporating LCZ alongside the default scheme | Figure |
| Future directions | Figure |
The scripts listed below are used to show supplementary information such as input data and output variations over sites.
| Num. | Subject | Simulation | Output data process | Visualization |
|---|---|---|---|---|
| 4.1 | Flux tower locations | NA | NA | Figure.ipynb |
| 4.2 | Sensible heat flux over sites | CNTL, WRF_LCZ, LI_LCZ, CESM_LCZ | Use *csv from output | Figure.ipynb |
| 4.3 | Momentum flux sensitivity to roughness length | BASE, SENS1, SENS2, SENS3, SENS4 | Use Export.ipynb to get result.csv | Figure.ipynb |
| 4.4 | Flux variables over sites | CNTL, WRF_LCZ, LI_LCZ, CESM_LCZ | Use Export.ipynb to get *csv stored in output | Figure.ipynb |
The scripts listed below are used to generate LCZ-based land surface inputs for simulations. Note: For LCZ simulations, we set nlevurb = 5.
| Num. | Simulations | Input data process |
|---|---|---|
| 5.1 | WRF_LCZ | WRF_LCZ.ipynb |
| 5.2 | LI_LCZ | LI_LCZ.ipynb |
| 5.3 | CESM_LCZ | CESM_LCZ.ipynb |
| 5.4 | BASE | BASE.ipynb |
| 5.5 | SENS | SENS.ipynb |
- SourceMods_for_UrbanPLUMBER: modified release-clm5.0.34 code for participating Urban-PLUMBER.
- SourceMods_def: modified ctsm5.1.dev166 code for default surface input.
- SourceMods_lcz: modified ctsm5.1.dev166 code for LCZ-based surface input.
- SourceMods_roughness_sensitivity_S1: modified ctsm5.1.dev166 code for CLMU’s default method of roughness length calculation.
- SourceMods_roughness_sensitivity_S2: modified ctsm5.1.dev166 code for using Kanda et al. (2013)’s method.
- SouceMods_roughness_sensitivity_S3: modified ctsm5.1.dev166 code for using Kent et al. (2017)'s method.
The scripts listed below modify the source code to use several parameters provided by Urban-PLUMBER. Lines between !KO are modified by K. W. O. while !YS by Y. S..
!YS
FORTRAN CODE MODIFICATION
!YS- Modifiy the
nlevurb: - Add a new parameter
wall_to_plan_area_ratio: - Determine air conditioning adoption:
- Other:
- We dedicate this work to the memory of Dr. Jason Ching, whose groundbreaking contributions and inspiring vision laid the foundation for this research. His legacy continues to guide and inspire us.
- This work was supported by the Natural Environment Research Council [grant number UKRI1294].
- This work used the ARCHER2 UK National Supercomputing Service and JASMIN, the UK’s collaborative data analysis environment.
- The authors would like to acknowledge the assistance of Research IT and the use of the HPC Pool and Computational Shared Facility at The University of Manchester. The support of Dr. Douglas Lowe and Christopher Grave from Research IT at The University of Manchester is gratefully acknowledged.
- We thank Prof. David M. Schultz for his comments on an earlier version of the manuscript.
- Additionally, we appreciate the assistance of Dr. Congyuan Li.
- Z.Z. appreciates the support provided by the academic start-up funds from the Department of Earth and Environmental Sciences at The University of Manchester.
- Y.S. is supported by the PhD studentship of Z.Z.'s academic start-up funds.
- NSF National Center for Atmospheric Research is a major facility sponsored by the U.S. National Science Foundation under Cooperative Agreement No. 1852977.
- Contributions from M.D. are supported by the European Union’s HORIZON Research and Innovation Actions under grant agreement No. 101137851, project CARMINE (Climate-Resilient Development Pathways in Metropolitan Regions of Europe).
- L.Z. acknowledges the support of the U.S. National Science Foundation (CAREER award grant no. 2145362).
- N.Z. acknowledges the support of the National Natural Science Foundation of China (NSFC grant no. U2342221).
- We gratefully thank three anonymous reviewers for their constructive comments that substantially improved the manuscript.
- The authors declare no conflict of interest.