Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

# -*- coding: utf-8 -*- 

 

from obspy.xseed.blockette import Blockette 

from obspy.xseed.fields import Integer, VariableString, FixedString 

 

 

class Blockette031(Blockette): 

    """ 

    Blockette 031: Comment Description Blockette. 

 

    Station operators, data collection centers, and data management centers 

    can add descriptive comments to data to indicate problems encountered or 

    special situations. 

 

    Sample: 

    03100720750Stime correction does not include leap second, (-1000ms).~000 

    """ 

    id = 31 

    name = "Comment Description" 

    fields = [ 

        Integer(3, "Comment code key", 4), 

        FixedString(4, "Comment class code", 1), 

        VariableString(5, "Description of comment", 1, 70, 'UNLPS'), 

        Integer(6, "Units of comment level", 3, ignore=True) 

    ]