This project is a set of functions for calculating the Canadian Forest Fire Weather Index (FWI), a Canadian Forest Service system to compute codes for fire behavior and emissions from weather. The FWI is described in detail in Van Wagner 1987. It also includes equations for computing % moisture content from the Duff Moisture Code (DMC) and a batch csv calculator for FWI. The README file that comes with the source covers installation and usage examples. A sample csv file is also provided. The FWI functions were directly translated from the Southeast Asia Fire Danger Rating System Project Excel Plugin. The DMC to % moisture functions are from Lawson et al 1997, who followed Van Wagner 1987 for DMC conversion.