CABLE-LSM / CABLE

Home to the CABLE land surface model and its documentation
https://cable.readthedocs.io/en/latest/
Other
8 stars 3 forks source link

facilitate output of potential evaporation directly from the offline code base #335

Closed har917 closed 1 month ago

har917 commented 2 months ago

There are many applications where direct knowledge of potential evaporation (and/or its relation to simulated evaporation or evapotranspiration) would be of interest. However this is not facilitated by CABLE despite the canopy%epot variable carrying this information. While an approximation of average potential evaporation could be estimated from other outputs, the nonlinearity in the equations implies that it would be better evaluated by CABLE's inbuilt time averaging.

Note that ssnow%potev in CABLE is more strictly the 'latent heat flux consistent with potential evaporation from the soil' not evaporation itself - i.e. units are currently W/m2 not mm of water/s - this may need to be handled within this issue.

har917 commented 1 month ago

Process

edit: canopy%potev doesn't exist. ssnow%potev refers only to evaporation from the soil. Instead this fix will use the existing CABLE diagnostic variable canopy%epot.

har917 commented 1 month ago

@ccarouge I may have been unlucky with exactly when you did a merge/update of MAIN - but benchcab seems to have failed for me.

I think the problem is that the cable.nml file that gets created is/was still back with 'check%range = .FALSE.' - with the net result that nothing runs (and the bitwise comparison fails) - see cable.nml.txt

I also note that the site specific outputs seem to reference ERROR ../../src/nccmp_state.c:156 No such file or directory -e.g. AU-ASM_2011-2017_OzFlux_Met_S0_R0_R1.txt indicating that something else is missing.

Any suggestions? Perhaps I need to do a fresh git clone but I did do a benchcab clean all.

har917 commented 1 month ago

I think the problem is that the cable.nml file that gets created is/was still back with 'check%range = .FALSE.'

I've checked - git status indicates that my local copy of benchcab is in sync with origin/main except for the config.yaml file, and the nml file attached is that created by benchcab (for AU-ASM). The out.txt file is giving the NAMELIST input error

ccarouge commented 1 month ago

@har917 I believe this is now solved or about to be solved from the issue on benchcab repository. We still need some changes to benchcab, spatial configurations and the benchcab documentation so it works for everyone but you should be good here.