orbisgis / geoclimate

Geospatial processing toolbox for environmental and climate studies
GNU Lesser General Public License v3.0
59 stars 16 forks source link

Double calculation of frontalAreaIndexDistribution #848

Open j3r3m1 opened 11 months ago

j3r3m1 commented 11 months ago

Currently, in the rasterize function, frontalAreaIndexDistribution might be called twice if "FRONTAL_AREA_INDEX" AND "LCZ" are selected as indicators to calculate. We need to change that simply by multiplying the results of frontalAreaIndexDistribution by the cell area and by the vertical interval height (max - last interval for the last interval).