Python program for marine climate analysis.
Project description
APPMAR 1.0
If you prefer to extract raw data series for your own analyses, try APPMAR 2 (WIP).
A Python application for downloading and analyzing of WAVEWATCH III® wave and wind data.
German Rivillas-Ospina, Diego Casas, Mauro Antonio Maza-Chamorro, Marianella Bolívar, Gabriel Ruiz, Roberto Guerrero, José M. Horrillo-Caraballo, Milton Guerrero, Karina Díaz, Roberto del Rio, Erick Campos
Highlights:
- Free and open-source Python application for wave and wind climate analysis.
- Downloads data from WAVEWATCH III hindcast.
- Performs mean and extreme climate analysis.
- Provides a GUI to improve interaction with the user.
- Especially useful on regions of limited data availability.
APPMAR 1.0 is an application written in the Python programming language that downloads, processes, and analyzes wind and wave data. This application is composed of a graphical user interface (GUI) that contains two main modules: the first module downloads data from WAVEWATCH III® (WW3) production hindcasts by the National Oceanic and Atmospheric Administration (NOAA); the second module applies statistical mathematics for processing and analyzing wave and wind data. This application provides useful graphical results that describe mean and extreme wave and wind climate. APPMAR generates plots of exceedance probability, joint probability distribution, wave direction, Weibull distribution, and storm frequency analysis. Currently, APPMAR only downloads and analyzes wave and wind data from WW3 hindcasts, but it is under development to other datasets and marine climate parameters (see APPMAR 2). This application has been tested in the Magdalena River mouth, Colombia, and Cancún, México, where observational wave and wind data are scarce.
Installation
APPMAR is written in Python 3.7, and it requires a variety of dependencies to run. We strongly recommend using the Conda package manager to install Python 3.7 and APPMAR dependencies. You can obtain Conda by installing Miniconda or Anaconda.
Note: APPMAR has been tested only in Python >=3.7 on Windows 10 with dependencies installed via conda. If you find problems trying to run APPMAR on a different platform o Python version, please open an issue.
Dependencies:
- cfgrib
- gdal
- wxpython
- numpy
- matplotlib==3.2
- scipy
- xarray
- pandas
- cartopy
- scikit-learn
- kneed
In order to install and run APPMAR, follow these steps:
-
Open Anaconda Prompt (or any terminal with the conda command in its PATH environment variable).
-
Create a new conda environment for APPMAR and its dependencies:
conda create -n my-new-env -c conda-forge python>=3.7 cfgrib gdal wxpython numpy matplotlib=3.2 scipy xarray pandas cartopy scikit-learn kneed
- Activate the new environment:
conda activate my-new-env
- Install APPMAR via pip:
pip install appmar
- Now you can start APPMAR by executing:
appmar
Run
The next time you want to use APPMAR, only follow steps 1, 3 and 5. More information about APPMAR use and implementation can be found on the article (DOI: 10.1016/j.cageo.2022.105098).
Update
When an update is available, open the Anaconda Prompt, activate your environment (step 3) and upgrade with:
pip install --upgrade appmar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file appmar-1.0.1.tar.gz
.
File metadata
- Download URL: appmar-1.0.1.tar.gz
- Upload date:
- Size: 57.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15a3e2217454be257108bfa0d55148a0876ac8cd1302c71aedec532c2da35b8e |
|
MD5 | d870526412c577fec14c9209a3fc7aff |
|
BLAKE2b-256 | 7509486b720309535a8233adb117b53d8536c2efafe1c4f589d4a4bc081d8c4f |
File details
Details for the file appmar-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: appmar-1.0.1-py3-none-any.whl
- Upload date:
- Size: 54.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fb129ce0e852cf05fda163f48f43c617b61baf46322b124caad2beecda37ab9 |
|
MD5 | 7bfea373ed8702045b581a2b8363bf9a |
|
BLAKE2b-256 | a245dd1d68155e55c9f0a093ccf3e93b127a01bb8439c5d918832a30f8f3d929 |