You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/conversion/create-sdf.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,12 @@
1
1
# 5 - Create an SDF
2
2
The **Suite Definition File (SDF)** tells the CCPP-Framework which schemes will be run in what order. For more, see [CCPP in CAM-SIMA](../design/ccpp-in-cam-sima.md)
3
3
4
-
- In `$CAM-SIMA/src/physics/ncar_ccpp/suites`, create `suite_<parameterization>.xml`. This is your SDF!
5
-
- See the template below. You will need to select either `physics_before_coupler` or `physics_after_coupler` as your group name.
4
+
- In `$CAM-SIMA/src/physics/ncar_ccpp/test/test_suites`, create `suite_<parameterization>.xml`. This is your SDF!
5
+
6
+
!!! Note "SDF location"
7
+
If your parameterization or CCPPization represents a complete configuration that can be run by normal users (e.g. a simple physics package like kessler), instead put your SDF in `$CAM-SIMA/src/physics/ncar_ccpp/suites`.<br/><br/>Most likely, your parameterization will not fall into this category and will "just" be part of an existing suite like `CAM4` or `CAM7`, meaning you should put the SDF in the `test_suite` directory listed above.
8
+
9
+
- See the template below. You will need to select either `physics_before_coupler` or `physics_after_coupler` as your group name, according to the table below.
6
10
```
7
11
<?xml version="1.0" encoding="UTF-8"?>
8
12
@@ -22,12 +26,12 @@ The **Suite Definition File (SDF)** tells the CCPP-Framework which schemes will
22
26
23
27
- Add any interstitials which you’ve created or are using in the appropriate location relative to your parameterization
24
28
25
-
!!! Note "CAMX physics suite"
26
-
You will also need to add your same set of schemes to the appropriate larger suite (usually `suite_cam7.xml`). Use comments to delineate your set(s) of schemes to make the SDF somewhat readable.
27
-
28
29
For example: if your parameterization requires dry water vapor, you'll want to add:
29
30
30
31
-`<scheme>wet_to_dry_water_vapor</scheme>` before your core parameterization scheme to convert water vapor to a dry mixing ratio (CAM-SIMA has "wet")
31
32
-`<scheme>dry_to_wet_water_vapor</scheme>` after your parameterization scheme to convert back to a wet mixing ratio to return to CAM-SIMA
32
33
34
+
!!! Note "CAMX physics suite"
35
+
You will also need to add your same set of schemes to the appropriate larger suite (usually `suite_cam7.xml`). Use comments to delineate your set(s) of schemes to make the SDF somewhat readable.
36
+
33
37
Once you have created your SDF, proceed to [6 - Create snapshots of CAM](create-snapshots.md)
0 commit comments