obspy.io.nied.knet._read_knet_hdr

_read_knet_hdr(hdrlines, convert_stnm=False, **kwargs)[source]

Read the header values into a dictionary.

Parameters:
  • hdrlines (list) List of the header lines of a a K-NET/KiK-net ASCII file
  • convert_stnm (bool) For station names with 6 letters write the last two letters of the station code to the ‘location’ field