3. Software Installation/Getting Started
3.1. Introduction
This chapter describes how to install and get started using METdataio. METdataio has been developed and tested on Mac and Linux operating systems. Support for additional platforms may be added in future releases.
METdbload is a Python3 program that requires some extra packages to be available on the user’s computer prior to installation. METdbload is part of the METdataio database package. Additional METdataio programs that work with the data are planned.
3.2. Requirements
METdataio relies on the following tools. These must be installed and tested prior to installing METdataio:
MySQL or MariaDB - download and install the latest version. This can be on a separate computer. Use “SET GLOBAL max_allowed_packet=110000000;” by typing the command in the CLI and/or make the corresponding edit to /etc/my.cnf, so that the change persists after the next reboot.
AuroraDB could alternately be used as a database in the cloud.
3.2.1. Python Requirements
Python 3.10.4+ - Python 3.10.4 or higher must be installed.
The requirements below come directly from the requirements.txt file at the top level of the repository.
lxml==4.9.1
numpy==1.24.2
pandas==1.5.2
pip==23.3
PyMySQL==1.1.1
pytest==7.2.1
python-dateutil==2.8.2
PyYAML==6.0
xarray>=2023.1.0
3.3. Installation
3.3.1. Download
Download the latest release:
git clone https://github.com/dtcenter/METdataio
Note
Programs can be run from the METdbLoad/ush subdirectory.