regionmask-0.9.0


توضیحات

create masks of geospatial regions for arbitrary grids
ویژگی مقدار
سیستم عامل OS Independent
نام فایل regionmask-0.9.0
نام regionmask
نسخه کتابخانه 0.9.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده regionmask Developers
ایمیل نویسنده mathias.hauser@env.ethz.com
آدرس صفحه اصلی https://github.com/regionmask/regionmask
آدرس اینترنتی https://pypi.org/project/regionmask/
مجوز MIT
![regionmask logo](docs/source/logo/logo.png) # create *masks* of geospatial *regions* for arbitrary grids [![CI Status](https://github.com/regionmask/regionmask/workflows/CI/badge.svg?branch=main)](https://github.com/regionmask/regionmask/actions?query=workflow%3ACI) [![Code Coverage Badge](https://codecov.io/gh/regionmask/regionmask/branch/main/graph/badge.svg)](https://codecov.io/gh/regionmask/regionmask) [![Documentation Status](https://readthedocs.org/projects/regionmask/badge/?version=stable)](https://regionmask.readthedocs.io/en/stable/?badge=stable) [![PyPi Badge](https://img.shields.io/pypi/v/regionmask.svg)](https://pypi.python.org/pypi/regionmask/) [![Anaconda-Server Badge](https://anaconda.org/conda-forge/regionmask/badges/version.svg)](https://anaconda.org/conda-forge/regionmask) [![zenodo DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10849860.svg)](https://doi.org/10.5281/zenodo.10849860) When working with gridded data such as climate model output or reanalysis data it is often important to create regional averages, e.g., over countries, continents or regions defined in the literature. To do so we need to know for each grid point to which region it belongs to. **regionmask** is a python package that: - can be used to create *masks* of (geo)spatial *regions* for arbitrary (longitude and latitude) grids. These masks indicate which region a gridpoint belongs to and can then be used to aggregate gridded data over the regions. The masks come in three variants: - 2D integer masks - 3D boolean masks - 3D approximate fractional masks - takes great care to create consistent masks for - region edges and interiors - overlapping regions - contains a number of defined regions, including: - countries - landmasks - regions used in the scientific literature - can plot figures of these regions - supports using arbitrary existing or user-defined region definitions: - regions defined as shapefiles can be accessed via geopandas - user-defined regions can be created via numpy or shapely ## Documentation Learn more about regionmask in its official documentation at https://regionmask.readthedocs.io ## Get in touch Dont hesitate to ask usage questions, report bugs, suggest features or view the source code on GitHub under [regionmask/regionmask](https://github.com/regionmask/regionmask). ## License regionmask is published under a MIT license.


نیازمندی

مقدار نام
- geopandas>=0.13
- numpy>=1.24
- packaging>=23.1
- pooch>=1.7
- rasterio>=1.3
- shapely>=2.0
- xarray>=2023.07
xtr cartopy>=0.22;
xtr matplotlib>=3.7;
xtr cartopy>=0.22;
xtr matplotlib>=3.7;
xtr cf_xarray>=0.8;
xtr cartopy>=0.22;
xtr matplotlib>=3.7;
xtr cf_xarray>=0.8;
xtr netcdf4;
xtr aiohttp;
xtr fsspec;
xtr intake_geopandas;
xtr myst-nb;
xtr numpydoc;
xtr pickleshare;
xtr sphinx;
xtr sphinx_rtd_theme;
xtr sphinxext-rediraffe;


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl regionmask-0.9.0:

    pip install regionmask-0.9.0.whl


نصب پکیج tar.gz regionmask-0.9.0:

    pip install regionmask-0.9.0.tar.gz