Opened 17 months ago
Closed 17 months ago
#609 closed defect (fixed)
problem with the redistribution of the LCC maps
Reported by: | luyssaert | Owned by: | luyssaert |
---|---|---|---|
Priority: | major | Milestone: | IPSLCM6.v2 |
Component: | Anthropogenic processes | Version: | |
Keywords: | Cc: |
Description
When running r6265 with land cover change the model crashes after 11 years with the following error:
Error: problem with the redistribution of the LCC maps
5 ipts, ivm: 6 3
5 veget_cov_max, loss_gain: 0.993486904510425 7.831882364861542E-010
5 nagec_temp, igroup: 4 2
5 agec_group(ivm), agec_group(ivm+nagec_temp-1): 2 3
5
5FATAL ERROR FROM ROUTINE land_cover_main
5 --> Cannot find proper age classes!
Change History (1)
comment:1 Changed 17 months ago by luyssaert
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
After a LCC r6265 was looking for the PFT with the largest fraction to add the residual cover fractions to. The PFT with the largest fraction could be in age class 2, 3 or 4. By definition an extension of a PFT (in this case adding the residual) should happen in age class 1 (= the youngest age class). In r6271 the code was rewritten to search for the largest PFT of age class 1. The opportunity was used to simplify the code a bit by making a subroutine for cleaning the variable loss_gain. The variable failed_vegfrac was added.