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.0a1.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

raster_tools-0.1.0a1-py3-none-any.whl (70.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: raster-tools-0.1.0a1.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for raster-tools-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 416a478769f195fdb63abf105088c16a1d15c3ac75a56d1604a7685be1e5b654
MD5 086ea9f8883de0ad84bed23df2f88182
BLAKE2b-256 3f58ae2edb94cabc22b93fef6e3908a6b97768ead67670c935997bb56c13914c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: raster_tools-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 70.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for raster_tools-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c35ec51f8575f6bebabe9357606a4830f59eda345270800fd0309fd49ceb86c2
MD5 a888a52763ed2477a1599ffe323f2430
BLAKE2b-256 484c2e56cb7a7680610f98c92334838e99f3819bf345510e12b7dac9a2ff572d

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