Installation
Stable release
PIP
To install mt_metadata, run this command in your terminal:
$ pip install mtpy-v2
This is the preferred method to install mt_metadata, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
Conda-Forge
To install mtpy-v2, run either of these commands in your Conda terminal (https://conda-forge.org/#about):
$ conda install -c conda-forge mtpy-v2
or
$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda install mtpy-v2
Note
If you are updating mt_metadata you should use the same installer as your previous version or remove the current version and do a fresh install.
From sources
The sources for MTH5 can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone https://github.com/MTgeophysics/mtpy-v2
Or download the tarball:
$ curl -OJL https://github.com/MTgeophysics/mtpy-v2/tarball/main
Once you have a copy of the source, you can install it with:
$ python setup.py install