Transposition of ICEtool into a Grasshopper Hops python server for fast calculation of surface temperatures
We combined the initial 5-steps ICETool for QGIS workflow into a single function that you can deploy remotely with Flask.
ICETool-gh provides a simplified component that allows to make informed design choices (e.g. vegetation, materials) that take into account Urban Heat Island (UHI) phenomena.
With venv, pip, etc. like any other Python dev environment, ex :
conda create --name ice python=3.8
pip install -r requirements.txt
GH Libraries : LadybugTools, Human, Wombat...
conda activate ice
cd 'folder path'
python app.py
ee_surface temperature_example_material database.gh
ee_surface temperature_example.3dm
+ee_surface temperature_example.gh
The code is already set-up to work with Heroku. Follow this tutorial.
Ground temperature is an estimation based on :
with:
-
$Q_R$ : Heat flux related to radiation (from the sun, infrared radiation and the atmosphere) -
$Q_H$ : Heat flux related to convection (considered as very low and homogeneous) -
$Q_L$ : Sensitive and latent heat flux of water -
$Q_C$ : Heat flow related to conduction -
${\delta}Q_S$ : Heat flow related to thermal storage (thermal capacity of materials)
More here : ICEtool