Skip to content

Commit 207dbd3

Browse files
authored
Merge pull request #14 from NCAR/djgagne
Figure and code updates for JAMES paper
2 parents 3db3b66 + fdea195 commit 207dbd3

File tree

14 files changed

+9738
-1356
lines changed

14 files changed

+9738
-1356
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Machine learning emulators for microphysical processes in CESM.
33

44
## Requirements
55

6-
The library has been tested with Python 3.6.
6+
The library has been tested with Python 3.6 and 3.7.
77
The mlmicrophysics library requires the following Python libraries:
88
* numpy
99
* scipy
@@ -44,7 +44,10 @@ This script pre-processes the training and validation data, trains a set of neur
4444
and saves them and their verification statistics to an output directory.
4545

4646
## CAM modifications
47-
The code used to run the neural network emulator and TAU in CAM 6 can be found in the `cam_code` directory. These can be added to the CESM cam6_0_000 code as a SourceMod if you want to run your own simulations.
47+
The code used to run the neural network emulator and TAU in CAM 6 can be found in the `cam_code` and `cam_tau_code` directories. These can be added to the CESM cam6_0_000 code as a SourceMod if you want to run your own simulations.
48+
49+
## Machine Learning the Warm Rain Process
50+
Some of the figures and tables for the Machine Learning the Warm Rain Process paper were generated using the code in `notebooks/nn_train_evaluation_20190512.ipynb`.
4851

4952
## Contact
5053
If you have issues with the library, please create an issue on the github page.

cam_code/README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Put source mods for the cam library in this directory.
2+
3+
WARNING: SourceMods are not kept under version control, and can easily
4+
become out of date if changes are made to the source code on which they
5+
are based. We only recommend using SourceMods for small, short-term
6+
changes that just apply to one or two cases. For larger or longer-term
7+
changes, including gradual, incremental changes towards a final
8+
solution, we highly recommend making changes in the main source tree,
9+
leveraging version control (git or svn).

cam_tau_code/README

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Put source mods for the cam library in this directory.
2+
3+
WARNING: SourceMods are not kept under version control, and can easily
4+
become out of date if changes are made to the source code on which they
5+
are based. We only recommend using SourceMods for small, short-term
6+
changes that just apply to one or two cases. For larger or longer-term
7+
changes, including gradual, incremental changes towards a final
8+
solution, we highly recommend making changes in the main source tree,
9+
leveraging version control (git or svn).

0 commit comments

Comments
 (0)