-
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.
Update intercomparison with cmip models workflow (#786)
- Loading branch information
1 parent
3061cec
commit 434ab8c
Showing
5 changed files
with
89 additions
and
19 deletions.
There are no files selected for viewing
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,53 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name=e3sm_diags_{{ model }} | ||
#SBATCH --nodes=1 | ||
#SBATCH --output=e3sm_diags_{{ model }}.o%j | ||
#SBATCH --exclusive | ||
#SBATCH --time=02:00:00 | ||
|
||
# Load environment | ||
#source /export/golaz1/conda/etc/profile.d/conda.sh | ||
#conda activate e3sm_diags_env_dev | ||
source /p/user_pub/e3sm_unified/envs/load_latest_e3sm_unified_acme1.sh | ||
|
||
# Make sure UVCDAT doesn't prompt us about anonymous logging | ||
export UVCDAT_ANONYMOUS_LOG=False | ||
|
||
# Run E3SM Diags | ||
time python << EOF | ||
import os | ||
from e3sm_diags.parameter.core_parameter import CoreParameter | ||
from e3sm_diags.run import runner | ||
param = CoreParameter() | ||
param.test_data_path = '{{ simulation }}' | ||
param.short_test_name = '{{ institution }} {{ model }} {{ experiment }} ({{ realization }})' | ||
param.test_timeseries_input = True | ||
param.test_start_yr = '1985' | ||
param.test_end_yr = '2014' | ||
#param.reference_data_path = '/p/user_pub/e3sm/e3sm_diags_data/obs_for_e3sm_diags/climatology/' | ||
param.reference_data_path = '/p/user_pub/e3sm/diagnostics/observations/Atm/climatology_1985-2014' | ||
param.results_dir = '/var/www/acme/acme-diags/zhang40/CMIP6_20240109_1985-2014/{{ model }}/{{ experiment }}/{{ realization }}' | ||
param.multiprocessing = True | ||
param.num_workers = 16 | ||
#param.output_format_subplot = ["pdf", "png"] | ||
param.diff_title = '{{ model }} {{ experiment }} ({{ realization }}) vs Obs' | ||
# Use below to run all core sets of diags: | ||
#runner.sets_to_run = ['lat_lon','zonal_mean_xy', 'zonal_mean_2d', 'polar', 'cosp_histogram', 'meridional_mean_2d'] | ||
# Use below to run only a subset: | ||
runner.sets_to_run = ['lat_lon']#, 'zonal_mean_xy', 'zonal_mean_2d'] | ||
runner.run_diags([param]) | ||
EOF | ||
|
||
echo All done... | ||
|
||
|
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
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
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
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 |
---|---|---|
|
@@ -21,12 +21,17 @@ <h1>E3SM Diags for CMIP6</h1> | |
</div> | ||
|
||
<div class="container alert alert-warning" role="alert"> | ||
Warning: Data and plots presented on this page should be considered experimental and not used for publications. | ||
Warning: Data and plots presented on this page should be considered experimental. The "ripf" identifier uniquely distinguishes each member of an ensemble: "r" for realization, "i" for initialization, "p" for physics, and "f" for forcing. Only "r1i1p1f1" is included here. (CMIP archive access date: Jan 2024). | ||
|
||
Missing values (999.999) are resulted from missing data, incompatible metadata or unsupported grids or units with E3SM Diags. | ||
|
||
Contact: [email protected] | ||
|
||
</div> | ||
|
||
<div class="container"> | ||
|
||
<h1>AMIP simulations (1980-2014)</h1> | ||
<h1>AMIP simulations (1985-2014)</h1> | ||
|
||
<label for="select">Show RMSE for</label> | ||
<select id="amipSelect"> | ||
|
@@ -63,7 +68,7 @@ <h1>AMIP simulations (1980-2014)</h1> | |
<div class="col-xs-12" style="height:70px;"></div> | ||
<div class="container"> | ||
|
||
<h1>Historical simulations (1980-2014)</h1> | ||
<h1>Historical simulations (1985-2014)</h1> | ||
|
||
<label for="select">Show RMSE for</label> | ||
<select id="histSelect"> | ||
|