How to get WRF-SFIRE
- Back to the WRF-SFIRE user guide.
The WRF-Fire code in WRF release is an old version of the code here, from 2010. This is true even in newer WRF releases. See Fire code in WRF release for a detailed comparison. Many errors were fixed and features added since then. Please get the current version from our repository as described here, which includes current SFIRE and WRF. We support the latest version of SFIRE from our repository only. We can even consider adding features on request. Sorry we cannot support or modify the fire code version in the WRF release.
SFIRE is maintained in a git repository. A git repository is a software version control system similar to CVS or SVN. The repository contains the complete coupled code including WRF and and improved version of WPS, and it is regularly synchronized with major WRF releases. In order to obtain the software from our repository, you must first download and install the git software. The default view of the repository is the head of the master branch, which should contain a current stable and working code at any time.
The best view of current activity is available at http://repo.or.cz/git-browser/by-commit.html?r=wrffire.git
Developers can get write access to the git repository on request, and must push changes to it.
We strongly recommend to use download by git (as opposed to a tar or zip file, also available from the repository), because git allows easy updates and identification of the state of all files in case of problems. The following public, read-only mirrors are available.
git clone git://github.com/openwfm/wrf-fire.git
git clone git://repo.or.cz/wrffire.git
The home pages of the mirrors allow you to browse the source code as well as examine changes and view the different development branches. It is strongly recommended to use the git:// transport protocol in the git commands as above, not http://, which does not work reliably.
You can update your files any time to the current version, without downloading all again. If you have downloaded your copy by git, do in your wrf-fire directory
git checkout master; git pull
If you have changed anything, the update will fail, and you have to commit your changes first by git commit -a. The git pull will then merge your changes with the new files from the repository. Please be sure you work with the latest files before contacting us for support. However, we may not be able to support code that you have changed.
To identify the version of files you have, do in your wrf-fire directory
To verify your files,
will give no output if your files have not changed from the version identified by git log.