Difference between revisions of "How to track WRF Fire/SFIRE changes"

From openwfm
Jump to navigation Jump to search
Line 1: Line 1:
==Evolution==
 
* In wrf-fire repository
 
** {{wrf-fire-commit|fa26d08d8154|WRF-Fire submitted Nov 20, 2010}} on wrf-fire-track/master
 
** {{wrf-fire-commit|b96422421958|bug fix submitted Jan 17, 2011 bug fix}} on wrf-fire-track/master
 
** {{wrf-fire-commit|3cdb542af7ce|baseline submitted-to-WRF3.3}} on wrf-fire-track/submitted-to-WRF3.3
 
 
 
==Repositories and branches==
 
==Repositories and branches==
 
* https://github.com/openwfm/wrf-fire The original repository of WRF-Fire, later known as WRF-SFIRE
 
* https://github.com/openwfm/wrf-fire The original repository of WRF-Fire, later known as WRF-SFIRE
Line 14: Line 8:
 
** Branch [https://github.com/openwfm/WRF-Fire-merge/tree/master-track-fire-submitted-to-3.3 master-track-fire-submitted-to-3.3] is branch [https://github.com/openwfm/WRF-Fire-merge/tree/master master] with the fire model files replaced by those from [https://github.com/openwfm/WRF-Fire-merge/commit/3cdb542af7ce3eeaaab6dee2f2341a96557282fe wrf-fire-track/submitted-to-3.3], for comparison only - it will not compile. The branch has tags same as master with <tt>-fire-submitted-to-3.3</tt> added: <tt>release_v3.3-fire-submitted-to-3.3</tt> etc.
 
** Branch [https://github.com/openwfm/WRF-Fire-merge/tree/master-track-fire-submitted-to-3.3 master-track-fire-submitted-to-3.3] is branch [https://github.com/openwfm/WRF-Fire-merge/tree/master master] with the fire model files replaced by those from [https://github.com/openwfm/WRF-Fire-merge/commit/3cdb542af7ce3eeaaab6dee2f2341a96557282fe wrf-fire-track/submitted-to-3.3], for comparison only - it will not compile. The branch has tags same as master with <tt>-fire-submitted-to-3.3</tt> added: <tt>release_v3.3-fire-submitted-to-3.3</tt> etc.
  
==Path to the fire code in v3.3==
+
==Evolution to v3.3==
 +
* In [https://github.com/openwfm/wrf-fire wrf-fire], imported to [https://github.com/openwfm/WRF-Fire-merge WRF-Fire-merge] under wrf-fire-track:
 +
** {{wrf-fire-commit|fa26d08d8154|WRF-Fire submitted Nov 20, 2010}} on {{WRF-Fire-merge-branch|wrf-fire-track/master}}
 +
** {{wrf-fire-commit|b96422421958|bug fix submitted Jan 17, 2011 bug fix}} on {{{{WRF-Fire-merge-branch|wrf-fire-track/master}}
 +
** {{wrf-fire-commit|3cdb542af7ce|baseline submitted-to-WRF3.3}} at {{WRF-Fire-merge-branch|wrf-fire-track/submitted-to-WRF3.3}}
  
 
==Looking at differences==
 
==Looking at differences==

Revision as of 17:37, 19 January 2019

Repositories and branches

Evolution to v3.3

Looking at differences

Clone 3 copies of the repository and position them at the desired commits:

git clone ssh://git@github.com/openwfm/WRF-Fire-merge.git WRF-Fire-merge-develop
cd WRF-Fire-merge-develop
git checkout develop; cd ..
git clone ssh://git@github.com/openwfm/WRF-Fire-merge.git WRF-Fire-merge-wrf-fire-track-master
cd WRF-Fire-merge-wrf-fire-track-master
git checkout wrf-fire-track/master; cd ..
git clone ssh://git@github.com/openwfm/WRF-Fire-merge.git WRF-Fire-merge-baseline
cd WRF-Fire-merge-baseline
git checkout wrf-fire-track/submitted-to-WRF3.3; cd ..

Changes at NCAR to date:

opendiff WRF-Fire-merge-baseline/wrfv2_fire/phys/module_fr_sfire_phys.F WRF-Fire-merge-develop/phys/module_fr_fire_phys.F

Changes in wrf-fire to date:

opendiff WRF-Fire-merge-baseline/wrfv2_fire/phys/module_fr_sfire_phys.F WRF-Fire-merge-wrf-fire-track-master/wrfv2_fire/phys/module_fr_sfire_phys.F

Three-way comparison:

opendiff WRF-Fire-merge-develop/phys/module_fr_fire_phys.F  WRF-Fire-merge-wrf-fire-track-master/wrfv2_fire/phys/module_fr_sfire_phys.F -ancestor WRF-Fire-merge-baseline/wrfv2_fire/phys/module_fr_sfire_phys.F

External links

See also