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

Count warm cells on a grid #1022

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

ebocher
Copy link
Member

@ebocher ebocher commented Jan 17, 2025

This PR introduces a new indicator to count the number of warm cells using a sliding window.

For example, if the user wants to count the number of hot cells in a 3*3 window, it must add the COUNT_WARM_1 term to the list of grid indicators.

The number 1 corresponds to the cell offset from the center of the processed cell.
The user can add several window sizes like this : COUNT_WARM_1 , COUNT_WARM_2, COUNT_WARM_5.

Input LCZ grid

grid_220_lcz_lorient

Number of warn cells (COUNT_WARM_1)
grid_250_lcz_lorient_warn_1

Number of warn cells (COUNT_WARM_4)
grid_250_lcz_lorient_warn_4

Config file input

            "parameters"  :
                      ["distance"             : 500,
                       "rsu_indicators"       : [
                               "indicatorUse": ["LCZ"] 

                       ], "grid_indicators"   : [
                              "x_size"    : 100,
                              "y_size"    : 100,
                              "indicators": [
                                      "LCZ_PRIMARY",
                                      "COUNT_WARM_1",
                                      "COUNT_WARM_4"]
                      ],...

@MGousseff @j3r3m1

@ebocher ebocher mentioned this pull request Jan 17, 2025
@ebocher ebocher changed the title Count warn cells on a grid Count warm cells on a grid Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant