create_s104

s100py.s104.v2_0.utils.create_s104(output_file, dcf, uncertainty=False)

Creates or updates an S104File object. Default values are set for any data that doesn’t have options or are mandatory to be filled in the S104 spec.

Parameters:
  • output_file – S104File object

  • dcf – S100 Data Coding Format (Int)

  • uncertainty – (Bool, optional, default is False) Feature attribute uncertainty, which represents the uncertainty at a particular grid point, may be omitted if the uncertainty is unknown or the same value at all grid points, if True the feature attribute with mandatory values are added to Group_F.

Returns:

The S104File object created or updated by this function.

Return type:

data_file