-
Notifications
You must be signed in to change notification settings - Fork 93
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
update cmf_ctrl_damout_mod.F90 #244
Conversation
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
|
||
!*** 2. read namelist | ||
REWIND(NSETFILE) | ||
READ(NSETFILE,NML=NDAMOUT) |
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.
lowercase
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
|
||
NDAMFILE=INQUIRE_FID() | ||
open(NDAMFILE,FILE=CDAMFILE_tmp,STATUS="OLD") | ||
READ(NDAMFILE,*) NDAM |
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.
lowercase
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
NDAMX = 0 | ||
|
||
DO IDAM = 1, NDAM | ||
READ(NDAMFILE,*) GRanD_ID(IDAM), DamName, DamLon, DamLat, totalsto, upreal(IDAM), MainUse(IDAM), CYear, IX, IY |
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.
change all read to lowercase
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
READ(NDAMFILE,*) | ||
|
||
!! --- ALLOCATE --- | ||
ALLOCATE(Qn(NDAM), Qf(NDAM)) |
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.
allocate to lowercase
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
|
||
!! --- ALLOCATE --- | ||
!! from dam water use data | ||
ALLOCATE(WUSE_DD(NDAM, NSTEPS)) |
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.
all allocate to lowercase
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
OutTmp = Q_n | ||
ENDIF | ||
ENDIF | ||
elseif ( MthNdFC > MthStOP ) THEN |
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.
change all elseif to upper case
CaMa/src/cmf_ctrl_damout_mod.F90
Outdated
! the condition described below is applied in order to prevent outflow values that are too large compared to the inflow value. | ||
! reference: https://github.com/ec-jrc/lisflood-code | ||
IF (F < L_f .and. outflw > min(1.2 * inflw, Qadj_nor)) THEN | ||
outflw = min(outflw, max(inflw, Qadj_nor)) |
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.
change all max min to uppercase
update cmf_ctrl_damout_mod.F90
No description provided.