get_default_state
get_default_state(
component_list,
grid_state=None,
n_ice_interface_levels=30,
n_soil_interface_levels=4,
)Retrieves a reasonable initial state for the set of components given.
Args: 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. n_soil_interface_levels (int, optional): Number of vertical interface levels to use for soil. Use None to disable the soil vertical grid.
Returns: default_state (dict): A reasonable initial state.