Skip to main content

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 testn```nn## DocumentationnnFull documentation for all LCMAP clients is available here:n * 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 =, 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]:[travis-badge]:[lcmap-logo]: resources/images/lcmap-logo-1-250px.pngn[lcmap-logo-large]: resources/images/lcmap-logo-1-1000px.pngn[pypi]:[pypi-badge]:’

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 lcmap-client, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size lcmap_client-0.5.0-py2.py3-none-any.whl (23.7 kB) File type Wheel Python version py2.py3 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