Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

LCMAP REST Service Client (Python)

Project description

b’# lcmap-client-py [![Build Status][travis-badge]][travis][![PyPI Project][pypi-badge]][pypi]nn*LCMAP REST Service Client for Python*nn[Very WIP … not ready for use]nn## System Requirementsn#### Centos 7 - Python 2.7n```bashn$ sudo yum install -y python-pip python-devel \n gcc-c++ gcc-gfortran \n gdal-devel gdaln```nn#### Centos 7 - Python 3.4n```bashn$ sudo yum install -y python3-pip python3-devel \n gcc-c++ gcc-gfortran \n gdal-devel gdaln```nn#### Ubuntu 14.04 - Python 2.7n```bashn$ sudo apt-get -y install python-pip python-dev \n libgdal1h libgdal1-dev \n gfortran g++n```nn## Installingn```bashn$ pip install lcmap_clientn```nnIf /tmp is mounted noexec specify a build directory with rwx permissions:n```bashn$ pip install -b some_dir lcmap_clientn```nn## ConfigurationnnClient library configuration is done using a Config/INI file. For moreninformation, visit the client documentation link below – in particular, thensection “The Client Libraries” > “Configuration”.nn## Testingnn```bashn$ python setup.py testn```nn## DocumentationnnFull documentation for all LCMAP clients is available here:n * http://usgs-eros.github.io/lcmap-client-docs/current/nnNote that per-client usage and example code is selectable via tabs in the upper-right of that page.nnn## Example UsagennStarting:nn```bashn$ cd lcmap-client-pyn$ tox -e py34-shelln```nn```pythonn>>> from lcmap_client import Clientn>>> client = Client()n>>> result = client.models.samples.os_process.run(year=2017, delay=10)n>>> result.follow_link()n```nn## CLI ToolsnnRun a query:nn```bashn$ lcmap query rod –x -1789425 –y 3073665 –t1 2010-01-01 –t2 2015-01-01n```nnExecute the same query against the CCDC model:nn```bashn$ lcmap model ccdc –x -1789425 –y 3073665 –t1 2010-01-01 –t2 2015-01-01 \n –row=2241 –col=1231 –out-dir=”stdout” –scene-list=”stdin”n```nnTo see what’s available:nn```bashn$ lcmap –helpn```nnAnd for help on the subcommands:nn```bashn$ lcmap query –helpn$ lcmap query rod –helpn```nnn## DevelopmentnnTBDnnn## Licensenn```nCopyright xc2xa9 2015 United States GovernmentnnNASA Open Source Agreement, Version 1.3.n```nn<!– Named page links below: /–>nn[travis]: https://travis-ci.org/USGS-EROS/lcmap-client-pyn[travis-badge]: https://travis-ci.org/USGS-EROS/lcmap-client-py.png?branch=mastern[lcmap-logo]: resources/images/lcmap-logo-1-250px.pngn[lcmap-logo-large]: resources/images/lcmap-logo-1-1000px.pngn[pypi]: https://pypi.python.org/pypi/lcmap-clientn[pypi-badge]: https://img.shields.io/pypi/v/lcmap-client.svg?maxAge=2592000n’

Project details


Release history Release notifications

This version
History Node

0.5.0

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lcmap_client-0.5.0-py2.py3-none-any.whl (23.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 2, 2016

Supported by

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