Skip to content

Commit 5e54c74

Browse files
committed
elaborate a bit on readnl in CAM
1 parent 0d5d8a3 commit 5e54c74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/conversion/back-to-cam.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ mkdir src/atmos_phys/schemes/<parameterization>
1717
print $fh "$camsrcdir/src/atmos_phys/schemes/<parameterization>\n";
1818
```
1919

20+
!!!Note "Handling readnl and diagnostics in CAM"
21+
The original `<parameterization>_readnl` subroutine (if there was one) must still be called in runtime_opts.F90 and all addfld/outfld calls must be preserved. If your new CCPP interfaces are called directly by physpkg, this may mean that you need to create a `<parameterization>_cam.F90` module that contains `<parameterization>_readnl`.
22+
2023
## Testing
2124

2225
- To quickly test that your code is working during development, you can create two new model cases with a compset that involves your physics scheme, and the following XML changes:

0 commit comments

Comments
 (0)