PISM, A Parallel Ice Sheet Model stable 0.4.1779
Functions | Variables

vnreport Namespace Reference

Plots error graphs using pismv of vfnow.py report files. More...

Functions

def plot_errors
def plot_tests
def print_help

Variables

 tests_to_plot = None
 input = None
tuple nc = NC(input, 'r')
tuple available_tests = unique(array(map(chr, nc.variables['test'][:])))

Detailed Description

Plots error graphs using pismv of vfnow.py report files.

Has two command-line options: -i specifies a pismv report file to use, -t selects tests to plot. Use "-t all" to plot error graphs using all the error reports saved in a file given with -i.

For example:

 vnreport.py -i r1084.nc -t G,B
 

will use r1084.nc and plot tests "G" and "B".


Function Documentation

def vnreport::plot_errors (   nc,
  x,
  vars,
  testname,
  plot_title,
  filename = None 
)

Definition at line 27 of file vnreport.py.

def vnreport::plot_tests (   nc,
  list_of_tests 
)

Definition at line 110 of file vnreport.py.

def vnreport::print_help ( )

Definition at line 166 of file vnreport.py.


Variable Documentation

tuple available_tests = unique(array(map(chr, nc.variables['test'][:])))

Definition at line 189 of file vnreport.py.

input = None
tuple nc = NC(input, 'r')
tuple tests_to_plot = None

Definition at line 175 of file vnreport.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines