SUEWS Prepare - ERROR MESSAGE: local variable 'zMax' referenced before assignment #695
Unanswered
divya42581
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey,
Thank you for your previous response. I am again stuck with the same error.
"CRITICAL EXCEPTION IN
C:\Users/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\SUEWSPrepare\prepare_worker.py,
LINE 455 "IMP_zd, IMP_z0 = rg.RoughnessCalc("Kan", zH, fai,
pai, zMax, sdComb)" ERROR MESSAGE: 0.0 cannot be raised to a negative power"
I’ve attached the files I'm using to generate the input files with SUEWS
Prepare. Any help would be greatly appreciated.
From reviewing the RoughnessCalc function (Python file also attached), I
suspect the issue may stem from NaN values in "z_d_output" and "(1 -
(z_d_output / zH))* fai". Could you please take a look and let me know what
you think?
Warm Regards
Divya
…On Tue, Jan 7, 2025 at 2:51 PM biglimp ***@***.***> wrote:
Thanks for noticing this typo. We will fix this.
Regarding your new error, could you share your data so that we can try to
identify your error.
—
Reply to this email directly, view it on GitHub
<#695 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMG4D446APIVSFO4ZMK5N5T2JOMCVAVCNFSM6AAAAABUP64RLOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZVHA4TMOA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While running the SUEWS Prepare for Indian City, I got the attached error. Please help me how I can resolve this error.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions