Giter Site home page Giter Site logo

avo-alarms's Introduction

AVO-alarms

Python codes used for geophysical alarms at AVO. Currently (2023-Sep-06) running on Python 3.8.17

Python Dependencies

  • pandas
  • obspy
  • Basemap
  • cartopy
  • PIL (pillow)
  • xlrd
  • dotenv
  • shapely
  • utm
  • scikit-learn
  • enveloc (only for Tremor module)
  • shapefile (for Pilot_Report module)
  • beautifulsoup4 (for SO2, NOAA_CIMSS, & SIGMET modules)
  • tomputils (optional for Mattermost)

Running it...

You'll need to edit .env_example with the relevant system parameters and rename the file .env
These variables get committed to environment variables when importing anything from /alarm_codes

Run the code:
main.py <alarm_config> <datetime>
For example:
./main.py Pavlof_RSAM_config 201701020205

It can also be run without a datestamp, in which case it will use the most recent minute as its time.

An example of how we run a cron minutely on the Cleveland infrasound array, CLCO:
* * * * * cd /alarms; python main.py CLCO_Infrasound_config > /dev/null 2>&1

Notifications:

Edit the .distribution_example.xlsx to include the relevant recipient addresses and rename to distribution.xlsx
It is important that column headers match the name of the alarm config file names (but replacing _ with a space)

avo-alarms's People

Contributors

awech avatar

Stargazers

 avatar  avatar Li Xiong avatar  avatar Kuan-Fu Feng avatar 赵磊 avatar David Fee avatar aperttu avatar Liam Toney avatar

Watchers

James Cloos avatar

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.