Giter VIP home page Giter VIP logo

microbarometer's Introduction

Actions Status

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:

  1. Download rdseed utility. The executable rdseed.rh6.linux_64 worked for me on Ubuntu as well.
  2. extract executable. For Ubuntu:
    tar xf rdseedv*.tar.gz rdseedv*/rdseed.rh6.linux_64
    mv rdseedv*/rdseed* rdseed
  3. 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 -t option:
    ./rdseed -f myfile.seed -t
  • Read SEED headers (extensive metadata):
    ./rdseed -f myfile.seed -s

microbarometer's People

Contributors

scivision avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

gfec-lac-inpe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.