Code
Repository
The cffdrs-ng GitHub repository contains the up-to-date code for the CFFDRS2025 modules in three programming languages: C, Python, and R. These three versions are written to produce the same results so users can choose the version that fits their own software systems.
See the repository README for more information about how to provide bug reports, the structure of the repository, and our updating process. For email notifications about code updates, you can specify the type of updates to receive when you join our mailing list.
The previous CFFDRS1992 code can still be found on the CFFDRS GitHub, while the R documentation can be found on the CFFDRS CRAN page.
Capabilities
- Calculate hourly FWI codes and indices
- Calculate daily summaries of FWI metrics at peak burn time
- Calculate hourly grassland code and indices
- Calculate sunrise, sunset from date and location, and additionally solar radiation from local weather data
- Convert traditional daily noon weather data into daily minimum/maximum weather data
- Convert daily minimum/maximum weather data into hourly weather data
FWI2025
The Canadian Forest Fire Weather Index (FWI) is a major system of the CFFDRS. FWI2025 is the next generation FWI system found in CFFDRS2025. Select a programming language below to see a description of the required code files and input data along with documentation of the main functions.
License
The NG-CFFDRS scripts are licensed under the GNU General Public License version 2. A copy of the license is available on the GitHub repository.