Skip to content

PPUG_Introduction

Alice Bertini edited this page Aug 29, 2016 · 16 revisions

Introduction to CESM Python Post Processing

The CESM python post processing repository code integrates light-weight parallel python tools developed by the NCAR CISL ASAP group and diagnostics plotting packages developed by the CESM Working Groups into a common framework that can be used to post process CESM data.

The post processing tools included in this repository follow a modular design where each tool performs a single function in the CESM post processing workflow. The workflow options and their corresponding functions are illustrated below with indentation indicating dependencies:

$CASEROOT/case.submit
CESM model run script
::$CASEROOT/case.st_archive
Model run output files copied and moved from the RUNDIR to the DOUT_S_ROOT location
::$PP_CASE_ROOT/timeseries
Convert model output history time slice data files to single variable time series files. Uses the env_timeseries.xml settings to define behavior.
::$PP_CASE_ROOT/[comp]_averages
Compute the component averages and climatologies where comp is in [atm, ice, lnd, ocn]. Works with either history time slice or variable time series data. If using variable time series data, then the timeseries process must complete first. Uses the env_postprocess.xml and env_diags_[comp].xml settings to define behavior.
::$PP_CASE_ROOT/lnd_regrid
Regrid the land climatology files (optional)
::$PP_CASE_ROOT/[comp]_diagnostics
Run the diagnostics plotting routines in parallel. Uses the env_postprocess.xml and env_diags_[comp].xml to define behavior.
::$PP_CASE_ROOT/copy_html
Copies html and plot files to a user specified web server. Uses the env_postprocess.xml to define behavior.