fdb hammer

Description

Mimic the load produced by a writing process (I/O server) within a forecast simulation.

This tool takes a sample GRIB file containing one field, and repeatedly resets the metadata keys on this GRIB before writing the contents to the configured FDB. The data written in each iteration is unchanged.

Usage

fdb hammer [--statistics] [--read] [–nensembles=] [--number=<n>] --nsteps=<nsteps> --nlevels=<nlevels> --nparams=<nparams> --expver=<expver> --class=<class> <grib_path>

Options

--statistics

Report statistics after the run

--read

Read rather than write the data

--nsteps=integer

Number of steps. Data will be flushed after each step

--nensembles=integer

Number of ensemble members. If specified, GRIB supplied must support keyword number.

--nlevels=integer

Number of levels

--nparams=integer

Number of parameters

--expver=string

Expver to set on the data

--class=string

Class to set on the data

--number=integer

The first ensemble member number to use

--config=string

FDB configuration filename.