[docs]@dataclasses.dataclassclassInitialConditionRequirements:""" The requirements an inference run places on its initial condition. Parameters: prognostic_names: Names of the prognostic variables the stepper needs. labels: Labels for the initial conditions, or None for none. n_ensemble: Number of ensemble members per initial state. """prognostic_names:Sequence[str]labels:list[str]|None=Nonen_ensemble:int=1
@dataclasses.dataclassclassPrognosticStateDataRequirements:""" The requirements for the model's prognostic state. Parameters: names: Names of prognostic variables. n_timesteps: Number of consecutive timesteps that must be stored. """names:list[str]n_timesteps:int@dataclasses.dataclassclassDataRequirements:""" ACE's requirements for batches (time windows) of loaded data. Parameters: names: Names of the variables to load. n_timesteps: Number of timesteps to load in each batch window. allow_missing_variables: If True, the data loader may omit some required variables and provide a data_mask instead. If False, missing variables cause an error. """names:list[str]n_timesteps:int|IntScheduleallow_missing_variables:bool=False@propertydefn_timesteps_schedule(self)->IntSchedule:ifisinstance(self.n_timesteps,IntSchedule):returnself.n_timestepsreturnIntSchedule(start_value=self.n_timesteps,milestones=[])NullDataRequirements=DataRequirements(names=[],n_timesteps=0,)