travis-ci
263103 of 304987 relevant lines covered (86.27%)
1.0 hits per line
1 |
# -*- coding: utf-8 -*-
|
|
2 |
"""
|
1,618 all except ✔ |
3 |
Headers for obspy.io.seg2. |
714 all except ✔ |
4 |
|
749 all except ✔ |
5 |
:copyright: |
449 all except ✔ |
6 |
Lion Krischer (krischer@geophysik.uni-muenchen.de), 2011 |
1,008 all except ✔ |
7 |
:license: |
834 all except ✔ |
8 |
GNU Lesser General Public License, Version 3 |
1,064 all except ✔ |
9 |
(https://www.gnu.org/copyleft/lesser.html) |
610 all except ✔ |
10 |
"""
|
939 all except ✔ |
11 |
from __future__ import (absolute_import, division, print_function, |
1,260 all except ✔ |
12 |
unicode_literals) |
939 all except ✔ |
13 |
from future.builtins import * # NOQA |
896 all except ✔ |
14 |
|
1,079 all except ✔ |
15 |
|
1,094 all except ✔ |
16 |
MONTHS = {'jan': 1, |
1,240 all except ✔ |
17 |
'feb': 2, |
1,211 all except ✔ |
18 |
'mar': 3, |
1,130 all except ✔ |
19 |
'apr': 4, |
875 all except ✔ |
20 |
'may': 5, |
1,021 all except ✔ |
21 |
'jun': 6, |
859 all except ✔ |
22 |
'jul': 7, |
986 all except ✔ |
23 |
'aug': 8, |
739 all except ✔ |
24 |
'sep': 9, |
861 all except ✔ |
25 |
'oct': 10, |
920 all except ✔ |
26 |
'nov': 11, |
742 all except ✔ |
27 |
'dec': 12, |
802 all except ✔ |
28 |
'1': 1, |
834 all except ✔ |
29 |
'2': 2, |
701 all except ✔ |
30 |
'3': 3, |
818 all except ✔ |
31 |
'4': 4, |
709 all except ✔ |
32 |
'5': 5, |
734 all except ✔ |
33 |
'6': 6, |
750 all except ✔ |
34 |
'7': 7, |
762 all except ✔ |
35 |
'8': 8, |
724 all except ✔ |
36 |
'9': 9, |
766 all except ✔ |
37 |
'10': 10, |
619 all except ✔ |
38 |
'11': 11, |
607 all except ✔ |
39 |
'12': 12, |
693 all except ✔ |
40 |
'01': 1, |
678 all except ✔ |
41 |
'02': 2, |
716 all except ✔ |
42 |
'03': 3, |
631 all except ✔ |
43 |
'04': 4, |
762 all except ✔ |
44 |
'05': 5, |
724 all except ✔ |
45 |
'06': 6, |
633 all except ✔ |
46 |
'07': 7, |
665 all except ✔ |
47 |
'08': 8, |
686 all except ✔ |
48 |
'09': 9 |
651 all except ✔ |
49 |
} |
641 all except ✔ |