UMEP-dev / SUEWS

Surface Urban Energy and Water Balance Scheme
https://suews.readthedocs.io/
Mozilla Public License 2.0
12 stars 8 forks source link

nan QF due to zero population density #240

Open sunt05 opened 9 months ago

sunt05 commented 9 months ago

https://github.com/UMEP-dev/SUEWS/blob/59ec1b5f228d4becd39fc5334fd48baa7c6cf4e0/src/suews/src/suews_phys_anemsn.f95#L309-L311

If DP_x_RhoPop equals zero, the code above will result in QF and consequently everything thereafter becoming NaN.

Noticed in #239.