Skip to content

How to use the latest HWRF development

Laurie Carson edited this page Dec 2, 2018 · 5 revisions

The top-level HWRF repository uses SVN externals to point to each of the component repositories. Because github provides an SVN interface to its git repositories, this method works for WRF and WPS through git-svn.

  • Using the latest HWRF system When you checkout the full HWRF system, you will get the latest HWRF WRF code (and WPS, etc).

svn co https://svn-dtc-hwrf.cgd.ucar.edu/trunk

  • Using git to work with (develop, test, update) the latest HWRF-WRF code

from the sorc/ subdirectory, clone the working WRF repository using git (move the SVN copy elsewhere for now)

_**mv WRF WRF.svn**_
_**git clone https://github.com/NCAR/HWRFdev WRF**_
_**cd WRF**_
_**git checkout HWRF**_
  • Create a new development branch for your work

git checkout -b mybranch

this command starts from whatever code branch you're on --- so be sure to git checkout HWRF first!

the "-b" option tells git to create and then check out a new branch with that name.

4 Push your branch back to github (for backups, and so others can share/review when needed)

git push -u origin mybranch

Clone this wiki locally