12 PEcAn workflow (web/workflow.R)

  • How the workflow works
  • How each module is called
  • How to do outside of web interface
  • Link to “folder structure” section below for detailed descriptions

12.0.1 Read Settings

(TODO: Under construction…)

12.0.2 Input Conversions

12.0.3 Input Data

Models require input data as drivers, parameters, and boundary conditions. In order to make a variety of data sources that have unique formats compatible with models, conversion scripts are written to convert them into a PEcAn standard format. That format is a netcdf file with variables names and specified to our standard variable table.

Within the PEcAn repository, code pertaining to input conversion is in the MODULES directory under the data.atmosphere and data.land directories.

12.0.4 Initial Conditions

(TODO: Under construction)

12.0.5 Meteorological Data

To convert meterological data into the PEcAn Standard and then into model formats we follow four main steps:

  1. Downloading raw data - Currently supported products - Example Code
  2. Converting raw data into a CF standard - Example Code
  3. Downscaling and gapfilling - Example Code
  4. Coverting to Model Specific format - Example Code

Common Questions regarding Met Data:

How do I add my Meterological data product to PEcAn? How do I use PEcAn to convert Met data outide the workflow?

The main script that handles Met Processing, is met.process. It acts as a wrapper function that calls individual modules to facilitate the processing of meteorological data from it’s original form to a pecan standard, and then from that standard to model specific formats. It also handles recording these processes in the BETY database.

  1. Downloading raw data - Available Meteorological Drivers - Example Code to download Ameriflux data
  2. Converting raw data into a CF standard (if needed) - Example Code to convert from raw csv to CF standard
  3. Downscaling and gapfilling(if needed) - Example Code to gapfill
  4. Coverting to Model Specific format - Example Code to convert Standard into Sipnet format Downloading Raw data (Description of Process)

Given the information passed from the pecan.xml met.process will call the download.raw.met.module to facilitate the execution of the necessary functions to download raw data.

12.0.6 Converting raw data to PEcAn standard

12.0.7 Downscaling and gapfilling (optional)

12.0.8 Converting from PEcAn standard to model-specific format

12.0.9 Traits

(TODO: Under construction)

12.0.10 Meta Analysis

(TODO: Under construction)

12.0.11 Model Configuration

(TODO: Under construction)

12.0.12 Run Execution

(TODO: Under construction)

12.0.13 Post Run Analysis

(TODO: Under construction) ### Advanced Analysis {#workflow-advanced}

(TODO: Under construction)