Microbarometer read/plot from Python
Easy Python program for reading and plotting SEED microbarometer data. Uses ObsPy.
Install
python -m pip install -e .
If you have trouble installing PROJ.4, try
conda install cartopy
Usage
import microbarometer as mb
data = mb.load('myfile.asc')
Data format
ObsPy is mostly for MiniSEED, and wasn't able to read the particular .seed files we had.
An alternative method is to convert SEED to SAC format:
- Download
rdseed utility.
The executable
rdseed.rh6.linux_64worked for me on Ubuntu as well. - extract executable. For Ubuntu:
tar xf rdseedv*.tar.gz rdseedv*/rdseed.rh6.linux_64 mv rdseedv*/rdseed* rdseed
- convert SEED to SAC, for example to write SAC ASCII (readable by Pandas)
../rdseed -f myfile.seed -o 6 -d
Other output formats are possible via the -o option.
Notes
To get help:
./rdseed -h
channel BDO is "Bottom Pressure" in Pascals.
- Convert SEED to SAC (readable by ObsPy, MatSAC, etc.):
./rdseed -f myfile.seed -d
- List time range of data with
-toption:./rdseed -f myfile.seed -t
- Read SEED headers (extensive metadata):
./rdseed -f myfile.seed -s
Release files for microbarometer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| microbarometer-0.1.0.tar.gz | 4.8 kB | Details |
Release files / microbarometer-0.1.0.tar.gz
| Download URL | microbarometer-0.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
360101d252724c12e61d237261187e69213aebf0e860cbfd3ef8a498c206030b
|
|
BLAKE2b-256 checksum How to use checksums |
cfbbccec1c3255ba32a366dd810e6823efdf339631097184433042e315a9f7ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/3.7.0
|