The core code for understanding the logic and implementing PhyDL-NWP (https://arxiv.org/pdf/2505.14555). Brief video intro can be found in https://www.youtube.com/watch?v=ifV4jPLvlLo.
pip install -r requirements.txt
python main.py
python train_forecasting_models.py
In this repository, we release the Ningxia dataset as a regional data example to run the code (For other datasets that may require access permission, please refer to the footnote links in our paper). It contains two files:
NWP_train: Weather forecasts generated by a Numerical Weather Prediction (NWP) model.real_train: Corresponding ground-truth weather observations.
The input consists of 11 features, including:
-
8 meteorological variables:
100 metre U wind component100 metre V wind component10 metre U wind component10 metre V wind component2 metre temperatureMean sea level pressureSurface pressureTotal precipitation
-
3 geographic variables:
latitudelongitudedem(digital elevation model, representing elevation information)
The output consists of 8 meteorological variables (same as the 8 weather-related input features above).

