Closed MartinDix closed 3 weeks ago
So the rain over land looks ok by the sounds of it ?
I guess you have checked the field names are mapped correctly, and the remapping technique looks ok ?
Zonal means weren't masking the land properly. Corrected version doesn't change things much.
For a basic sanity check I modified the UM to set the large scale rain to a constant 1e-5 and convective rain to 2e-5. Mediator fields matched very closely (relative differences O(1e-8)), consistent with UM diagnostics being 32 bit and mediator 64 bit.
Suggests it's something to do with the spatial or time averaging. Both the spatial and temporal variability of the evaporation will be less than the precipitation, but hard to see why large scale and convective would behave differently.
I modified the suite to save daily mean rainfall from the UM. The monthly mean of this matches the mediator and so is different to the UM monthly mean file. Something strange in the UM stash mean processing?
However there's no difference between daily and monthly means in AM3 runs with either the 360 day or Gregorian calendar.
In the CM3 suite um/rose-app.conf has
[namelist:umstash_time(tmonm_eb9a649b)]
...
unt2=2
This means it's sampling once per hour. It should have unt2=1
to sample every step.
This was inadvertently changed way back in the initial NUOPC test suite, https://code.metoffice.gov.uk/trac/roses-u/changeset/250354/c/q/5/7/6/trunk/app
This would have also affected evaporation but perhaps because that's less variable in time the difference wasn't as significant. Also a mystery why this lead to a mean difference in the rainfall rather than purely random errors. These runs have radiation calculated every step. UKCA is called only one per hour so perhaps there's an influence from the aerosol calculation?
Note that this only affects the UM diagnostics, not the actual coupling.
From a one year run with this fixed
Global ocean totals in kg/year
Term | Mediator | UM |
---|---|---|
Evap | 4.8867e+17 | 4.8867e+17 |
Precip | 4.3794e+17 | 4.3794e+17 |
The evaporation difference is several orders of magnitude smaller than before
From one year of
cm3-run-09-10-2024-control
(essentially the same results fromcm3-run-24-09-2024-fix-wind-stress
) the ocean precipitation from the UM monthly STASH diagnostics differs from the NUOPC mediator diagnostics. Other components of the water budget like evaporation, sublimation and river outflow don't show the same differences. Even more strangely the convective and large scale precipitation differences are different.Mediator rain =
atmImp_Faxa_rainc + atmImp_Faxa_rainl
Mediator snow =atmImp_Faxa_snowc + atmImp_Faxa_snowl
Mediator evaporation =atmImp_Foxx_evap
UM rain = STASH 4203 + 5205 = 5214 UM snow = STASH 4204 + 5206 = 5215 UM total precip = STASH 5216 UM evaporation over open ocean = STASH 3232
There are large scale rain differences in the tropics, though the LS rain itself is small there.