jcm.physics_interface.Physics

class jcm.physics_interface.Physics

Methods

cache_coords(coords)

compute_tendencies(state, forcing, terrain)

Compute the physical tendencies given the current state and data structs.

data_struct_to_dict(struct, nodal_shape[, sep])

Flattens a physics data struct into a dictionary.

get_empty_data(coords)

Return a zero-shape diagnostics dict (deprecated).

initial_carry_state(coords)

Build the cross-step physics carry at Model construction time.

required_tracers()

Return a tuple of TracerSpec objects this physics needs in state.tracers.

Attributes

UNITS_TABLE_CSV_PATH

cached_coords