Opened 8 months ago

Closed 8 months ago

#838 closed defect (fixed)

KFACT_ROOT_TYPE not working.

Reported by: bguenet Owned by: somebody
Priority: major Milestone: ORCHIDEE 4.1
Component: Anthropogenic processes Version:
Keywords: Cc:

Description

Reported by Filip Kialka
The KFACT_ROOT_TYPE parameter has no effect, at least in the trunk version I'm using [7392]. The parameter is a string, and when set to 'cons' it is supposed to disable the increase of hydraulic conductivity due to roots. It does this by setting kfact_root to 1, which worked at some point when kfact_root was calculated in hydrol_main before the parameter was read. Now, the code calculating kfact_root is in hydrol_soil, which is run after the parameter is read, and thus the latter has no effect.

Change History (2)

comment:1 Changed 8 months ago by aducharne

The name of this keyword has recently changed, with different possible values, cf r7499 : Changed KFACT_ROOT_TYPE into KFACT_ROOT_CONST and moved the getin to hydrol_var_init.

It may solve the reported problem. If not, I will have a closer look.

Agnès

comment:2 Changed 8 months ago by bguenet

  • Resolution set to fixed
  • Status changed from new to closed

Looking at the current trunk [7551] and judging by the looks of it it must be fixed. We can close the ticket

Note: See TracTickets for help on using tickets.