Models within the RiverLab are available according to the OpenEarth philosophy. This means that the models are stored in a Subversion system (repository), and everyone can download, adapt and upload them in such a way that all steps are traceable (and reversible). This is analogue to the way the open source software is maintained and developed.
The OpenEarthTools repository is used for sharing Matlab scripts useful for preprocessing input and postprocessing results. There are compiled Matlab routines that do not need a Matlab license. In this case, apart from checking out the repository, install the Matlab Runtime.
Follow the steps below for checking out a repository.
1. Request your username and password
To join the OpenEarth community request a free username and password by signing up at http://oss.deltares.nl (link in upper right corner). You only need a valid email address.
2. Install TortoiseSVN on your computer
Download open source Subversion (SVN) client: TortoiseSVNInstall TortoiseSVN to your PC.
3. Checkout the repository
Create a directory on your PC. For instance: <D:\checkouts\RiverLab\>In any file explorer (Total Commander recommended) right-click and select 'SVN Checkout'Enter the url of the repository:RiverLab: <https://svn.oss.deltares.nl/repos/openearthmodels/trunk/riverlab>OpenEarthTools: <https://svn.oss.deltares.nl/repos/openearthtools/trunk/matlab>Chose: 'fully recursive' and 'HEAD revision' Enter your subversion username and password. This is the one you use to login to the RiverLab page. Update your checkoutYou need to update your local checkout of the repository for staying up to date with the latest development. For updating your repository:Right click on the folder (e.g. <D:\checkouts\RiverLab\>) Click on 'SVN Update'Commit changes to the repository
You need to update your local checkout of the repository for staying up to date with the latest development. For updating your repository:
If you want to add a model or changes to a model:
On this website a basic tutorial about using the SVN-subversion system can be found.
For using the OET, you need to add them to the paths of Matlab. To this end, you need to run the function oetsettings.m at the top level of the checkout. I.e.,
where <D:\checkouts\oet> is the path to the checkout of the OET.