Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions esmvalcore/preprocessor/_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,15 +221,21 @@ def area_statistics(cube, operator, fx_files=None):
| `max` | Maximum value |
+------------+--------------------------------------------------+

If fx_files is provided, the variable's preprocessor chain will be applied
to each of the requested fx variables, up to and not including this step.

Parameters
----------
cube: iris.cube.Cube
Input cube.
operator: str
The operation, options: mean, median, min, max, std_dev, sum,
variance
fx_files: dict
dictionary of field:filename for the fx_files
fx_files: list
list of field:str short_name for the fx variables requested or
list of field:dict for the fx variables requested, including
but not limited to: keys: short_name, mip, experiment etc (at least
short_name required if dict)

Returns
-------
Expand Down
11 changes: 8 additions & 3 deletions esmvalcore/preprocessor/_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,21 @@ def volume_statistics(

The volume average is weighted acoording to the cell volume. Cell volume
is calculated from iris's cartography tool multiplied by the cell
thickness.
thickness. If fx_files is provided, the variable's preprocessor chain will
be applied to each of the requested fx variables, up to and not including
this step.

Parameters
----------
cube: iris.cube.Cube
Input cube.
operator: str
The operation to apply to the cube, options are: 'mean'.
fx_files: dict
dictionary of field:filename for the fx_files
fx_files: list
list of field:str short_name for the fx variables requested or
list of field:dict for the fx variables requested, including
but not limited to: keys: short_name, mip, experiment etc (at least
short_name required if dict)

Returns
-------
Expand Down