Opened 8 years ago

Closed 6 years ago

#184 closed defect (fixed)

conservation problemes in stomate_veget_update

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


Conservation problems in subroutine stomate_veget_update
Following lines in stomate_veget_update needs to be revised to conserve the masse:

       DO i = 1, kjpindex
          DO j=2, nvm
             IF ( veget_max(i,j) < min_vegfrac ) THEN 
                ind(i,j) = zero
                biomass(i,j,:,:) = zero
                PFTpresent(i,j) = .FALSE.
                senescence(i,j) = .FALSE.
                age(i,j) = zero
                when_growthinit(i,j) = undef
                everywhere(i,j) = zero
                carbon(i,:,j) = zero
                litter(i,:,j,:,:) = zero
                bm_to_litter(i,j,:,:) = zero
                turnover_daily(i,j,:,:) = zero
          END DO
       END DO

Background of the subroutine stomate_veget_update
The subroutine stomate_veget_update was created in revision [2718], see also ticket #107. The corresponding code was previously found in stomate_lcchange. The only difference with this commit is that before, these lines were performed only when stomate_lcchange was called which is once a year if VEGET_UPDATE=1Y. In the new revisions, this subroutine is called from stomate_veget, which is called once a day for all cases of VEGET_UPDATE.

Change History (1)

comment:1 Changed 6 years ago by nicolasviovy

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

All this part of the code has been changed [3094] See also ticket #107

Note: See TracTickets for help on using tickets.