O2.5.2: Generalize coupling and surface fluxes to accommodate full land model #1031
Open
1 of 5 tasks
Labels
🏅 SDI
Software Design Issue
The Climate Modeling Alliance
Software Design Issue 📜
Purpose
This works towards O2.5:
Cost/Benefits/Risks
costs: developer time, larger coupler codebase to handle more cases
benefits: more generalized coupling, which will help us prepare for coupling atmosphere + ocean
risks: we don't know yet exactly what changes will be needed to include the more complex land model
People and Personnel
Components
get_field
,update_field
functions)Inputs
Results and Deliverables
Current Status and Proposed Changes
- surface flux calculation
Current
Proposed change
-
partitioned_turbulent_fluxes!
note that we can't use the combined turbulent fluxes with the full land model (can't combine land and ocean states when land has multiple states to keep track of - soil, snow, canopy)
Current
surface_thermo_state
and compute surface fluxes of each surface modelProposed change
thermo_state_sfc
inpartitioned_turbulent_fluxes
, getthermo_state
andweights
for each component of land model. Call SF and calculate fluxes for each of these, then combine with providedweights
.get_surface_fluxes
), which is accessible by the coupler. This function takes in thermodynamics parameters and atmos thermodynamic state, and can be used with a prescribed or modeled atmos. After each atmos step, call this function with the latest atmos state (as a callback) and use the returned updated fluxes for the next step.get_surface_fluxes
for other surface models would replicate what is currently done inpartitioned_turbulent_fluxes
here- momentum fluxes
TODO: discuss (needed for atmos)
- land exchange fields(
get_field
,update_field!
)Current
Proposed change
Remaining Questions
update_turbulent_fluxes!
that updates a model's turbulent fluxes with some input fields. E.g. see bucket implementation here. How will we update the full land model's turbulent fluxes with new values, given that the fluxes are distributed among the components of the land model? Will we do a weighted division (like the opposite of a weighted sum)?Tasks
ClimaCoupler
Surface flux calculations
SDI Revision Log
CC
@tapios @sriharshakandala @charleskawczynski @cmbengue
The text was updated successfully, but these errors were encountered: