A 2D model of atmospheric transport
Project description
malta
MALTA: Model of Averaged in Longitude Transport in the Atmosphere.
Latest release
A description of the model is available here: https://doi.org/10.22541/essoar.168890012.27918585/v1
Installation
To install the latest release:
$ pip install malta
Usage
malta
is a two-dimensional (longitudinally-averaged) model of atmospheric transport.
A simple run of constant emissons of 10 Gg of CFC-11 with zero initial conditions
from 2010-2020 inclusive could be:
import numpy as np
from malta import model
start_year = 2010
end_year = 2021
species = "CFC11"
# Set up and run model
years = np.array([str(yr) for yr in range(start_year,end_year)])
emistot = np.repeat(10, len(years))
emissions = model.create_emissions(species, emistot)
sink = model.create_sink(species)
ds_out = model.run_model(years, emissions, sink)
The returned ds_out is an xarray dataset containing monthly mean output variables from the 2D model run. See docs/example.ipynb or the readthedocs page for more information on running the model.
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
malta
was created by Luke Western. It is licensed under the terms of the MIT license.
Credits
malta
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
Project details
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 malta-0.3.0.tar.gz
.
File metadata
- Download URL: malta-0.3.0.tar.gz
- Upload date:
- Size: 15.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.18 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bfa5f8f14ea2d07c19fdc53bb44de839909a167447f6df09eee4a2c666cc18d |
|
MD5 | b4412302c2aa2e0fca664193f356581e |
|
BLAKE2b-256 | 79539702725d85a43fbb3e0cff025b369652324dfaceaebe68c340e7682492bf |
File details
Details for the file malta-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: malta-0.3.0-py3-none-any.whl
- Upload date:
- Size: 15.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.18 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61ee8583084910c5ebc7d9b7386f92c3c6bbdb0149b1c4e124dadc9b85e2f58 |
|
MD5 | 642566f14ec18e2bc3576378c28caf27 |
|
BLAKE2b-256 | 6dabdffc6c818d8aa8f845d4edeb4961ee91f438edbd4432d4b4ad6a5b7a9ca5 |