pyRinexpro.logs¶
RepType¶
Crs¶
-
class
pyRinexpro.
Crs
(json_obj)¶ Bases:
object
A crs
Parameters: json_obj (object) – The parsed json
Projection¶
-
class
pyRinexpro.
Projection
(json_obj)¶ Bases:
object
A projection
Parameters: json_obj (object) – The parsed json
APosition¶
-
class
pyRinexpro.
APosition
(json_obj)¶ Bases:
object
An abstract class for position
Parameters: json_obj (object) – The parsed json
ApproxPosition¶
-
class
pyRinexpro.
ApproxPosition
(json_obj)¶ Bases:
pyRinexpro.logs.APosition
An approximated position
Parameters: json_obj (object) – The parsed json
Position¶
-
class
pyRinexpro.
Position
(json_obj)¶ Bases:
pyRinexpro.logs.APosition
A postion
Parameters: json_obj (object) – The parsed json
ATrajectoryElem¶
ApproxTrajectoryElem¶
-
class
pyRinexpro.
ApproxTrajectoryElem
(json_obj)¶ Bases:
pyRinexpro.logs.ATrajectoryElem
One approximated position of the trajectory
Parameters: json_obj (object) – The parsed json -
to_dict
(inc_coord=True)¶ Repsent the object as a dict
Parameters: inc_coord (bool) – Include the coords in the dict (default is True) Returns: object: the dict Return type: dict(str,object)
-
TrajectoryElem¶
-
class
pyRinexpro.
TrajectoryElem
(json_obj)¶ Bases:
pyRinexpro.logs.ATrajectoryElem
One position of the trajectory
Parameters: json_obj (object) – The parsed json -
to_dict
(inc_coord=True)¶ Repsent the object as a dict
Parameters: inc_coord (bool) – Include the coords in the dict (default is True) Returns: the dict Return type: dict(str,object)
-
ATrajectory¶
-
class
pyRinexpro.
ATrajectory
(initlist=None)¶ Bases:
collections.UserList
An abstract class for a trajectory
-
df
()¶ Format the object to pandas DataFrame
Returns: The DataFrame Return type: pandas.DataFrame
-
to_csv
(path_or_buf=None, sep=', ')¶ Format and save the object to a csv file
Example:
>>> trajectory.to_csv('trajectory.csv')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- sep (str) – the csv separator (default is ‘,’)
Returns: The csv as a string is path_or_buf is None
Return type: str or None
-
to_kml_obj
(type='LineString', time_ratio=1.0, color='ff0000ff', kml=None)¶ Format the object to a kml object
Parameters: - type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
- color (str) – The hexadecimal color with or without the alpha channel at the end (default is ‘ff0000ff’)
- kml (object) – The kml object, if node a kml object is created (default is None)
Returns: The kml object
Return type: object
-
to_kml
(path_or_buf=None, type='LineString', time_ratio=1.0)¶ Format and save the object to a kml file
Example:
>>> trajectory.to_kml('trajectory.kml')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
Returns: The kml as a string if path_or_buf is None
Return type: str or None
-
to_kmz
(path, type='LinesString', time_ratio=1.0)¶ Format and save the object to a kmz file
Example:
>>> trajectory.to_kmz('trajectory.kmz')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str) – The geojson object type can be ‘LineString’, ‘Points’ or ‘Camera’ (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
-
to_geojson_obj
(type='LineString', geojson_obj=None, name='')¶ Format the object to a geojson file
Parameters: - type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- name (str) – The name of the object (default is ‘’)
- geojson_obj (object) – The geojson object, if None a geojson object is created (default is None)
Returns: The geojson object
Return type: object
-
to_geojson
(path_or_buf=None, type='LineString')¶ Format and save the object to a geojson file
Example:
>>> trajectory.to_geojson('trajectory.json')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
Returns: The geojson as a string if path_or_buf is None
Return type: str or None
-
ApproxTrajectory¶
-
class
pyRinexpro.
ApproxTrajectory
(json_obj)¶ Bases:
pyRinexpro.logs.ATrajectory
A list of approximated position that represent a trajectory
Parameters: json_obj (object) – The parsed json
Trajectory¶
-
class
pyRinexpro.
Trajectory
(json_obj)¶ Bases:
pyRinexpro.logs.ATrajectory
A list of position that represent a trajectory
Parameters: json_obj (object) – The parsed json
Pcv¶
-
class
pyRinexpro.
Pcv
(json_obj)¶ Bases:
object
The pcv
Parameters: json_obj (object) – The parsed json
Product¶
-
class
pyRinexpro.
Product
(json_obj)¶ Bases:
object
The product
Parameters: json_obj (object) – The parsed json
Solution¶
-
class
pyRinexpro.
Solution
(json_obj)¶ Bases:
object
The solution
Parameters: json_obj (object) – The parsed json
Atmo¶
-
class
pyRinexpro.
Atmo
(json_obj)¶ Bases:
object
The atmo
Parameters: json_obj (object) – The parsed json
Baseline¶
-
class
pyRinexpro.
Baseline
(json_obj)¶ Bases:
object
The baseline
Parameters: json_obj (object) – The parsed json
Station¶
-
class
pyRinexpro.
Station
(json_obj)¶ Bases:
object
The station
Parameters: json_obj (object) – The parsed json
Network¶
-
class
pyRinexpro.
Network
(json_obj)¶ Bases:
object
The network
Parameters: json_obj (object) – The parsed json
Log¶
-
class
pyRinexpro.
Log
(json_obj)¶ Bases:
object
The general logs data
Parameters: json_obj (object) – The parsed json
LogRineqc¶
-
class
pyRinexpro.
LogRineqc
(json_obj)¶ Bases:
pyRinexpro.logs.Log
The log data for the rineqc algorithm
Parameters: json_obj (object) – The parsed json
LogPPP¶
-
class
pyRinexpro.
LogPPP
(json_obj)¶ Bases:
pyRinexpro.logs.Log
The log data for the ppp algorithm
Parameters: json_obj (object) – The parsed json
LogDiff¶
-
class
pyRinexpro.
LogDiff
(json_obj)¶ Bases:
pyRinexpro.logs.Log
The log data for the diff algorithm
Parameters: json_obj (object) – The parsed json -
to_kml_obj
(type='LineString', time_ratio=1.0, kml=None)¶ Format the object to a kml object
Parameters: - type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
- kml (object) – The kml object, if None a kml object is created (default is None)
Returns: The kml object
Return type: object
-
to_kml
(path_or_buf=None, type='LineString', time_ratio=1.0)¶ Format and save the object to a kml file
Example:
>>> log.to_kml('diff-trajectory.kml')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
Returns: The kml as a string if path_or_buf is None
Return type: str or None
-
to_kmz
(path, type='LinesString', time_ratio=1.0)¶ Format and save the object to a kmz file
Example:
>>> log.to_kmz('diff-trajectory.kmz')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- time_ratio (float) – The time ratio used only when type is ‘Camera’ (default is 1.0)
-
to_geojson_obj
(type='LineString', geojson_obj=None)¶ Format the object to a geojson file
Parameters: - type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
- geojson_obj (object) – The geojson object, if None a geojson object is created (default is None)
Returns: The geojson object
Return type: object
-
to_geojson
(path_or_buf=None, type='LineString')¶ Format and save the object to a geojson file
Example:
>>> log.to_geojson('diff-trajectory.json')
Parameters: - path_or_buf (str or file) – The path or the file-like object to save the file (default is None)
- type (str or RepType) – Multiple type can be used with | or ‘|’ for string (default is ‘LineString’)
Returns: Return the geojson as a string if path_or_buf is None
Return type: str or None
-