Skip to content

Commit 33ba31e

Browse files
committed
update example script
1 parent ed2b5f0 commit 33ba31e

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[#]
2+
sets = ["lat_lon_native"]
3+
case_id = "model_vs_model"
4+
variables = ["TGCLDLWP"]
5+
seasons = ["ANN", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "DJF", "MAM", "JJA", "SON"]
6+
#regions = ["global"]
7+
regions = ["global", "30S30N-150E90W"]
8+
#test_colormap = "Blues"
9+
#reference_colormap = "Blues"
10+
diff_colormap = "RdBu"
11+
contour_levels = [10, 25, 50, 75, 100, 125, 150, 175, 200,225, 250]
12+
diff_levels = [-35, -30, -25, -20, -15, -10, -5, 5, 10, 15, 20, 25, 30, 35]

examples/lat_lon_native/run_native_grid_test.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,19 @@
3131

3232
param.case_id = "model_vs_model"
3333

34-
param.variables = ["TGCLDLWP"]
35-
param.regions = ["global"]
36-
## Variables to plot
37-
# param.variables = ["PRECC"]
38-
# param.seasons = ["ANN"]
39-
# param.seasons = ["DJF"]
40-
# param.regions = ["global"]
41-
# param.regions = ["60S60N"]
42-
4334
# Time slices for snapshot-based analysis
4435
param.time_slices = ["0"]
45-
param.seasons = ["ANN"]
4636

4737
# Native grid settings
4838
param.test_grid_file = "/lcrc/group/e3sm/diagnostics/grids/ne30pg2.nc"
4939
param.ref_grid_file = "/lcrc/group/e3sm/diagnostics/grids/ne30pg2.nc"
5040

5141
param.antialiased = False
5242

53-
## No reference data for this test - model only
43+
## If no reference data for this test - model only
5444
# param.model_only = True
5545
param.run_type = "model_vs_model"
5646

57-
# Plot settings
58-
# param.contour_levels = [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 20]
59-
# param.test_colormap = 'WhiteBlueGreenYellowRed.rgb'
60-
# param.test_colormap = "plasma"
61-
6247
# Run the diagnostic
6348
runner.sets_to_run = ["lat_lon_native"]
6449
runner.run_diags([param])

0 commit comments

Comments
 (0)