xujunhan@gmail_com
New Member
Dear all,
I want to use the real irrigation data in the CLM4.
I think there is a bug in the irrigation procedure of CLM4.
In Hydrology1Mod, the following lines:
if (n_irrig_steps_left(c) > 0) then
qflx_irrig(c) = irrig_rate(c)
n_irrig_steps_left(c) = n_irrig_steps_left(c) - 1
else
qflx_irrig(c) = 0._r8
end if
For example, if I have two pfts in one column, the n_irrig_steps_left of the same column will be decreased twice. So there are only 2 steps irrigation, not 4 steps irrigation in the document.
I used "print*,n_irrig_steps_left(c),irrig_rate(c)" before these lines. You can see the decrease of n_irrig_steps_left:
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
There should be lines such as:
3 4.54567896667867899E-004
2 4.54567896667867899E-004
3 4.54567896667867899E-004
2 4.54567896667867899E-004
Best Regards!
Xujun
I want to use the real irrigation data in the CLM4.
I think there is a bug in the irrigation procedure of CLM4.
In Hydrology1Mod, the following lines:
if (n_irrig_steps_left(c) > 0) then
qflx_irrig(c) = irrig_rate(c)
n_irrig_steps_left(c) = n_irrig_steps_left(c) - 1
else
qflx_irrig(c) = 0._r8
end if
For example, if I have two pfts in one column, the n_irrig_steps_left of the same column will be decreased twice. So there are only 2 steps irrigation, not 4 steps irrigation in the document.
I used "print*,n_irrig_steps_left(c),irrig_rate(c)" before these lines. You can see the decrease of n_irrig_steps_left:
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
4 4.54567896667867899E-004
3 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
2 4.54567896667867899E-004
1 4.54567896667867899E-004
There should be lines such as:
3 4.54567896667867899E-004
2 4.54567896667867899E-004
3 4.54567896667867899E-004
2 4.54567896667867899E-004
Best Regards!
Xujun