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

Python client for the rinexpro API

Project description

pyRinexpro

pyRinexpro is a Python client for the rinexpro API.

Install

pyRinexpro can be install using pip

pip install pyRinexpro

Getting Started

The first step is to import the pyRinexpro module and to instantiate a pyRinexpro.Client using your API key

>>> import pyRinexpro as rnx
>>> client = rnx.Client(API_KEY)

From the client you can create a pyRinexpro.Session by uploading a session file

>>> session = client.uploadSession("your_session_file")

Once the session preprocessing is completed, which should take about 20 seconds, you can create and run a pyRinexpro.Process from this session

>>> process = session.newProcess('ppp', mode='static')

Once the process is completed you can get the resultat as a pyRinexpro.Log object

>>> log = process.getLog()

Trajectory can be transfom into a pandas.DataFrame object

>>> log.trajectory.df()

Results can be exported to geojson, kml and kmz

>>> log.to_geojson('new_file.json')
>>> log.to_kml('new_file.kml')
>>> log.to_kmz('new_file.kmz')

Documentation

Documentation can be found here

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 pyRinexpro, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size pyRinexpro-0.1.3-py3-none-any.whl (18.6 kB) File type Wheel Python version 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