Skip to content

Commit

Permalink
elaborate a bit on readnl in CAM
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Jan 13, 2025
1 parent 0d5d8a3 commit 5e54c74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/conversion/back-to-cam.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ mkdir src/atmos_phys/schemes/<parameterization>
print $fh "$camsrcdir/src/atmos_phys/schemes/<parameterization>\n";
```

!!!Note "Handling readnl and diagnostics in CAM"
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`.

## Testing

- 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:
Expand Down

0 comments on commit 5e54c74

Please sign in to comment.