Browse Source

adding license, finish rename to das-convert

master
Marius Isken 3 weeks ago
parent
commit
b5e73dcb06
  1. 10
      README.md
  2. 20
      setup.py
  3. 4
      src/__init__.py
  4. 4
      src/app.py
  5. 4
      src/gfz_tapes.py
  6. 4
      src/idas_convert.py
  7. 4
      src/meta.py
  8. 4
      src/plugin.py
  9. 4
      src/telegram_bot.py
  10. 4
      src/utils.py

10
README.md

@ -84,3 +84,13 @@ idas_convert my_config.yml
```
See `idas_convert -h` for more options.
### Citation
DAS Convert - Convert distributed acoustic sensing data, Isken, Marius Paul; Christopher, Wollin; Heimann, Sebastian; Javier, Quinteros; Karl-Heinz, Jäckel; Philippe, Jousset (2021): DAS Convert - Convert distributed acoustic sensing data. V. 1.0. GFZ Data Services. https://doi.org/10.5880/GFZ.2.1.2021.005
### Copyright
```
GFZ German Research Centre for Geosciences GFZ, Telegrafenberg, 14473 Potsdam, Germany
```

20
setup.py

@ -1,26 +1,24 @@
import setuptools
setuptools.setup(
name="idas-convert",
name="das-convert",
version="0.1.0",
author="Marius Paul Isken",
author_email="mi@gfz-potsdam.de",
description="Convert iDAS TDMS data to anything",
description="Convert seismic DAS data to anything",
url="https://git.pyrocko.org/pyrocko/idas-convert",
package_dir={
'idas_convert': 'src'
},
package_dir={"das_convert": "src"},
packages=[
'idas_convert',
"das_convert",
],
entry_points={
'console_scripts': [
'idas_convert = idas_convert.app:main',
]},
"console_scripts": [
"das_convert = das_convert.app:main",
]
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
python_requires=">=3.6",
)

4
src/__init__.py

@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
from . import gfz_tapes # noqa
from . import telegram_bot # noqa

4
src/app.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
import logging
import argparse
import logging

4
src/gfz_tapes.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
import os
import time
import logging

4
src/idas_convert.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
import os
import re
import logging

4
src/meta.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
from pyrocko.guts import TBase, ValidationError, String
MAG = dict(k=3, M=6, G=9, T=12, P=15)

4
src/plugin.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
from pyrocko.guts import Object, Bool
PLUGINS_AVAILABLE = []

4
src/telegram_bot.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
import logging
from time import time
from datetime import timedelta

4
src/utils.py

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 GFZ German Research Centre for Geosciences
#
# SPDX-License-Identifier: GLP-3.0-or-later
def sizeof_fmt(num, suffix='B'):
for unit in ['', 'Ki', 'Mi', 'Gi', 'Ti', 'Pi', 'Ei', 'Zi']:
if abs(num) < 1024.0:

Loading…
Cancel
Save