Bases: Module, AutoModelMixin, PrognosticMixin
FourCastNet 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
excluding) equirectangular grid with 26 variables.
Note
This model is a retrained version on more atmospgeric variables from the FourCastNet
paper. For additional information see the following resources:
Parameters:
-
core_model
(Module)
–
Core PyTorch model with loaded weights
-
center
(Tensor)
–
Model center normalization tensor of size [26]
-
scale
(Tensor)
–
Model scale normalization tensor of size [26]
__call__
Runs prognostic model 1 step.
Parameters:
-
x
(Tensor)
–
-
coords
(CoordSystem)
–
Returns:
-
tuple[Tensor, CoordSystem]
–
Output tensor and coordinate system 6 hours in the future
create_iterator
Creates a iterator which can be used to perform time-integration of the
prognostic model. Will return the initial condition first (0th step).
Parameters:
-
x
(Tensor)
–
-
coords
(CoordSystem)
–
Yields:
-
Iterator[tuple[Tensor, CoordSystem]]
–
Iterator that generates time-steps of the prognostic model container the
output data tensor and coordinate system dictionary.
load_default_package
classmethod
load_model
classmethod
load_model(package: Package) -> PrognosticModel
Load prognostic from package