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.1.tar.gz (113.6 kB view details)

Uploaded Source

Built Distribution

raster_tools-0.1.1-py3-none-any.whl (94.1 kB view details)

Uploaded Python 3

File details

Details for the file raster-tools-0.1.1.tar.gz.

File metadata

  • Download URL: raster-tools-0.1.1.tar.gz
  • Upload date:
  • Size: 113.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for raster-tools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0d9014c27fe2dd0d50bb4a5b8b12057f12f7b4ec5df376b081e6a81389ad5f97
MD5 33fbb0f2b8eb010a106cda4defbc1f6a
BLAKE2b-256 6c80c40ac11a8ae9bc65c7fcef59c7567320e6113dfe68646d32209a6bb1bf3b

See more details on using hashes here.

File details

Details for the file raster_tools-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for raster_tools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbcc3b82feefbb43cb05d3842e7fb4aa9c33531cf5783bb3bca7d6b260a32b5
MD5 22770267d515780d36cbe62b994c16d6
BLAKE2b-256 d7679ae8c121ed630fd4c5274cb5dcebae96c7229419c8f1431fccba7dea1a28

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