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.
Source Distributions
Built Distribution
Hashes for pyRinexpro-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c93d94e7abfe55d796f74d875e3a4ffa57c6a3cc55277771a8086e50daf2f01e |
|
MD5 | 9c873f98c0f40656630f0e06c82e4113 |
|
BLAKE2b-256 | 5483828a439557218ed73ba146383ed748da6e462a40c450c7daa22183c35308 |