write_file_header_block

subsurface.writer.to_rex.gempy_to_rexfile.write_file_header_block(n_data_blocks, size_data_blocks, version=1, start_data=86, srid=3876, offsets=None)[source]

Function that writes the header block of a rexfile:

Parameters
  • n_data_blocks

  • size_data_blocks

  • version (int) – Version of the file

  • start_data (int) – Position where data start. This is after the header and coordinate system. If everything works fine it should be 86

  • srid (int) – Spatial reference system identifier (srid)

  • offsets

Returns: