Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated sfc_nst.f, sfc_nst.meta, module_nst_water_prop.f90 and flake_… #588
Updated sfc_nst.f, sfc_nst.meta, module_nst_water_prop.f90 and flake_… #588
Changes from 1 commit
55d395f
8c60ce5
f1d12c5
20e1ae8
26340ba
17ccdcf
0ee9504
465167f
8f78249
68bf580
15575af
c8b70e9
f4cf862
347104a
edc9194
bc78c25
267748a
3f953f5
7f42a8f
7f70536
222ffe6
56c8d3a
6b99742
334e245
7adb61f
e1f6417
6a08c3a
dfeb51c
a81cdb9
2742ece
5411d4d
8cd133d
e46fe37
80ae761
bc75cd5
26aa3d6
e20ad29
aa73104
3163fbc
59ab0cd
b53829d
b657923
2d3b3c4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is bad coding practice for coding a polynomial. Better way is like
((((ax+b)*x+c)*x+d)*x+e)*x+f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe be "lake" is bad name here I recommend using something like "use_flake".
Please note that NSST operates on lakes in the absence of "flake model". May be it even needs to operate with the "flake model" also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An additional question is whether "flake" and "nsst" models should coexist? I think DA over lakes needs nsst (needs to determine lake skin temperature). Does flake provide skin temperature? Radiation needs skin temperature too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YihuaWu-NOAA @SMoorthi-emc : Agree with Moorthi, it is a topic to discuss and the decide if whether "flake" and "nsst" models should coexist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this safe, replacing
with
? Is it guaranteed that
tsfc_wat(i) - dtzm(i)
is larger or equal totgice
? Or is that condition no longer needed?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am concerned about this line too, @YihuaWu-NOAA can you explain why the original code does not work for flake model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@climbfuji @junwang-noaa : tref(i) = max(tgice, tsfco(i) - dtzm(i)) needs to be used/kept.