getGVP is a Python package for fetching and processing data about Holocene volcanoes and eruptions from the Smithsonian Global Volcanism Program (GVP) Web Feature Service (WFS). This package provides an easy-to-use interface to access and manipulate volcano data.
- Fetches volcano and eruption data from the GVP WFS endpoint.
- Returns data in a structured format using pandas DataFrames.
- Provides version information for the dataset.
You can install the package using pip. First, clone the repository:
git clone <repository-url>
cd getGVPThen, install the package along with its dependencies:
pip install -e . -r requirements.txtTo use the package, you can import it in your Python scripts:
from getGVP import fetch_GVP
# Fetch volcano data with version and date information
df_volcanoes, version, date = fetch_GVP(db='volcanoes')
# Fetch eruption data
df_eruptions, version, date = fetch_GVP(db='eruptions')Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.