FuXiS2S¶
GlobalS2S202440 GBONNX
Import path: earth2studio.models.px.FuXiS2S
View source on GitHub View install commands
Documentation¶
Bases: Module, AutoModelMixin, PrognosticMixin
FuXi-S2S global daily-mean prognostic model.
FuXi-S2S consumes daily means from two consecutive UTC calendar days and predicts the following daily mean. A timestamp at 00:00 UTC labels the corresponding calendar-day aggregate; it is not an instantaneous midnight state.
Note
This model uses the ONNX checkpoint from the original publication repository. For additional information see the following resources:
Parameters:
-
onnx_path(str) –Path to the FuXi-S2S ONNX graph. Its external weight file named
fuxi_s2smust be in the same directory.
Note
Initial conditions must contain two consecutive UTC daily means on the
model's 1.5-degree grid. Instantaneous fields use calendar-day averages
from 00--23 UTC. Accumulated tp and ttr fields use the 24
interval-ending values from 01 UTC through 00 UTC of the following day.
Their daily means retain the units of each one-hour accumulation; for
example, multiply predicted tp by 24 to obtain a daily total.
Public variable labels declare these windows explicitly:
t2m:mean:-1h:23h, tp:mean:0h:24h, and ttr:mean:0h:24h
(windows are right-closed, (start, end]). The compact mean:24h
modifier instead describes the preceding day and must not be substituted
at the same start-of-day timestamp.
Sea-surface temperature must retain NaN values over land. The wrapper
does not aggregate hourly fields or regrid initial conditions; callers must
provide these prepared daily inputs through an Earth2Studio data source.
The official ONNX graph samples flow-dependent perturbations internally, so
each forecast trajectory is one stochastic ensemble member. Member 00 in
the official inference script is the first stochastic member, not a
deterministic control.
Warning
We encourage users to familiarize themselves with the license restrictions of this model's checkpoints.
Example
Prepared daily data must carry the qualified labels returned by
input_coords()["variable"]. For formal input data consult
zenodo.org/records/15718402. A statistics-aware fetch layer can
split each label at its first colon, fetch the base variable over the
declared window, and reduce it with apply_time_statistic. Use hourly
source data to reproduce the daily sampling convention.
__call__ ¶
create_iterator ¶
load_default_package
classmethod
¶
load_default_package() -> Package
Load the FuXi-S2S package from an immutable Hugging Face mirror.
Returns:
-
Package–Package pointing to the mirrored FuXi-S2S checkpoint.
Note
The mirror contains unchanged assets from the official Zenodo record. The checkpoint is licensed CC BY-NC-ND 4.0 and restricted to non-commercial research use by its authors.