hygon-science-weather

Runs weather forecasting model inference and RMSE/ACC evaluation on Hygon DCU.

7|1|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/DeepLink-org/DeepEval-Skills --skill hygon-science-weather-deeplink-org
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hygon-science-weather
Source: https://github.com/DeepLink-org/DeepEval-Skills/tree/main/skills/Hygon/science/hygon-science-weather
Command: npx skills add https://github.com/DeepLink-org/DeepEval-Skills --skill hygon-science-weather-deeplink-org

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running global weather forecasting models like FengWu, FourCastNet, FuXi, GraphCast, and Pangu-Weather on Hygon DCU hardware requires complex container setup, ERA5 data preprocessing, and consistent accuracy evaluation. This Skill automates the full inference and benchmarking workflow so you get standardized RMSE/ACC metrics without manual orchestration. ## Core Features & Use Cases - Multi-Model Inference: Supports five mainstream weather models (FengWu, FourCastNet, FuXi, GraphCast, Pangu-Weather) with a unified Docker-based execution flow on Hygon DCU. - Flexible Data Scenarios: Handles preprocessed ERA5 H5 data, raw NC files requiring the four-step preprocessing pipeline, or dummy data for quick pipeline validation. - Standardized Metrics Collection: Computes RMSE and ACC from .npy result files and writes them to a fixed result.json schema, with visualization outputs like loss curves and prediction comparison plots. - Use Case: You want to benchmark FuXi inference accuracy on a Hygon DCU server. The Skill guides container startup with correct device mounts, runs inference.py and result.py, and produces a result.json with per-channel and average RMSE/ACC. ## Quick Start Ask the agent to run FengWu weather model inference on Hygon DCU and collect the RMSE and ACC metrics into result.json.

Frequently Asked Questions about hygon-science-weather

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run weather model inference on Hygon DCU?▼

Set MODEL_NAME to one of fengwu, fourcastnet, fuxi, graphcast, or pangu_weather, then start the Docker container with DCU device mounts (/dev/kfd, /dev/mkfd, /dev/dri) and the Hygon HAL library. Inside the container, run inference.py followed by result.py in the model directory.

How to prepare ERA5 data for weather forecasting models?▼

If you have raw NC files, run the four preprocessing scripts in era5_dataset_prepare: data download, format conversion to tmp_h5, annual merge into h5 files, and statistics calculation. If preprocessed H5 data and stats files already exist, you can skip preprocessing entirely.

Which weather models are supported on Hygon DCU?▼

Five models are supported: FengWu, FourCastNet, FuXi, GraphCast, and Pangu-Weather. All run inside a prebuilt Docker image containing PyTorch 2.5.1, Hygon DTK 25.04.2, and the onescience framework.

Why does inference fail with out of memory on Hygon DCU?▼

OutOfMemoryError occurs when the selected DCU card's VRAM is occupied by other processes. Check usage with rocm-smi or hy-smi, then set HIP_VISIBLE_DEVICES to an idle card ID before launching the Python script.

Can I test the pipeline without real ERA5 data?▼

Yes, use the WEATHER_DUMMY_DATA_DIR scenario to mount dummy data for quick pipeline validation. Dummy data only verifies code logic and is not suitable for actual performance evaluation.