ERA5 Meteorological Inputs, Digital Elevation Models, and WindNinja Batch-Processing Code for Wind–Sand Analysis of a Photovoltaic Plant
Description
This dataset contains the meteorological and terrain input data and batch-processing code used to prepare hourly WindNinja simulations for wind–sand analysis at a photovoltaic plant. The dataset includes six ERA5 NetCDF files covering 2021–2023, three processed hourly meteorological tables, the original digital elevation model, and the projected and cropped DEM used as the WindNinja terrain input. The accompanying Python scripts reproduce the ERA5 spatial aggregation, DEM reprojection and edge cropping, hourly WindNinja configuration generation, and batch execution process. Generated WindNinja configuration and output files are not included because they can be recreated directly from the supplied inputs and scripts.
Files
Steps to reproduce
1.Use Python 3.10 or later and install the required packages with: pip install -r code/requirements.txt 2.The processed ERA5 tables and prepared UTM DEM are already included. To reproduce them from the original inputs, run: python code/01_prepare_era5.py python code/02_prepare_dem.py 3.Install WindNinja 3.12.2 or a compatible version. 4.Generate the hourly WindNinja configuration files and batch file with: python code/03_run_windninja_batch.py --windninja-cli "C:\path\to\WindNinja_cli.exe" 5.Run the generated runs/run_all_cfg.bat, or add the --execute option to the preceding command to start the simulations directly. The default settings use 20 threads, a 31 m mesh resolution, grass vegetation, domain-average initialization, diurnal winds, non-neutral atmospheric stability, a 10 m input and output wind height, and shapefile output.
Institutions
- Shijiazhuang Tiedao UniversityHebei, Shijiazhuang