FengWu¶
GlobalMRF202340 GBONNX
Import path: earth2studio.models.px.FengWu
View source on GitHub View install commands
Documentation¶
Bases: Module, AutoModelMixin, PrognosticMixin
FengWu (operational) weather model consists of single auto-regressive model with a time-step size of 6 hours. FengWu operates on 0.25 degree lat-lon grid (south-pole including) equirectangular grid with 69 atmospheric/surface variables. This model uses two time-steps as an input.
Note
This model uses the ONNX checkpoint from the original publication repository. This checkpoint is a operational version to the one used in the paper which requires less variables. For additional information see the following resources:
Note
To avoid ONNX init session overhead of this model we recommend setting the default Pytorch device to the correct target prior to model construction.
Parameters:
-
ort(str) –Path to FengWu 6 hour onnx file
-
center(Tensor) –Model variable center normalization tensor of size [69]
-
scale(Tensor) –Model variable scale normalization tensor of size [69]
__call__ ¶
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) –Input tensor
-
coords(CoordSystem) –Input coordinate system
Yields:
load_model
classmethod
¶
Load prognostic from package