ipylar


Nameipylar JSON
Version 1.0.7 PyPI version JSON
download
home_pagehttps://pypi.org/project/ipylar
SummaryPython utilities for the LAR model (Land Atmospheric Reservoir)
upload_time2024-07-04 14:19:51
maintainerNone
docs_urlNone
authorJorge I. Zuluaga, Ruben D. Molina, Juan F. Salazar and Jesus D. Gomez-Velez
requires_pythonNone
licenseMIT
keywords hydrology climate change
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PyLAR
## Python utilities for the LAR model

<!-- This are visual tags that you may add to your package at the beginning with useful information on your package --> 
[![version](https://img.shields.io/pypi/v/ipylar?color=blue)](https://pypi.org/project/ipylar/)
[![downloads](https://img.shields.io/pypi/dw/ipylar)](https://pypi.org/project/ipylar/)
[![license](https://img.shields.io/pypi/l/ipylar)](https://pypi.org/project/ipylar/)
[![implementation](https://img.shields.io/pypi/implementation/ipylar)](https://pypi.org/project/ipylar/)
[![pythonver](https://img.shields.io/pypi/pyversions/ipylar)](https://pypi.org/project/ipylar/)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12167661.svg)](https://doi.org/10.5281/zenodo.12167661)
[![DOI](https://img.shields.io/badge/10.5194%2Fhess-2023-172)](https://doi.org/10.5194/hess-2023-172)
[![DOI](https://img.shields.io/badge/10.5194%2Fhess-28-2919-2024
)](https://doi.org/10.5194/hess-28-2919-2024)
<!-- Static badge generator: https://shields.io/badges/static-badge: put the badge number and ready -->

`PyLAR` is a python package and datasets intended to test and use the LAR (Land-Atmospheric and Reservoir) model. The LAR model is intended to describe the changes in the water storage in large river basin around the world, including
atmospheric processes as a critical component of the basin
water budget. 

<p align="center"><img src="https://github.com/seap-udea/pylar/blob/main/tutorials/resources/LAR-Conceptual.png?raw=true" alt="Conceptual illustration of LAR"/></p>

For the science behind the LAR model please refer to the following paper:

> Juan F. Salazar, Rubén D. Molina, Jorge I. Zuluaga, and Jesus D. Gomez-Velez (2024), **Wetting and drying trends in the land–atmosphere reservoir of large basins around the world**, [Hydrology and Earth System Sciences, HESS, 28, 2919–2947, 2024](https://hess.copernicus.org/articles/28/2919/2024/), [doi.org/10.5194/hess-28-2919-2024](https://doi.org/10.5194/hess-28-2919-2024).

All the notebooks and data required to reproduce the results of this paper, and other papers produced by our group, are available in the [`dev` directory in this repository](https://github.com/seap-udea/pylar/tree/main/dev).

## Downloading and Installing `PyLAR` 

`PyLAR` is available at the `Python` package index and can be installed using:

```bash
$ sudo pip install ipylar
```
as usual this command will install all dependencies and download some useful data, scripts and constants.

> **NOTE**: If you don't have access to `sudo`, you can install `PyLAR` in your local environmen (usually at `~/.local/`). In that case you need to add to your `PATH` environmental variable the location of the local python installation. Add to `~/.bashrc` the line `export PATH=$HOME/.local/bin:$PATH`

## Quickstart

To start using `PyLAR`, you should first obtain data for a large river basin. We have provided with the package a dataset especially prepared for the Amazonas Basin we will use in this quickstart. 

You must start by importing the package:

```python
import ipylar as lar
```

Create a basin:

```python
amazonas = lar.Basin(key='amazonas',name='Amazonas')
```

Once created, you should read the timeseries for the basin and load it into the pandas dataframe `amazonas.data`. The present version of `PyLAR` includes sample data. You may read the sample data using:

```python
amazonas.read_basin_data()
```

Once the data is loaded you can perform operations on the data, for instance, you can plot it:

```python
fig = amazonas.plot_basin_series()
```

<p align="center"><img src="https://github.com/seap-udea/pylar/blob/main/tutorials/resources/amazonas-lar-timeseries.png?raw=true" alt="Amazonas LAR time-series"/></p>

## Tutorials

We have prepared a set of [basic tutorials](https://github.com/seap-udea/pylar/tree/main/tutorials) for illustrating the usage of some of the tools including in `PyLAR`. The tutorials can be ran in `Google Colab`.

## What's new

For a detailed list of the newest characteristics of the code see the file [What's new](https://github.com/seap-udea/pylar/blob/master/WHATSNEW.md).

------------

This package has been designed and written by Jorge I. Zuluaga, Ruben D. Molina, Juan F. Salazar and Jesus D. Gomez-Velez (C) 2024

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/ipylar",
    "name": "ipylar",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "hydrology, climate change",
    "author": "Jorge I. Zuluaga, Ruben D. Molina, Juan F. Salazar and Jesus D. Gomez-Velez",
    "author_email": "jorge.zuluaga@udea.edu.co",
    "download_url": "https://files.pythonhosted.org/packages/18/ee/63eade18c26905f56161b8e0842556f80cc2b59f328cbec74b232f53fcf4/ipylar-1.0.7.tar.gz",
    "platform": null,
    "description": "# PyLAR\n## Python utilities for the LAR model\n\n<!-- This are visual tags that you may add to your package at the beginning with useful information on your package --> \n[![version](https://img.shields.io/pypi/v/ipylar?color=blue)](https://pypi.org/project/ipylar/)\n[![downloads](https://img.shields.io/pypi/dw/ipylar)](https://pypi.org/project/ipylar/)\n[![license](https://img.shields.io/pypi/l/ipylar)](https://pypi.org/project/ipylar/)\n[![implementation](https://img.shields.io/pypi/implementation/ipylar)](https://pypi.org/project/ipylar/)\n[![pythonver](https://img.shields.io/pypi/pyversions/ipylar)](https://pypi.org/project/ipylar/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12167661.svg)](https://doi.org/10.5281/zenodo.12167661)\n[![DOI](https://img.shields.io/badge/10.5194%2Fhess-2023-172)](https://doi.org/10.5194/hess-2023-172)\n[![DOI](https://img.shields.io/badge/10.5194%2Fhess-28-2919-2024\n)](https://doi.org/10.5194/hess-28-2919-2024)\n<!-- Static badge generator: https://shields.io/badges/static-badge: put the badge number and ready -->\n\n`PyLAR` is a python package and datasets intended to test and use the LAR (Land-Atmospheric and Reservoir) model. The LAR model is intended to describe the changes in the water storage in large river basin around the world, including\natmospheric processes as a critical component of the basin\nwater budget. \n\n<p align=\"center\"><img src=\"https://github.com/seap-udea/pylar/blob/main/tutorials/resources/LAR-Conceptual.png?raw=true\" alt=\"Conceptual illustration of LAR\"/></p>\n\nFor the science behind the LAR model please refer to the following paper:\n\n> Juan F. Salazar, Rub\u00e9n D. Molina, Jorge I. Zuluaga, and Jesus D. Gomez-Velez (2024), **Wetting and drying trends in the land\u2013atmosphere reservoir of large basins around the world**, [Hydrology and Earth System Sciences, HESS, 28, 2919\u20132947, 2024](https://hess.copernicus.org/articles/28/2919/2024/), [doi.org/10.5194/hess-28-2919-2024](https://doi.org/10.5194/hess-28-2919-2024).\n\nAll the notebooks and data required to reproduce the results of this paper, and other papers produced by our group, are available in the [`dev` directory in this repository](https://github.com/seap-udea/pylar/tree/main/dev).\n\n## Downloading and Installing `PyLAR` \n\n`PyLAR` is available at the `Python` package index and can be installed using:\n\n```bash\n$ sudo pip install ipylar\n```\nas usual this command will install all dependencies and download some useful data, scripts and constants.\n\n> **NOTE**: If you don't have access to `sudo`, you can install `PyLAR` in your local environmen (usually at `~/.local/`). In that case you need to add to your `PATH` environmental variable the location of the local python installation. Add to `~/.bashrc` the line `export PATH=$HOME/.local/bin:$PATH`\n\n## Quickstart\n\nTo start using `PyLAR`, you should first obtain data for a large river basin. We have provided with the package a dataset especially prepared for the Amazonas Basin we will use in this quickstart. \n\nYou must start by importing the package:\n\n```python\nimport ipylar as lar\n```\n\nCreate a basin:\n\n```python\namazonas = lar.Basin(key='amazonas',name='Amazonas')\n```\n\nOnce created, you should read the timeseries for the basin and load it into the pandas dataframe `amazonas.data`. The present version of `PyLAR` includes sample data. You may read the sample data using:\n\n```python\namazonas.read_basin_data()\n```\n\nOnce the data is loaded you can perform operations on the data, for instance, you can plot it:\n\n```python\nfig = amazonas.plot_basin_series()\n```\n\n<p align=\"center\"><img src=\"https://github.com/seap-udea/pylar/blob/main/tutorials/resources/amazonas-lar-timeseries.png?raw=true\" alt=\"Amazonas LAR time-series\"/></p>\n\n## Tutorials\n\nWe have prepared a set of [basic tutorials](https://github.com/seap-udea/pylar/tree/main/tutorials) for illustrating the usage of some of the tools including in `PyLAR`. The tutorials can be ran in `Google Colab`.\n\n## What's new\n\nFor a detailed list of the newest characteristics of the code see the file [What's new](https://github.com/seap-udea/pylar/blob/master/WHATSNEW.md).\n\n------------\n\nThis package has been designed and written by Jorge I. Zuluaga, Ruben D. Molina, Juan F. Salazar and Jesus D. Gomez-Velez (C) 2024\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python utilities for the LAR model (Land Atmospheric Reservoir)",
    "version": "1.0.7",
    "project_urls": {
        "Homepage": "https://pypi.org/project/ipylar"
    },
    "split_keywords": [
        "hydrology",
        " climate change"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b6d701363c5618dc209880046a8e8d7f1b11fa43c259cbaefa7a2cfe5c56f7a0",
                "md5": "63ad99851a51507e719964fdc37fc5bb",
                "sha256": "e0f8a6b8b642868539d10e868c0cd872cbdf8fbc6d985c1155253a3635c7dc92"
            },
            "downloads": -1,
            "filename": "ipylar-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "63ad99851a51507e719964fdc37fc5bb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 450134,
            "upload_time": "2024-07-04T14:19:48",
            "upload_time_iso_8601": "2024-07-04T14:19:48.822055Z",
            "url": "https://files.pythonhosted.org/packages/b6/d7/01363c5618dc209880046a8e8d7f1b11fa43c259cbaefa7a2cfe5c56f7a0/ipylar-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18ee63eade18c26905f56161b8e0842556f80cc2b59f328cbec74b232f53fcf4",
                "md5": "d0d752ab154cd643c0985bf31c84ffd1",
                "sha256": "364163f9fd9e14a617d1214d3e4edbc94da42bcc08863a2099655232fa9ff4f4"
            },
            "downloads": -1,
            "filename": "ipylar-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "d0d752ab154cd643c0985bf31c84ffd1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 447902,
            "upload_time": "2024-07-04T14:19:51",
            "upload_time_iso_8601": "2024-07-04T14:19:51.332305Z",
            "url": "https://files.pythonhosted.org/packages/18/ee/63eade18c26905f56161b8e0842556f80cc2b59f328cbec74b232f53fcf4/ipylar-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-04 14:19:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ipylar"
}
        
Elapsed time: 0.60699s