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

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

 

from obspy.xseed.blockette import Blockette 

from obspy.xseed.fields import Integer, VariableString 

 

 

class Blockette033(Blockette): 

    """ 

    Blockette 033: Generic Abbreviation Blockette. 

 

    Sample: 

    0330055001(GSN) Global Seismograph Network (IRIS/USGS)~ 

    """ 

    id = 33 

    name = "Generic Abbreviation" 

    fields = [ 

        Integer(3, "Abbreviation lookup code", 3), 

        VariableString(4, "Abbreviation description", 1, 50, 'UNLPS') 

    ]