Modify your WRF input data as easily as running the WRF model!
WRFtailor is a lightweight, namelist-based toolkit written in NCL and Bash.
It allows users to tailor and modify WRF input data (e.g., geo files, emissions data, etc.) based on geographic boundaries or spatial datasets.
For detailed scientific background, see the paper:
📄 Nikfal, A. (2024). WRFtailor: A toolkit for tailoring and modification of WRF input data. Geoscience Data Journal
- Modify WRF input data over an area of interest (AOI) using a shapefile mask
- Modify data using a latitude/longitude bounding box
- Modify values at specific grid points (list of lat/lon coordinates)
- Modify data within the innermost WRF subdomain
- Replace variable values from a GeoTIFF file into WRF input data
Install NCL on your Linux system (example for Fedora):
sudo dnf install ncl
That’s all you need to run all WRFtailor features!
-
Clone the repository
git clone [email protected]:anikfal/wrftailor.git cd wrftailor
-
Make scripts executable
chmod +x wrftailor.sh modules/*.sh
-
Copy or link your WRF input files (e.g. geo_em.d01.nc) into the WRFtailor directory
-
Edit and configure your
namelist.tailor
file -
Run
./wrftailor.sh
-
The tailored WRF input data will be generated according to the active sections in
namelist.tailor
.
Full documentation with practical examples is available at:
👉 https://wrftailor.readthedocs.io/en/latest
Video tutorials are available here:
If you use WRFtailor in your research, please cite:
Nikfal, A. (2024). WRFtailor: A toolkit for tailoring and modification of WRF input data. Geoscience Data Journal.