-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fix for checking
is_time_series()
property based on data_type
…
… attr (#881)
- Loading branch information
1 parent
e4e7c86
commit 111d98b
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
auxiliary_tools/cdat_regression_testing/877-attr-error/run_script.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import os | ||
from e3sm_diags.parameter.core_parameter import CoreParameter | ||
from e3sm_diags.run import runner | ||
|
||
param = CoreParameter() | ||
|
||
param.reference_data_path = ( | ||
"/global/cfs/cdirs/e3sm/diagnostics/observations/Atm/time-series" | ||
) | ||
param.test_data_path = "/global/cfs/cdirs/e3sm/chengzhu/eamxx/post/data/rgr" | ||
param.test_name = "eamxx_decadal" | ||
param.seasons = ["ANN"] | ||
# param.save_netcdf = True | ||
|
||
param.ref_timeseries_input = True | ||
# Years to slice the ref data, base this off the years in the filenames. | ||
param.ref_start_yr = "1996" | ||
param.ref_end_yr = "1996" | ||
|
||
prefix = "/global/cfs/cdirs/e3sm/www/cdat-migration-fy24/877-attr-err" | ||
param.results_dir = os.path.join(prefix, "eamxx_decadal_1996_1024_edv2") | ||
|
||
runner.sets_to_run = [ | ||
"lat_lon", | ||
# "zonal_mean_xy", | ||
# "zonal_mean_2d", | ||
# "zonal_mean_2d_stratosphere", | ||
# "polar", | ||
# "cosp_histogram", | ||
# "meridional_mean_2d", | ||
# "annual_cycle_zonal_mean", | ||
] | ||
|
||
runner.run_diags([param]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters