outspec.py

Script for dealing with the output specification csv file.

Some of the command line options will simply print info about the file to the screen, while others will modify the file. It should be obvious from the names of the command line options whether it is an “edit” or a “view” action.

usage: outspec.py [-h] [--print-file] [--list-vars] [--show-yearly-vars] [--show-monthly-vars] [--show-daily-vars] [--show-pft-vars] [--show-compartment-vars]
                  [--show-layer-vars] [--show-options VAR] [-s] [--enable-cal-vars] [--enable-all-yearly] [--max-output] [--max-yearly] [--max-monthly]
                  [--on VAR [RES ...]] [--off VAR] [--empty] [--DEBUG]
                  FILE

Positional Arguments

FILE

The file to analyze.

Named Arguments

--print-file

Print a nicely formatted version of the file to the console.

Default: False

--list-vars

List all available variables.

Default: False

--show-yearly-vars

Print all variables available at yearly timestep.

Default: False

--show-monthly-vars

Print all variables available at monthly timestep.

Default: False

--show-daily-vars

Print all variables available at daily timestep.

Default: False

--show-pft-vars

Print all variables available by PFT.

Default: False

--show-compartment-vars

Print all variables available by Compartment.

Default: False

--show-layer-vars

Print all variables available by Layer.

Default: False

--show-options
Show valid options for a specific

variable

-s, --summary
Print out all the variables that are enabled in

the file.

Default: False

--enable-cal-vars

Enable netcdf outputs for all the calibration target variables.

Default: False

--enable-all-yearly

Enable all yearly ecosystem-level outputs.

Default: False

--max-output

Enable all outputs at the finest detail available

Default: False

--max-yearly

Enable all yearly outputs at the finest detail available

Default: False

--max-monthly

Enable all monthly outputs at the finest detail available

Default: False

--on
Turn the selected variable on at the selected

resolution.

--off
--empty

Turn off every variable in the file for all resolutions.

Default: False

--DEBUG

Print extra info for debugging.

Default: False