Skip to content

Instantly share code, notes, and snippets.

Tobias Megies megies

Block or report user

Report or block megies

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View array_analysis_rewrite_test_data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View log
$ ./build_conda_packages_linux.sh
mkdir: cannot create directory ‘conda_builds’: File exists
Sending build context to Docker daemon 5.632kB
Step 1/11 : FROM castis/centos5-i386
---> 2853a0eca55f
Step 2/11 : MAINTAINER Lion Krischer
---> Using cache
---> 2f771ff20368
Step 3/11 : RUN yum -y update || true
---> Using cache
View docker.log
Cloning into 'temp/5170-5752-15034/obspy'...
Cloning into 'temp/5170-5752-15034/obspy'...
From git://github.com/obspy/obspy
* [new branch] 617 -> obspy/617
* [new branch] AH -> obspy/AH
* [new branch] back-to-the-past -> obspy/back-to-the-past
* [new branch] basetrace -> obspy/basetrace
* [new branch] constructor -> obspy/constructor
* [new branch] decorator_deprecated_keywords -> obspy/decorator_deprecated_keywords
* [new branch] docker_arm -> obspy/docker_arm
View conda_env.txt
name: py3-docs-master_mpl202
channels:
- conda-forge
- obspy
- defaults
dependencies:
- abstract-rendering=0.5.1=np110py34_0
- alabaster=0.7.7=py34_0
- anaconda-client=1.2.2=py35_0
- argcomplete=1.0.0=py34_1
View changelog.diff
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index daedc7520..9eb0bb425 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -5,7 +5,21 @@ master: (doi: 10.5281/zenodo.165135)
* Read support for Reftek 130 (rt130) waveform data,
obspy.io.reftek (see #1433)
* Add Nordic format (s-file) read/write (see #1517)
+ * Read and write support for events in the SCARDEC catlogue format
+ (see #1391).
View create_stationxml_from_nrl.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:6e28df8c061669165c7d8c85f9d3ee42
BaseHTTPServer.py
330: except socket.timeout, e:
ConfigParser.py
667: except KeyError, e:
SimpleXMLRPCServer.py
265: except Fault, fault:
365: except Fault, fault:
508: except Exception, e: # This should only happen if the module is buggy
View core2.py
import io
import numpy as np
def bcd(_i):
return (_i >> 4 & 0xF).astype(np.uint32) * 10 + (_i & 0xF)
def bcd_16bit_int(_i):
_i = bcd(_i)
View add_method_deprecations.sh
#!/bin/bash
for LINE in `cat method_list2.txt`
do
echo $LINE
python add_method_deprecations.py $LINE
done
View add_method_deprecations.py
import inspect
import sys
from importlib import import_module
import numpy as np
#62 @deprecated("'get_waveform' has been renamed to 'get_waveforms'. Use "
#63 "that instead.")
#64 def get_waveform(self, *args, **kwargs):
#65 return self.get_waveforms(*args, **kwargs)
You can’t perform that action at this time.