Tools for processing geospatial data
Project description
raster_tools
RMRS Raster Utility Project
Dependencies
Contributing
-
Fork the raster_tools repo.
-
Clone your fork.
-
Move to the raster_tools project root:
$ cd raster_tools
-
Create a python virtual environment
With conda:
$ conda env create -f requirements/dev.yml $ conda activate rstools
With python:
$ python -m venv venv $ . venv/bin/activate $ pip install -r ./requirements/dev.txt
-
Install the project into the virtual environment:
$ pip install -e .
-
Setup pre-commit hooks
$ pre-commit install
-
Create your development branch:
$ git checkout -b my-dev-branch
-
Run the tests and fix anything that broke:
$ pytest
-
(Optional) Run
pre-commit
to find/fix any formatting and flake8 issues:$ pre-commit run --all-files
This will run
isort
,black
, andflake8
on the repo's files. It is recommended to do this and fix any errors that are flagged so that the changes can be cleanly commited. -
Commit your changes to your branch and push to your remote repo:
$ git add . $ git commit -m "A detailed description of the changes." $ git push origin my-dev-branch
-
Submit a pull request through GitHub.
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
Hashes for raster_tools-0.1.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64df1ad87bf0cabd29e723f2108af10381ee3228aa0e128ba30cd47f4cadc5c0 |
|
MD5 | f9c1d3ab4765ff4b12d0c73bfd35f28a |
|
BLAKE2b-256 | fe583ac3c8baac8c3bb990ed12c6da77acfdda9803872099d3cad83a60d316a3 |