MARS

Specifies the number of bits per value used in the target GRIB messages.

accuracy=<value>

A positive integer may be given to specify the preferred number of bits per packed value. This must not be greater than the number of bits normally used for a Fortran integer on the processor handling the request (typically 32 or 64 bit).

The archived accuracy is specific for each parameter and in general not identical to the default accuracies used in dissemination. The accuracy of fields in a grib file can be found using the ecCodes command:

grib_ls -P bitsPerValue <grib_file>


ValueComment
off

same as av, default

avuse the accuracy of the archived field
nthe number of bits per value in the target field

Fields resulting from a MARS compute request are by default coded with 24 bits per value. To set the accuracy of the result field to that of the first field used in the formula, accuracy=av can be specified.

Dissemination

Specifies the number of bits per value used in the target GRIB messages.

accuracy=<value>

A positive integer may be given to specify the preferred number of bits per packed value. This must not be greater than the number of bits normally used for a Fortran integer on the processor handling the request (typically 32 or 64 bit).

The default accuracy is specific for each parameter and in general not identical to those for fields archive in in MARS. The accuracy of fields in a grib file can be found using the ecCodes command:

grib_ls -P bitsPerValue <grib_file>


ValueComment
off

same as av, default

avuse the accuracy of the archived field
nthe number of bits per value in the target field


Examples

ParameterMARS bit per valueDissemination bit per value
CI168

To get the archived accuracy for ci in dissemination:

disseminate,
type = fc,
stream = oper,
levtype = sfc,
param = ci,
time = 0000,
step = 3,
accuracy=av