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

SPARTACUS error when forcing wind = 0 #314

Open gusbacos opened 8 hours ago

gusbacos commented 8 hours ago

Running SUEWS with Spartacus when the wind speed in the forcing data = 0 gives NaN or -600 values in the output I tried using the new version (SuPy version: 2024.12.3.dev) , but still the results are the same.

Image

The issue is not there if i force all wind-speed occurences in the forcing data <= 0.01 to be something like 0.01

df_forcingl['U'] = df_forcing['U'].apply(lambda x: x if x >= 0.1 else 0.1)

Perhaps I missed out on key points from yesterdays meeting on if this new version solved the problem or not. But I still get same errors as before.

Best, Oskar

suegrimmond commented 8 hours ago

This is still being worked on