Skip to content

Commit

Permalink
Update README to specify how to provide nl variables for gw drag ml.
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Aug 6, 2024
1 parent 5010755 commit def03f0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,16 @@ On Derecho this is `/path/to/ftorch/bin/ftorch_intel` as defined below in

#### Setting up case details

Once this has been done then edit `user_nl_cam` in the case directory as required.
This is a CAM namelist generated from the default for the case.
We can now run `./case.setup` from within the case directory.
Once this has been done then edit the generated `user_nl_cam` in the case directory
as required.
Add the following lines:

#. `gw_convect_dp_ml = 'on'`\
#. `gw_convect_dp_ml='on'`\
This is the switch to use our new ML convective-gw scheme instead of the default.\
Other options are `'off'` (default - use original), `'bothoff'` (run both schemes
but use default for simulation), and `'bothon'` (run both but use ML for simulation).
#. `convect_dp_ml_model = '<PATH/TO/MODEL.pt>'`\
#. `gw_convect_dp_ml_net='<PATH/TO/MODEL.pt>'`\
The path to the your saved PyTorch model.

Also consider adding:
Expand All @@ -90,7 +91,7 @@ fincl<n> = 'MYVAR'
```
to generate output diagnostics of variables as desired.

We can then run `./case.setup` and `./case.build` from within the case directory.
We can then run `./case.build` from within the case directory to build the model.

The case can be run with `./case.submit` from the case directory.

Expand Down

0 comments on commit def03f0

Please sign in to comment.