Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sounding file and clarification of weights #57

Open
wants to merge 2 commits into
base: CAM-ML
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ Add the following lines:
`yog_scheme = 'on'` \
If running a comparison to the ZM scheme also add `run_deep_comp = 'on'`.
2. `yog_nn_weights = '<PATH/TO/WEIGHTS.nc>'`\
The path to the NN weights. There are some weights in `src/physics/cam/' of this respository (CAM-ML) which can be used, or they can be generated from the [standalone model](https://github.com/m2lines/convection-parameterization-in-CAM).
The path to the NN weights in a NetCDF file.\
The weights are located at [`src/physics/cam/NN_weights_YOG_convection_no_yin_no_rad_dqpsubgrid.nc'](https://github.com/m2lines/CAM-ML/blob/docs-updates/src/physics/cam/NN_weights_YOG_convection_no_yin_no_rad_dqpsubgrid.nc).
Alternatively, they can be generated from the [standalone parametrerisation code](https://github.com/m2lines/convection-parameterization-in-CAM).
3. `SAM_sounding = '<PATH/TO/SAM/SOUNDING.nc>'`\
The path to the SAM sounding for the NN.\
This file is generated using the `sounding_to_netcdf.py` script in the resources of the [standalone NN code](https://github.com/m2lines/convection-parameterization-in-CAM), and it can be just copied over to a suitable place.
The path to the SAM sounding NetCDF file for the parameterisation.\
This file is located at [src/physics/cam/SAM_sounding.nc](https://github.com/m2lines/CAM-ML/blob/docs-updates/src/physics/cam/SAM_sounding).\
It was generated using the `sounding_to_netcdf.py` script in the resources of the [standalone parameterisation code](https://github.com/m2lines/convection-parameterization-in-CAM).

All the paths have to be absolute, as they will be used when the code is run on the compute nodes.

Expand Down
Binary file added src/physics/cam/SAM_sounding.nc
Binary file not shown.