Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#335 closed defect (fixed)

initialization issue with frac_snow_veg in dynamic roughness calculation

Reported by: luyssaert Owned by: luyssaert
Priority: major Milestone: IPSLCM6.v2
Component: Physical processes Version:
Keywords: Cc:

Description

When using the dynamic roughness calculation, frac_snow_veg is used to calculate z0_ground. In the second half hour frac_snow_veg equals 10e+61 causing a crash in the roughness calculation

Change History (3)

comment:1 Changed 5 years ago by luyssaert

  • Owner changed from somebody to luyssaert
  • Status changed from new to accepted

comment:2 Changed 5 years ago by luyssaert

frac_snow_veg is used in albedo and roughness calculations. One module comes from CN, the other from CAN. frac_snow_veg had different dimensions, i.e, (kjpindex) vs (kjpindex,nvm). The merge uses the (kjpindex,nvm) dimensions.

Furthermore, frac_snow_veg was initialized in intersurf, but the value was not passed to condveg. This resulted in a crash when running the code in debug mode. That issue was resolved by calculating frac_snow_veg when needed. The calculations are now included in the routine calculating the roughness and the routine calculating the albedo.

The model now crashes with a floating number error in assim.

comment:3 Changed 5 years ago by luyssaert

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

Both issues have been committed in r4071

The problem with assimi has been described in #337

Last edited 5 years ago by luyssaert (previous) (diff)
Note: See TracTickets for help on using tickets.