Commit 06436aa2 authored by Javier Quinteros's avatar Javier Quinteros
Browse files

Rename the project to daslib

parent 1a4ecdf5
include dasscripts/data/filters/*.*
include daslib/data/filters/*.*
dasscripts
==========
daslib
======
.. image:: https://img.shields.io/pypi/v/dasscripts.svg
:target: https://img.shields.io/pypi/v/dasscripts.svg
.. image:: https://img.shields.io/pypi/v/daslib.svg
:target: https://img.shields.io/pypi/v/daslib.svg
.. image:: https://img.shields.io/pypi/pyversions/dasscripts.svg
:target: https://img.shields.io/pypi/pyversions/dasscripts.svg
.. image:: https://img.shields.io/pypi/pyversions/daslib.svg
:target: https://img.shields.io/pypi/pyversions/daslib.svg
.. image:: https://img.shields.io/pypi/format/dasscripts.svg
:target: https://img.shields.io/pypi/format/dasscripts.svg
.. image:: https://img.shields.io/pypi/format/daslib.svg
:target: https://img.shields.io/pypi/format/daslib.svg
.. image:: https://img.shields.io/pypi/status/dasscripts.svg
:target: https://img.shields.io/pypi/status/dasscripts.svg
.. image:: https://img.shields.io/pypi/status/daslib.svg
:target: https://img.shields.io/pypi/status/daslib.svg
Scripts to work with data generated by DAS systems.
Tools to work with data generated by DAS systems.
Overview
--------
This package provides a set of scripts to read, manipulate and convert seismic waveforms
This package provides a set of tools to read, manipulate and convert seismic waveforms
generated by DAS systems. In particular, the ones saved in TDMs format.
dasconv
......
__version__ = '0.5b3'
......@@ -23,8 +23,8 @@ import pprint
import datetime
from obspy import Trace
from .tdms import TDMS
from dasscripts import __version__
import dasscripts.archive as da
from daslib import __version__
import daslib.archive as da
import inspect
......
# -*- coding: utf-8 -*-
#
# dasscripts documentation build configuration file, created by
# daslib documentation build configuration file, created by
# sphinx-quickstart on Dec 19 21:39:29 2019.
#
# This file is execfile()d with the current directory set to its
......@@ -14,7 +14,7 @@
import sys
import os
from dasscripts import __version__
from daslib import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
......@@ -47,8 +47,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'dasscripts'
copyright = u'2019-2020, Javier Quinteros - Deutsches GFZ Potsdam'
project = u'daslib'
copyright = u'2019-2021, Javier Quinteros - Deutsches GFZ Potsdam'
author = u'Javier Quinteros'
# The version info for the project you're documenting, acts as replacement for
......@@ -121,7 +121,7 @@ html_theme_options = {
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = 'Dasscripts Documentation'
html_title = 'Daslib Documentation'
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None
......@@ -187,7 +187,7 @@ html_static_path = ['.static']
# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'Dasscripts-doc'
htmlhelp_basename = 'Daslib-doc'
# -- Options for LaTeX output ---------------------------------------------
......@@ -208,7 +208,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'Dasscripts-Documentation.tex', u'Dasscripts Documentation',
('index', 'Daslib-Documentation.tex', u'Daslib Documentation',
u'Javier Quinteros', 'manual')
]
......@@ -238,7 +238,7 @@ latex_logo = 'GFZ-logo.jpg'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'dasscripts', u'Dasscripts Documentation',
('index', 'daslib', u'Daslib Documentation',
[u'Javier Quinteros'], 1)
]
......@@ -252,8 +252,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Dasscripts', u'Dasscripts Documentation',
u'Javier Quinteros', 'Dasscripts', 'Scripts to convert and manage data from DAS systems.',
('index', 'Daslib', u'Daslib Documentation',
u'Javier Quinteros', 'Daslib', 'Tools to convert and manage data from DAS systems.',
'Miscellaneous'),
]
......
Dasscripts documentation
########################
Daslib documentation
####################
.. toctree::
:maxdepth: 2
......
Dasscripts User documentation
#############################
Daslib User documentation
#########################
Summary
=======
Dasscripts is basically a set of scripts to properly manage seismic
Daslib is basically a set of tools to properly manage seismic
waveforms from DAS systems.
......@@ -41,7 +41,7 @@ Installation
This software can be easily installed by means of pip with the following command ::
$ sudo pip install dasscripts
$ sudo pip install daslib
Optionally you could run it as a normal user (no sudo) and deploy it locally.
......@@ -50,13 +50,13 @@ Optionally you could run it as a normal user (no sudo) and deploy it locally.
Installation from source code
-----------------------------
You can always get the latest version of Dasscripts from its repository using git ::
You can always get the latest version of daslib from its repository using git ::
$ git clone https://gitext.gfz-potsdam.de/javier/dasscripts.git
$ git clone https://github.com/GEOFON/daslib.git
This will create a folder called dasscripts from which you can install the software ::
This will create a folder called daslib from which you can install the software ::
$ cd dasscripts
$ cd daslib
$ sudo python3 setup.py install
Running the code
......@@ -162,8 +162,6 @@ one or more formats which could provide some benefit compared to mSEED (e.g. mor
the compression achieved was only 18% of the total size. With this level of compression is not worth to migrate the
data to a non 100% standard format.
5:30 minutes with 830 channels can be converted to mSEED (no loss of data) in 1:19 minuted in a Mac laptop.
Testing the service
-------------------
......
......@@ -36,18 +36,18 @@ def get_description(rel_path):
setup(
name='dasscripts',
name='daslib',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=get_version("dasscripts/__init__.py"),
version=get_version("daslib/__init__.py"),
description='dasscripts: Scripts to work with data generated by DAS systems',
description='daslib: Tools to work with data generated by DAS systems',
long_description=get_description('README.rst'),
# The project's main homepage.
url='https://gitext.gfz-potsdam.de/javier/dasscripts',
url='https://github.com/GEOFON/daslib',
# Author details
author='Javier Quinteros',
......@@ -71,7 +71,7 @@ setup(
# 'Intended Audience :: Seismologists',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
......@@ -81,6 +81,8 @@ setup(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
......@@ -97,7 +99,7 @@ setup(
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["whatever"],
provides=["dasscripts"],
provides=["daslib"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
......@@ -129,14 +131,14 @@ setup(
# (path.join('/', path.expanduser('~'), '.owndc', 'data'), ['data/masterTable.xml'])
# ],
package_data={'dasscripts': ['data/filters/*.txt', 'data/*.wadl']},
package_data={'daslib': ['data/filters/*.txt', 'data/*.wadl']},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points='''
[console_scripts]
dasconv=dasscripts.dasconv:main
tdmsws=dasscripts.tdmsws:main
dasconv=daslib.dasconv:main
tdmsws=daslib.tdmsws:main
'''
)
......@@ -24,7 +24,7 @@ import unittest
from obspy import Trace
from obspy import Stream
from obspy import read
from dasscripts.tdms import TDMS
from daslib.tdms import TDMS
import urllib.request as ul
from urllib.error import HTTPError
......
[tox]
envlist = py36
envlist = py39
[testenv]
# install testing framework
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment