Opened 8 years ago

Closed 5 years ago

#152 closed defect (fixed)

pb cimean calculation in diffuco_trans_co2

Reported by: jgipsl Owned by: nvuilsce
Priority: major Milestone:
Component: Physical processes Version:
Keywords: Cc:

Description

The variable cimean is out of rang. The error seams to be systematic when entering following calculation in diffuco_trans_co2:

            cimean(iainia,jv) = (gsmean(iainia,jv)-g0(jv)) &
                 / (fvpd(iainia)*(assimtot(iainia)+Rdtot(iainia))) &
                 + gamma_star(iainia)


Sometimes following warning is written but not always when the problemes are seen:

                     WRITE(*,*) 'We have a problem in diffuco_trans_co2'
                     WRITE(*,*) 'We have a problem in diffuco_trans_co2'

The problem has been seen in orchidee trunk rev 2247.

Change History (2)

comment:1 Changed 8 years ago by jgipsl

This problem makes XIOS stop. While waiting for a solution, the writing of cimean using xios has been deactivated, see rev [2391].

comment:2 Changed 5 years ago by maignan

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

Commit was done in rev [4591], with a newer version of the photosynthesis code:
+ IF ( ABS(gsmean(iainia,jv)-g0var(iainia)*laisum(iainia)) .GT. min_sechiba) THEN
+ cimean(iainia,jv) = (fvpd(iainia)*(assimtot(iainia)+Rdtot(iainia))) /&

(gsmean(iainia,jv)-g0var(iainia)*laisum(iainia)) + gamma_star(iainia)

+ ELSE
+ cimean(iainia,jv) = gamma_star(iainia)
+ ENDIF

Note: See TracTickets for help on using tickets.