Closed hkershaw-brown closed 9 months ago
@mgharamti Helen and I were going over this issue and just wanted to clarify the intent behind the line producing this error:
The line is summing the value of all of the elements in the CH_NETRT array that are greater than or equal to 0, but all the elements in the array are set to 1, so it's essentially just counting the number of elements that fit that criteria. This can be done in a much simpler way n_link = count(CH_NETRT>=0)
, and using this line instead fixes the error and allows the module to compile successfully.
I just wanted to see if you can confirm that this is what the original line intended to do, since it is a complicated way to do this and is difficult to follow. Thanks!
@mjs2369 you're right. This is just counting the positive (and zero) links. And I agree with you; what a very complicated way to do it! I like your solution a lot more.
Closed as completed via #619
cce complaining about noad_hydro_mod. Not sure if this is a code error or the compiler falling over.
models/noah models/wrf_hydro