Bases: Module, AutoModelMixin, PrognosticMixin
Spherical Fourier Operator Network global prognostic model.
Consists of a single model with a time-step size of 6 hours.
FourCastNet operates on 0.25 degree lat-lon grid (south-pole including)
equirectangular grid with 73 variables.
Note
This model and checkpoint are trained using Modulus-Makani. For more information
see the following references:
Parameters:
-
core_model
(Module)
–
Core PyTorch model with loaded weights
-
variables
(array, default:
array(VARIABLES)
)
–
Variables associated with model, by default 73 variable model.
__call__
Predict six hours ahead on the model device, without iterator hooks.
Parameters:
-
x
(DataArray)
–
Initial fields matching input_coords().
Returns:
-
DataArray
–
First forecast matching output_coords(x).
create_iterator
Yield predictions at six-hour intervals, starting with the first forecast.
Parameters:
-
x
(DataArray)
–
Initial fields matching input_coords().
Yields:
-
DataArray
–
Forecasts after the rear hook. The front hook runs before subsequent
steps; both hooks feed recurrence directly.
load_default_package
classmethod
load_model
classmethod
load_model(
package: Package,
variables: list = VARIABLES,
device: str = "cpu",
) -> PrognosticModel
Load prognostic from package
Parameters:
-
package
(Package)
–
Package to load model from
-
variables
(list, default:
VARIABLES
)
–
Model variable override, by default VARIABLES for SFNO 73 channel
Returns: