Opened 8 months ago

Closed 8 months ago

#841 closed defect (fixed)

Missing initialization of altmax for OOL_SEC

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

Description

Current version of the trunk do not run without stomate because altmax is not initialize.

Initializing altmax=maxaltmax in the else after CALL stomate_initialize solves the problem.

Index: ../../../modeles/ORCHIDEE/src_sechiba/slowproc.f90
===================================================================
--- ../../../modeles/ORCHIDEE/src_sechiba/slowproc.f90	(revision 7561)
+++ ../../../modeles/ORCHIDEE/src_sechiba/slowproc.f90	(working copy)
@@ -532,6 +532,9 @@
        ! albedo, and the energy budget
        CALL stomate_laieff_initialize()
 
+       ! Set a fixed value for altmax
+       altmax(:,:) = maxaltmax
+
     ENDIF


Question: which value should be set for altmax when stomate is not used ?

Change History (1)

comment:1 Changed 8 months ago by jgipsl

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

Done in the trunk [7562]. Initialization using zdr(nslm) is used to be consistent with what is done in stomate_io when ok_soil_carbon_discretization=F.

Note: See TracTickets for help on using tickets.