deterministic#
- earth2studio.run.deterministic(
- time,
- nsteps,
- prognostic,
- data,
- io,
- output_coords={},
- device=None,
- verbose=True,
- checkpoint=<earth2studio.utils.checkpoint.NullCheckpoint object>,
Built in deterministic workflow. This workflow creates a determinstic inference pipeline to produce a forecast prediction using a prognostic model.
- Parameters:
time (list[str] | list[datetime] | list[np.datetime64]) – List of string, datetimes or np.datetime64
nsteps (int) – Number of forecast steps
prognostic (PrognosticModel) – Prognostic model
data (DataSource) – Data source
io (IOBackend) – IO object
output_coords (CoordSystem, optional) – IO output coordinate system override, by default OrderedDict({})
device (torch.device, optional) – Device to run inference on, by default None
verbose (bool, optional) – Print inference progress, by default True
checkpoint (Checkpoint, optional) – Checkpoint manager or checkpoint session used to record and resume workflow progress, by default no checkpoint
- Returns:
Output IO object
- Return type:
IOBackend