- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10
Adding new example lake
        QuinnThomas edited this page May 19, 2022 
        ·
        1 revision
      
    You can add a new example lake that is automatically run using updated GLM-AED code.
- Add lake directory to glm-examplessubdirectory. The directory of the lake can not have spaces in the name.
- Add configuration and driver files to the new lake directory. In the glm3.nml, be sure that the output.nc and lake.csv are written to an output subdirectory.
- Add lake to the github action file glm-aed/.github/workflows/compile.yml. You should add it after the other example lakes. Here is an example:
      - name: run GLM Lake Alex
        run: |
          cd glm-examples/LakeAlexandrina
          $GITHUB_WORKSPACE/glm-source/GLM/glm
- Update .gitignoreto include the output.nc file from the new example. For example this is the line that should be added for LakeAlexandrina:
glm-examples/LakeAlexandrina/output/output.nc
- Add plotting of lake output to glm-aed/glm-examples/example_lakes.Rmd. Use the plotting code for the other lakes as a template.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Background
Getting started
- Downloading
- Running the model
- glm.nmlconfiguration file
- Tutorials & examples
- Navigating GLM outputs
Advanced use
- Command line options
- Restarting a simulation
- Customising the WQ setup
- Adding a new example lake
- Using GLM in R
Developer guide
- Downloading the code
- Compiling the code
- Updating existing submodule state
- Adding new submodules
- Using GLM as a linked library