Skip to main content

Unofficial WOVOdat python package. WOVOdat is a comprehensive global database on volcanic unrest.

Project description

WOVOdat

Unofficial python package for World Organization of Volcano Observatories (WOVO) database (WOVOdat).

WOVOdat is a comprehensive global database on volcanic unrest aimed at understanding pre-eruptive processes and improving eruption forecasts. WOVOdat is brought to you by WOVO (World Organization of Volcano Observatories) and presently hosted at the Earth Observatory of Singapore.

A lack of standardization in data formats and database architectures has made it nearly impossible to do comparative studies of volcanic unrest, or to search data for analogues to any current unrest. WOVOdat fills this gap by translating and compiling this myriad of data into common formats with the goal to make them freely web-accessible, for reference during volcanic crises, comparative studies, and basic research on pre-eruptive processes.

Using WOVOdat, scientists wishing to study how volcanoes prepare to erupt will be able to find a wealth of historical data at their fingertips. Scientists needing to forecast the outcome of a fresh volcanic crisis will be able to search for analogues, find the past outcomes, and estimate (changing) probabilities of how the fresh unrest will evolve.

WOVOdat Homepage: https://wovodat.org/

1. How to install

Make sure you have python >=3.10. You can install the package using pip:

pip install wovodat

2. How to use

You can check examples directory how to use the WOVOdat package using jupyter notebook.

2.1 Import the module

Import the WOVOdat module:

from wovodat import WOVOdat

2.2 Initiate the module

There are two different ways to import the module:

wovo = WOVOdat(
    # Optional. 
    # Will show detailed information.
    # Default to False.
    verbose=True, 
    
    # Optional. 
    # For debugging purposes. Eg: For development.
    # Default to False.
    debug=True, # Optional. Default to False. Can be removed
)

or, just omit the parameters:

wovo = WOVOdat()

2.3 (Optional) Check list of supported data types

Call this attribute to get list of the supported data types. The column code can be used as reference to data_type_code parameter in step 2.5

#%%
wovo.data_types

Example output:

No Categories Data Type Code
0 Deformation Data Angle 1.1
1 Deformation Data EDM 1.2
2 Deformation Data GPS 1.3
3 Deformation Data GPS Vector 1.4
4 Deformation Data Levelling 1.5
5 Deformation Data Insar 1.6
6 Deformation Data Strain 1.7
7 Deformation Data Electronic Tilt 1.8
8 Deformation Data Tilt Vector 1.9
9 Fields Data Magnetic Fields 2.1
10 Fields Data Gravity Fields 2.2
11 Fields Data Electric Fields 2.3
12 Fields Data Magnetic Vector 2.4
13 Gas Data Sample Gas 3.1
14 Gas Data Soil Efflux 3.2
15 Gas Data Plume from Ground based station 3.3
16 Gas Data Plume From Satellite/Airplane 3.4
17 Hydrologic Sample Data Hydrology 4.1
18 Meteo Data Meteo 5.1
19 Seismic Data Seismic Event From Network 6.1
20 Seismic Data Seismic Event From Single Station 6.2
21 Seismic Data Seismic Tremor 6.3
22 Seismic Data Seismic Intensity 6.4
23 Seismic Data RSAM 6.5
24 Thermal Data Thermal from Ground based station 7.1
25 Thermal Data Thermal From Satellite/Airplane 7.2

2.4 (Optional) Get data availability

This attribute will download the data availabilty from WOVOdat page.

wovo.availability

Example of the results:

No vd_name data_type stime etime rows_of_data
0 Abu seismic event 1920-06-14 07:39:16 2019-02-28 23:42:51 5223
1 Acamarachi seismic event 1959-09-19 13:37:30 2020-09-19 03:21:29 104
2 Acatenango seismic event 1951-07-25 18:42:23 2020-11-06 23:29:29 903
3 Acigöl-Nevsehir seismic event 2003-09-19 12:27:32 2020-10-31 09:18:51 162
4 Adams seismic event 1971-08-21 01:37:38 2017-11-18 09:52:46 438
5 Adams Seamount seismic event 2001-11-22 11:03:47 2001-11-22 11:03:47 1
6 Adatara GPS 2002-01-01 00:00:00 2014-01-31 00:00:00 9623
7 Adatara tilt 2011-10-08 00:00:00 2014-01-31 00:00:00 648
8 Adatara single station event 2002-01-20 09:13:00 2014-01-03 03:32:21 649
9 Adatara seismic interval 2002-01-20 00:00:00 2014-01-03 00:00:00 250

2.5 Download Data

Download the data using this method:

wovo.download(
    # VD Number/Smithsonian ID
    smithsonian_id="273083",
    
    # Data type code. You can check step 2.3 
    # In this exmpale "6.5" is RSAM data type code
    data_type_code="6.5",
    
    # Start and end date. Make sure start date < end date
    # The date format is: YYYY-MM-DD
    start_date="1991-05-10",
    end_date="1991-05-17",
    
    # Mandatory
    # Put your information. 
    username="martanto",
    email="martanto@live.com",
    affiliation="CVGHM",
    
    # Extarct downloaded zip file.
    # Default to True.
    extract_zip=True,
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wovodat-0.0.4.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wovodat-0.0.4-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file wovodat-0.0.4.tar.gz.

File metadata

  • Download URL: wovodat-0.0.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for wovodat-0.0.4.tar.gz
Algorithm Hash digest
SHA256 39da31ccadd5a5a8cf2cc3cbd03bd39e02472833bed0e74190f6943fe76e6ecd
MD5 d7952e487c23beb7f19ac405da0c0f01
BLAKE2b-256 54d861a2bbca2e4590bdf64bbefae33d0e6f68a8852efcb614d1a56aae142542

See more details on using hashes here.

File details

Details for the file wovodat-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: wovodat-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for wovodat-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d00d013bdd4195202137e8ad58b4347a70584d6e977688b810fd7d16ae6fb15
MD5 b70db4fcc7e08a9dff4db3cc3a70ad6f
BLAKE2b-256 94be5885339e04f774251e880c316fe81de89960d1151c785a06414adfa83a25

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page