Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the “Notes” section, mention if a job failed or if you changed anything before re-running a job.

Global time series

Load the E3SM unified environment. For LCRC machines, this is: source /lcrc/soft/climate/e3sm-unified/load_latest_e3sm_unified.sh. Commands for other machines can be found at Run the following commands:

Code Block
cd <post_processing_script_dir>/zppy/global_time_series
# Edit the variables at the top of `generate_global_time_series_plots.sh`
# See below for an explanation of the variables
./generate_global_time_series_plots.sh

Explanation of variables:

Code Block
# For unified environment paths, see https://e3sm-project.github.io/e3sm_diags/docs/html/quickguides/quick-guide-general.html

...

Then run the following commands:

NOTE: the scripts global_time_series_plots/ocean_month.py and global_time_series_plots/coupled_global.py will be made available soon.

Code Block
# Create xml files for atm
cd <simulations_dir>/<case_name>/post/atm/glb/ts/monthly/10yr
cdscan -x glb.xml *.nc # produces a file named `glb.xml`

# Create ocean time series
unified_script=<the path to the unified environment script. Do NOT include `source`>                                                               
e3sm_simulations_dir=<simulations_dir>
case_dir=${e3sm_simulations_dir}/<case_name>
# For web directory paths,    
mkdir -p <simulations_dir>/<case_name>/post/ocn/glb/ts/monthly/10yr # Create subdirectories
cd <path>/global_time_series_plots
# Change `path_in` and `path_out` in ocean_month.py.
python ocean_month.py

# Create xml for for ocnsee https://e3sm-project.github.io/e3sm_diags/docs/html/quickguides/quick-guide-general.html
web_dir=<html_path>/E3SM/v2/beta/<case_name>
zppy_dir=<post_processing_script_dir>/zppy/

# Names                                                                  
cd <simulations_dir>/<case_name>/post/ocn/glb/ts/monthly/10yr
cdscan -x glb.xml *.nc # produces a file named `glb.xml`

# Copy moc file
cd <simulations_dir>/<case_name>/post/analysis/mpas_analysis/cache/timeseries/moc
cp mocTimeSeries_0001-0050.nc ../../../../../ocn/glb/ts/monthly/10yr/

# Update time series figures
cd <path>/global_time_series_plotsmoc_file=<e.g., mocTimeSeries_0001-0100.nc>
experiment_name=<e.g., 20210122.v2_test01.piControl.chrysalis>
figstr=<e.g., coupled_v2_test01>

# Years                                                                  
start_yr=<first year to               
# Add a dictionary of relevant file paths to `exps` in `coupled_global.py`
python coupled_global.py

That will produce coupled_v2_test02.pdf and coupled_v2_test02.png.

Two options to obtain the image on your computer.

...

process>
end_yr=<last year to process>

That will produce <figstr>.pdf and <figstr>.png. The latter will be available automatically at <web_address>/E3SM/v2/beta/<case_name>/

...

<figstr>.png, where <web_address> can be found on https://

...

e3sm-project.github.io/e3sm_diags/docs/html/quickguides/quick-guide-general.html. You can download the image from the website and then upload it to your Confluence page.

You can also scp the image directly to your computer. For Chrysalis, you’d run the following command

...

on your computer: scp <username>@chrysalis.lcrc.anl.gov:

...

<zppy_dir>/global_time_series

...

Once you have the image on your computer you can download it to your page/<figstr>.png .

E3SM Diags

The template page already includes baseline diagnostics. Add your own diagnostics links labeled as <start_year>-<end_year>.

...