Skip to main content

GIS utility package

Project description

Documentation Status Python Versions License: GPL v3 pre-commit Language grade: Python Documentation Status

GitHub last commit GitHub forks GitHub Repo stars codecov Codacy Badge

GitHub commits since latest release (by SemVer including pre-releases) GitHub last commit

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Downloads Downloads Downloads PyPI - Downloads Conda Version PyPI version Conda Platforms Join the chat at https://gitter.im/Hapi-Nile/Hapi

pyramids - GIS utility package

pyramids is a GIS utility package using gdal, rasterio, ....

pyramids

Main Features

  • GIS modules to enable the modeler to fully prepare the meteorological inputs and do all the preprocessing needed to build the model (align rasters with the DEM), in addition to various methods to manipulate and convert different forms of distributed data (rasters, NetCDF, shapefiles)

Future work

  • Developing a DEM processing module for generating the river network at different DEM spatial resolutions.

Installing pyramids

Installing pyramids from the conda-forge channel can be achieved by:

conda install -c conda-forge pyramids=0.3.3

It is possible to list all of the versions of pyramids available on your platform with:

conda search pyramids --channel conda-forge

Install from Github

to install the last development to time you can install the library from github

pip install git+https://github.com/Serapieum-of-alex/pyramids

pip

to install the last release you can easly use pip

pip install pyramids-gis==0.4.0

Quick start

  >>> import pyramids

other code samples

Coverage

codecov

======= History

0.1.0 (2022-05-24)

  • First release on PyPI.

0.2.9 (2022-12-19)

  • Use environment.yaml and requirements.txt instead of pyproject.toml and replace poetry env byconda env

0.2.10 (2022-12-25)

  • lock numpy version to 1.23.5 as conda-forge can not install 1.24.0

0.2.11 (2022-12-27)

  • fix bug in pypi package names in requirements.txt file

0.2.11 (2023-01-14)

  • add utils module for functions dealing with compressing files, and others utility functions

0.3.0 (2023-01-23)

  • add array module to deal with any array operations.
  • add openDataset, getEPSG create SpatialReference, and setNoDataValue utility function, getCellCoords, ...
  • add rasterToPolygon, PolygonToRaster, rasterToGeoDataFrame, conversion between ogr DataSource and GeoDataFrame.

0.3.1 (2023-01-25)

  • add pyarrow to use parquet data type for saving dataframes and geodataframes
  • add H3 indexing package, and add new module indexing with functions to convert geometries to indeces back and forth.
  • fix bug in calculating pivot point of the netcdf file
  • rasterToDataFrame function will create geometries of the cells only based on the add_geometry parameter.

0.3.2 (2023-01-29)

  • refactor code
  • add documentation
  • fix creating memory driver with compression in _createDataset

0.3.3 (2023-02-06)

  • fix bug in reading the ogr drivers catalog for the vector class
  • fix bug in creating rasterLike in the asciiToRaster method

0.4.0 (2023-04-11)

  • Restructure the whole package to two main objects Dataset and FeatureCollection
  • Add class for multiple Dataset "DataCube".
  • Link both Dataset and FeatureCollection to convert between raster and vector data types.
  • Remove rasterio and netcdf from dependencies and depend only on gdal.
  • Test read rasters/netcdf from virtual file systems (aws, compressed)
  • Add dunder methods for all classes.
  • add plotting functionality and cleopatra (plotting package) as an optional package.
  • remove loops and replace it with ufunc from numpy.

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

pyramids-gis-0.4.0.tar.gz (68.9 kB view hashes)

Uploaded Source

Built Distribution

pyramids_gis-0.4.0-py3-none-any.whl (67.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page