check case 02 cell area
I currently work on the mpr_finalize branch. There, check case 02 is failing. This check case is with process_08==0
, a.k.a. routing turned off. The thing is now, that mHM does not have a clue about level0
anymore and level1
grid information is inferred from the grid that the MPR generated parameters are on. It gets lat
, lon
, mask
and that's it.
So there is no information on the cell area (relative area for each level1 cell that is covered by level0 cells). That is only done in mrm_init (mRM-MPR is still in mRM, it reads level0 land cover and dem) and calculated based on the level0 dem. So, as routing is turned off, cellArea is calculated based on the lat-lon grid spacing (meaning each level1 cell is 100% covered by level0). The check case fails here now. What to do (@muellese, @thober)?
Options:
- accept new behaviour, ignore failing check case and update reference files for version 6
- always calculate a pseudo-parameter "cellArea" in MPR, pass that to mHM and hard-code overwrite cellArea for level1 there