obspy.io.sac.arrayio.init_header_arrays

init_header_arrays(arrays=('float', 'int', 'str'), byteorder='=')[source]

Initialize arbitrary header arrays.

Parameters:
  • arrays (tuple(float, int, str)) – Specify which arrays to initialize and the desired order. If omitted, returned arrays are (‘float’, ‘int’, ‘str’), in that order.

  • byteorder (str) – Desired byte order of initialized arrays (little, native, big) as {‘<’, ‘=’, ‘>’}.

Return type:

list(ndarray)

Returns:

The desired SAC header arrays.