-
Make sure that Docker is installed and running on your machine. To check this, run the command below and you should see some output.
docker info
-
View all of the
e3sm_diags
images.docker images | grep e3sm_diags
If the version you want to use is already available, then please continue to step 4.
Otherwise, you'll need to download the image you want, shown in step 3.
-
If the specific version you want or the
latest
image is not shown, download it. You can view all of the images available on the e3sm_diags Docker Hub. Below, we are getting the image with thelatest
tag:docker pull e3sm/e3sm_diags:latest
-
Clone the
e3sm_diags
repo, and go to the test directory.git clone https://github.com/E3SM-Project/e3sm_diags.git cd e3sm_diags/tests/system/
-
wget
orcurl
the script to run the container.wget https://raw.githubusercontent.com/E3SM-Project/e3sm_diags/master/acme_diags/container/e3sm_diags_container.py # Or use this: curl -O https://raw.githubusercontent.com/E3SM-Project/e3sm_diags/master/acme_diags/container/e3sm_diags_container.py
-
Run your diagnostics and examine the sample output.
python e3sm_diags_container.py --docker -p all_sets.py -d all_sets.cfg
- Tip: You can select the version of the container you want to run with the
--container_version
argument. If this argument isn't defined, it defaults to thelatest
container.python e3sm_diags_container.py --docker --container_version v1.6.0 -p all_sets.py -d all_sets.cfg
To run other, more interesting diagnostics, you must download the data from one of our supported machines (ALCF Cooley, or NERSC Cori/Edison). For more information on the format of the input data, please see the input data requirements.
Below are the paths to the observational data:
- NERSC:
- Climatology data (6GB):
/global/project/projectdirs/acme/acme_diags/obs_for_e3sm_diags/climatology/
- Time-series data (145GB):
/global/project/projectdirs/acme/acme_diags/obs_for_e3sm_diags/time-series/
- Climatology data (6GB):
- ALCF:
- Climatology data (6GB):
/lus/theta-fs0/projects/ClimateEnergy_3/e3sm_diags/obs_for_e3sm_diags/climatology/
- Time-series data (145GB):
/lus/theta-fs0/projects/ClimateEnergy_3/e3sm_diags/obs_for_e3sm_diags/time-series/
- Climatology data (6GB):
We also have sample model data as well. You can use your own model data as well, either climatology or time-series files created via nco
.
- NERSC:
- Time-series data (107GB):
/global/project/projectdirs/acme/acme_diags/test_model_data_for_acme_diags/time-series/
- We have E3SM v1 data (94GB) and CESM1-CAM5 CMIP data (14GB).
- Climatology data (42GB):
/global/project/projectdirs/acme/acme_diags/test_model_data_for_acme_diags/climatology/
- We have data from three models in this dir, from about 11.5GB to 19GB.
- Time-series data (107GB):
- ALCF:
- Time-series data (107GB):
/lus/theta-fs0/projects/ClimateEnergy_3/e3sm_diags/test_model_data_for_e3sm_diags/time-series/
- We have E3SM v1 data (94GB) and CESM1-CAM5 CMIP data (14GB).
- Climatology data (42GB):
/lus/theta-fs0/projects/ClimateEnergy_3/e3sm_diags/test_model_data_for_e3sm_diags/climatology/
- We have data from three models in this dir, from about 11.5GB to 19GB.
- Time-series data (107GB):
Once the data is downloaded you can follow one of the many examples that we have on our documentation website. Some points to remember:
- You must change the
reference_data_path
andtest_data_path
accordingly. - Every instance of
e3sm_diags
should bepython e3sm_diags_container.py --docker
.- Ex: Use
python e3sm_diags_container.py --docker -p myparams.py
instead ofe3sm_diags -p myparams.py
.
- Ex: Use