Skip to content

Instantly share code, notes, and snippets.

View plot_NatuEarth.py
#!/usr/bin/env python
# conda create -n georasters 'georasters=0.5.15' ipython
import numpy as np
import georasters as gr
# from osgeo import gdalnumeric, gdal
import matplotlib.pyplot as plt
# link is not a typo, it's really that weird
# https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/50m/raster/HYP_50M_SR_W.zip
View plot_corine_250.py
#!/usr/bin/env python
# conda create -n georasters 'georasters=0.5.15' ipython
import numpy as np
import georasters as gr
# from osgeo import gdalnumeric, gdal
from osgeo import gdal
import matplotlib.pyplot as plt
from matplotlib.colors import LinearSegmentedColormap
View plot_geotiff.py
#!/usr/bin/env python
# conda create -n georasters 'georasters=0.5.15' ipython
import numpy as np
import georasters as gr
# from osgeo import gdalnumeric, gdal
from osgeo import gdal
import matplotlib.pyplot as plt
from matplotlib.colors import LinearSegmentedColormap
filename = 'PRINT_DTK25_Rosenheim.tif'
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