NeuralGCM / scripts /train_weather_forecast.py
yzt15806542928's picture
Upload folder using huggingface_hub
f4a39ee verified
Raw
History Blame Contribute Delete
394 Bytes
#!/usr/bin/env python3
"""Train the official 0.7-degree deterministic weather-forecast profile."""
from __future__ import annotations
try:
from train import main as _train_main
except ModuleNotFoundError: # supports ``python -m scripts.train_weather_forecast``
from scripts.train import main as _train_main
if __name__ == "__main__":
_train_main(forced_mode="weather_forecast")