RockHound

rock hound : noun

  1. A specialist in geology¹

  2. An amateur rock and mineral collector¹

  3. A Python library to download and read common geophysical models and datasets²

¹ Merriam Webster dictionary | ² Not a real dictionary definition.

Documentation | Documentation (dev version) | Contact | Part of the Fatiando a Terra project

Latest version on PyPI TravisCI build status Azure Pipelines build status Test coverage status Code quality status Code quality grade on codacy Compatible Python versions. Chat room on Gitter

Disclaimer

🚨 This package is in early stages of design and implementation. 🚨

We welcome any feedback and ideas! Let us know by submitting issues on Github or send us a message on our Gitter chatroom.

About

RockHound is a Python library to download geophysical models and datasets (PREM, CRUST1.0, ETOPO1) and load them into Python data structures (pandas, numpy, xarray).

Many of these models use non-conventional file formats or can be tricky to find on the internet. RockHound knowns how to download them if you don’t already have them locally, read the file format, and return a nicely formatted data structure. Under the hood, it uses Pooch to manage the downloads.

Project goals

  • Download commonly used models and datasets.

  • Load data into pandas.DataFrame (tables) and xarray.Dataset (grids).

  • Only download if needed and check downloads for corruption.

  • Provide functions for visualizing complex models and datasets.

Contacting Us

Contributing

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing Guidelines

Please read our Contributing Guide to see how you can help and give feedback.

Imposter syndrome disclaimer

We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer?

We assure you that the little voice in your head is wrong.

Being a contributor doesn’t just mean writing code. Equality important contributions include: writing or proof-reading documentation, suggesting or implementing tests, or even giving feedback about the project (including giving feedback about the contribution process). If you’re coming to the project with fresh eyes, you might see the errors and assumptions that seasoned contributors have glossed over. If you can write any code at all, you can contribute code to open source. We are constantly trying out new skills, making mistakes, and learning from those mistakes. That’s how we all improve and we are happy to help others learn.

This disclaimer was adapted from the MetPy project.

License

This is free software: you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.txt.

Documentation for other versions