bitmap

bitmap(fs, value)
bitmap(fs, field)

Returns a copy of fs with none or more of its values replaced with the GRIB missing value indicator.

Parameters
  • fs (Fieldset) – input fieldset

  • value (number) – bitmap value

  • field (Fieldset) – bitmap fieldset

Return type

Fieldset

The behaviour of bitmap() depends on the arguments:

  • if value is specified, any value in fs being equal to it is replaced with the missing value indicator.

  • if field is specified with the same number of fields as fs, the result takes the arrangement of missing values from field.

  • if field contains only one field, the arrangement of missing values from that field are copied into all fields of the output fieldset.

See also nobitmap().