Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tools for Planet Four data analysis.

Project description

Planet Four Tools

https://img.shields.io/pypi/v/p4tools.svg https://img.shields.io/travis/michaelaye/p4tools.svg Documentation Status

Tools for Planet Four data reduction and analysis.

Installation

conda install -c michaelaye planetfour-catalog
pip install p4tools

Features

  • Provides access to the Planet Four catalog data (see Install instructions):
from p4tools import io
fans = io.get_fan_catalog()
blotches = io.get_blotch_catalog()
tile_coords = io.get_tile_coordinates()
tile_urls = io.get_tile_urls()
metadata = io.get_metadata()  # data for the HiRISE images used
region_names = io.get_region_names()  # informal region identifiers for observation IDs

These functions will use the intake library to download the data via the links provided inside the planetfour-catalog data. For read performance, the data is then being stored in your local storage folder that is being asked for at the first use of the io module of p4tools. These paths are being stored in $HOME/.p4tools.ini.

  • Enables plotting of catalog data on top of the HiRISE image tile that was used during marking

Updating

To update p4tools do

pip install -U p4tools

To update the catalog, first you need to get new download links by doing

conda update -c michaelaye planetfour-catalog

and after that, because p4tools caches the catalog items, you need to provide the parameter update=True when using the access functions, like so:

from p4tools import io
fans = io.get_fan_catalog(update=True)

which will trigger a new download.

Credits

This package was created with Cookiecutter and the forked michaelaye/cookiecutter-pypackage-conda project template.

History

0.1.0 (2018-11-23)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for p4tools, version 0.8.0
Filename, size File type Python version Upload date Hashes
Filename, size p4tools-0.8.0-py2.py3-none-any.whl (10.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size p4tools-0.8.0.tar.gz (19.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page