climt.get_default_state

climt.get_default_state(component_list, grid_state=None, n_ice_interface_levels=30)[source]

Retrieves a reasonable initial state for the set of components given.

Parameters:
  • component_list (list) – Components for which to retrieve an initial state.
  • grid_state (dict, optional) – An initial state containing grid quantities. If none is given, a default will be created.
  • n_ice_interface_levels (int, optional) – Number of vertical interface levels to use for ice. Use None to disable the ice vertical grid.
Returns:

A reasonable initial state.

Return type:

default_state (dict)