Skip to content

Commit

Permalink
revise the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahAlidoost committed Jan 18, 2022
1 parent 41f00ff commit 41b2fc2
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,28 @@ Integrated code of SCOPE and STEMMUS
2. Find the 'Remote Desktop' in the Launcher and click it.
3. Find the 'Applications'and click it, you will find the 'MATLAB' software in the 'Research'.
4. Open the 'MATLAB' using your account.
5. The STEMMUS_SCOPE v1.0.0 was saved at the folder '/data/shared/EcoExtreML/STEMMUS_SCOPE v1.0.0/src/STEMMUS_SCOPE.m'
6. Open the 'STEMMUS_SCOPE.m' file and run it.
5. All the code can be found in the folder 'src' in this repository.
6. In a terminal, run:
```bash
matlab -nodisplay -nosplash -nodesktop -r "run('STEMMUS_SCOPE.m');exit;"
```

(2) The dataflow of the STEMMUS_SCOPE v1.0.0:

1. The driving data provided by PLUMBER2 were saved at the folder named '../Plumber2 data'.
The soil texture data and soil hydraulic parameters data were saved at the folder named '../SoilProperty'.
The results of the model will be saved at the folder named '../output'.
All the code can be find at the folder named '../src'.
1. The driving data provided by PLUMBER2 were saved at the folder named 'Plumber2_data'.
The soil texture data and soil hydraulic parameters data were saved at the folder named 'SoilProperty'.
The results of the model will be saved at the folder named 'output'.

2. The main program is 'STEMMUS_SCOPE.m'. Currently, the model can be run at the site scale.
For example, if we put the 'AU-Tum_2002-2017_OzFlux_Met.nc' file in the 'input' folder. The model will be run at the AU-TUM site.
For example, if we put the 'FI-Hyy_1996-2014_FLUXNET2015_Met.nc' file in the 'input' folder. The model will be run at the AU-TUM site.

3. After the model was started, the workflow are as follows:
(1) The model will read the 'AU-Tum_2002-2017_OzFlux_Met.nc' file and transfer it into '.dat' files with 'filesread.m' (you can find the '.dat' files in the 'input' folder). In addition, the site information (including location and vegetation) were also read.
(1) The model will read the 'FI-Hyy_1996-2014_FLUXNET2015_Met.nc' file and transfer it into '.dat' files with 'filesread.m' (you can find the '.dat' files in the 'input' folder). In addition, the site information (including location and vegetation) were also read.
(2) Then, the model will read the soil parameters with 'soilpropertyread.m'.
(3) Some constants will be load using 'constant.m'.
(4) The model will run step by step until the whole simulation period completed.
(3) Some constants will be load using 'Constant.m'.
(4) The model will run step by step until the whole simulation period is completed.
(5) The results were be saved as 'binary files' temporarily and the 'binary files' will be transfer to '.csv' files at the end.

(3) Run STEMMUS_SCOPE v1.0.0 on a different compute node:


Open the file "filesread.m" and set all paths at the top of this file. The rest of the workflow is the same as explained above.

0 comments on commit 41b2fc2

Please sign in to comment.