Skip to content

Commit 80f7e68

Browse files
authored
Refactor coupled_global plots (#294)
1 parent 69bddda commit 80f7e68

File tree

6 files changed

+424
-399
lines changed

6 files changed

+424
-399
lines changed

tests/integration/generated/directions_chrysalis.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rm -rf /lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/v2.LR.historical_02
1111
python tests/integration/utils.py
1212
zppy -c tests/integration/generated/test_bundles.cfg
1313
# bundle1 and bundle2 should run. After they finish, invoke zppy again to resolve remaining dependencies:
14-
zppy -c tests/integration/test_bundles.cfg
14+
zppy -c tests/integration/generated/test_bundles.cfg
1515
# bundle3 and ilamb should run
1616
```
1717

@@ -48,7 +48,7 @@ rm -rf /lcrc/group/e3sm/public_html/zppy_test_resources/expected_bundles
4848
cp -r /lcrc/group/e3sm/public_html/diagnostic_output/ac.forsyth2/zppy_test_bundles_www/v2.LR.historical_0201 /lcrc/group/e3sm/public_html/zppy_test_resources/expected_bundles
4949
mkdir -p /lcrc/group/e3sm/public_html/zppy_test_resources/expected_bundles/bundle_files
5050
cp -r /lcrc/group/e3sm/ac.forsyth2/zppy_test_bundles_output/v2.LR.historical_0201/post/scripts/bundle*.bash /lcrc/group/e3sm/public_html/zppy_test_resources/expected_bundles/bundle_files
51-
cd #expected_bundles
51+
cd /lcrc/group/e3sm/public_html/zppy_test_resources/expected_bundles
5252
# This file will list all the expected images.
5353
find . -type f -name '*.png' > ../image_list_expected_bundles.txt
5454
cd <top level of zppy repo>
@@ -60,8 +60,16 @@ python -u -m unittest tests/integration/test_bundles.py
6060

6161
```
6262
cd <top level of zppy repo>
63+
chmod u+x tests/integration/generated/update_campaign_expected_files_chrysalis.sh
6364
./tests/integration/generated/update_campaign_expected_files_chrysalis.sh
6465
```
66+
This command also runs the test again.
67+
If the test fails on `test_campaign_high_res_v1`, try running the lines of the loop manually:
68+
```
69+
rm -rf /lcrc/group/e3sm/public_html/zppy_test_resources/test_campaign_high_res_v1_expected_files
70+
mkdir -p /lcrc/group/e3sm/public_html/zppy_test_resources/test_campaign_high_res_v1_expected_files
71+
mv test_campaign_high_res_v1_output/post/scripts/*.settings /lcrc/group/e3sm/public_html/zppy_test_resources/test_campaign_high_res_v1_expected_files
72+
```
6573

6674
### test_complete_run
6775

tests/integration/generated/update_campaign_expected_files_chrysalis.sh

100644100755
File mode changed.

tests/integration/template_directions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,16 @@ python -u -m unittest tests/integration/test_bundles.py
6060

6161
```
6262
cd <top level of zppy repo>
63+
chmod u+x tests/integration/generated/update_campaign_expected_files_#expand machine#.sh
6364
./tests/integration/generated/update_campaign_expected_files_#expand machine#.sh
6465
```
66+
This command also runs the test again.
67+
If the test fails on `test_campaign_high_res_v1`, try running the lines of the loop manually:
68+
```
69+
rm -rf #expand expected_dir#test_campaign_high_res_v1_expected_files
70+
mkdir -p #expand expected_dir#test_campaign_high_res_v1_expected_files
71+
mv test_campaign_high_res_v1_output/post/scripts/*.settings #expand expected_dir#test_campaign_high_res_v1_expected_files
72+
```
6573

6674
### test_complete_run
6775

0 commit comments

Comments
 (0)