Skip to main content

Tools for processing geospatial data

Project description

raster_tools

RMRS Raster Utility Project

Dependencies

Contributing

  1. Fork the raster_tools repo.

  2. Clone your fork.

  3. Move to the raster_tools project root:

    $ cd raster_tools
    
  4. 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
    
  5. Install the project into the virtual environment:

    $ pip install -e .
    
  6. Setup pre-commit hooks

    $ pre-commit install
    
  7. Create your development branch:

    $ git checkout -b my-dev-branch
    
  8. Run the tests and fix anything that broke:

    $ pytest
    
  9. (Optional) Run pre-commit to find/fix any formatting and flake8 issues:

    $ pre-commit run --all-files
    

    This will run isort, black, and flake8 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.

  10. 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
    
  11. Submit a pull request through GitHub.

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

raster-tools-0.1.0a3.tar.gz (65.7 kB view details)

Uploaded Source

Built Distribution

raster_tools-0.1.0a3-py3-none-any.whl (72.1 kB view details)

Uploaded Python 3

File details

Details for the file raster-tools-0.1.0a3.tar.gz.

File metadata

  • Download URL: raster-tools-0.1.0a3.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.8.13

File hashes

Hashes for raster-tools-0.1.0a3.tar.gz
Algorithm Hash digest
SHA256 ea5ea73f7bf19a26b5abc2f4e36feb0b038bb42519e0fe1c84567a7490650b38
MD5 10755931d6c895d58c5e42e5c926fa43
BLAKE2b-256 9aeeade93e5acc855f1966b2b56dc1b71ab0f9bb40132c4c8934c5804071e883

See more details on using hashes here.

File details

Details for the file raster_tools-0.1.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for raster_tools-0.1.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 744de3df999848b5b1a46486f72dbcb2bdbb680963a433155a8373426c55bb6d
MD5 b7b291569e1bd2d356d55edc76bcbc15
BLAKE2b-256 3e372b471a7f5a1a0828836c01049a1dd1ea16848fe13f2b1d09d3a75111d057

See more details on using hashes here.

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