Skip to content

Commit 9c5234b

Browse files
committed
Add regression testing notebooks
1 parent 40de792 commit 9c5234b

File tree

9 files changed

+9188
-1345
lines changed

9 files changed

+9188
-1345
lines changed
Lines changed: 1327 additions & 1326 deletions
Large diffs are not rendered by default.

auxiliary_tools/cdat_regression_testing/861-time-series-multiple/all-ts-datasets/png.ipynb

Lines changed: 2846 additions & 0 deletions
Large diffs are not rendered by default.

auxiliary_tools/cdat_regression_testing/861-time-series-multiple/all-ts-datasets/run_script.py

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
ZonalMean2dStratosphereParameter,
3939
)
4040
from e3sm_diags.run import runner
41-
import timeit
4241

4342

4443
class MachinePaths(TypedDict):
@@ -67,7 +66,9 @@ def run_all_sets():
6766
"ANN",
6867
"JJA",
6968
] # Default setting: seasons = ["ANN", "DJF", "MAM", "JJA", "SON"]
70-
param.results_dir = "qa/861-time-series-multiple"
69+
param.results_dir = (
70+
"/global/cfs/cdirs/e3sm/www/cdat-migration-fy24/861-time-series-multiple"
71+
)
7172
param.multiprocessing = True
7273
param.num_workers = 24
7374

@@ -155,24 +156,24 @@ def run_all_sets():
155156

156157
param.save_netcdf = True
157158
runner.sets_to_run = [
158-
# "lat_lon",
159-
# "zonal_mean_xy",
160-
# "zonal_mean_2d",
161-
# "zonal_mean_2d_stratosphere",
162-
# "polar",
163-
# "cosp_histogram",
164-
# "meridional_mean_2d",
165-
# "annual_cycle_zonal_mean",
159+
"lat_lon",
160+
"zonal_mean_xy",
161+
"zonal_mean_2d",
162+
"zonal_mean_2d_stratosphere",
163+
"polar",
164+
"cosp_histogram",
165+
"meridional_mean_2d",
166+
"annual_cycle_zonal_mean",
166167
"enso_diags",
167168
"qbo",
168169
"area_mean_time_series",
169-
# "diurnal_cycle",
170+
"diurnal_cycle",
170171
"streamflow",
171172
"arm_diags",
172-
# "tc_analysis",
173-
# "aerosol_aeronet",
174-
# "aerosol_budget",
175-
# "mp_partition",
173+
"tc_analysis",
174+
"aerosol_aeronet",
175+
"aerosol_budget",
176+
"mp_partition",
176177
]
177178

178179
runner.run_diags(
@@ -282,8 +283,4 @@ def _get_test_data_dirs(machine: str) -> Tuple[str, str]:
282283

283284

284285
if __name__ == "__main__":
285-
start_time = timeit.default_timer()
286286
run_all_sets()
287-
end_time = timeit.default_timer()
288-
elapsed_time = end_time - start_time
289-
print(f"Elapsed time: {elapsed_time} seconds")

0 commit comments

Comments
 (0)