Skip to content

The purpose of the GeodeZYX toolbox is to provide simple but useful functions for Geodesy and Geophysics.

License

Notifications You must be signed in to change notification settings

chiyu-chiu/GeodeZYX-Toolbox_v4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

   _____                _      ________     ____   __  _______          _ _               
  / ____|              | |    |___  /\ \   / /\ \ / / |__   __|        | | |              
 | |  __  ___  ___   __| | ___   / /  \ \_/ /  \ V /     | | ___   ___ | | |__   _____  __
 | | |_ |/ _ \/ _ \ / _` |/ _ \ / /    \   /    > <      | |/ _ \ / _ \| | '_ \ / _ \ \/ /
 | |__| |  __/ (_) | (_| |  __// /__    | |    / . \     | | (_) | (_) | | |_) | (_) >  < 
  \_____|\___|\___/ \__,_|\___/_____|   |_|   /_/ \_\    |_|\___/ \___/|_|_.__/ \___/_/\_\
                                                                                          

V 4.0c

Authors : 
Pierre Sakic, Gustavo Mansur, and Kitpracha "Na" Chaiyaporn, Valérie Ballu
GFZ, Potsdam, Germany 
(previously at Université de La Rochelle, France)
e-mail : pierre.sakic@gfz-potsdam.de

Citation :
Sakic, Pierre; Mansur, Gustavo; Chaiyaporn, Kitpracha; Ballu, Valérie (2019):
The geodeZYX toolbox: a versatile Python 3 toolbox for geodetic-oriented purposes. 
V. 4.0. GFZ Data Services. http://doi.org/10.5880/GFZ.1.1.2019.002
                                                                                          
README Revision : 2019-11-07

0) LICENCE

GNU General Public License, Version 3, 29 June 2007

Copyright © 2019 Helmholtz Centre Potsdam GFZ 
German Research Centre for Geosciences, Potsdam, Germany 
(Pierre Sakic, Gustavo Mansur, and Kitpracha "Na" Chaiyaporn, Valérie Ballu)

The geodeZYX toolbox is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the 
Free Software Foundation, either version 3 of the License, or 
(at your option) any later version. The geodeZYX toolbox is distributed 
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
See the GNU General Public License for more details. 

You should have received a copy of the GNU General Public License 
along with this program. If not, see http://www.gnu.org/licenses/.

1) INTRODUCTION

The purpose of this GeodeZYX toolbox is to provide all the functions which
can be useful for Geodesy and Geophysics. 

It includes low level functions, file management functions,
time and space-coordinates conversion functions, 
data (especially GNSS observations and orbits) retrieve functions, 
plots and visual selection functions ...

It is designed for Python 3 on a LINUX Ubuntu-like system.
Also tested with Anaconda

2) INSTALLATION

2.1) Download the toolbox from GitHub

2.1.1) Github in a nutshell
If you are not familiar with Git and Github have a look in 
https://guides.github.com/

We decide to adopt the forking+pull request workflow
https://guides.github.com/activities/forking/

2.1.2) the proper basic steps
* Create an account on GitHub
* Go on the page of the project :
  https://github.com/GeodeZYX/GeodeZYX-Toolbox_v4
* Fork it, i.e. click on the "Fork" button
* Clone your fork on your computer ("Clone" button) 

2.2) Prerequisite

We suppose that the regular Python libraires (matplotlib, numpy, scipy ...)
are already installed and up-to-date.

You have to install some annex Python libraries which are not installed per default
(tested with Anaconda and Ubuntu). Namely :

tabulate
collections
natsort
sympy
bs4 

2.2.1) With the standard Python Interpreter of Ubuntu (most cases)

* In a terminal use pip to install the libraries :
sudo pip3 -I -U install <name of the library above>

2.2.2) With Anaconda

* update Anaconda first
conda update --all

* Install the package in Anaconda
conda install <name of the library above>

3) Main installation

Since the toolbox is still at the beta level, there is no “pythonic” installation way yet. Here are the two options you have to install the toolbox 

3.1) General installation (recommended)

* In a terminal, edit your .bashrc using e.g. 
nano ~/.bashrc

* add a line 
export PYTHONPATH=$PYTHONPATH:<path to the toolbox>/GeodeZYX-Toolbox_v4/geodezyx

* The toolbox is installed !

3.2) Spyder user

For the ones who use the Graphical User Interface Spyder (which I recommend) :
* click on the “PYTHONPATH manager” button (the Python logo-shaped icon between the spanner icon and the left arrow icon on the main toolbar)
*  add the folder
<path to the toolbox>/GeodeZYX-Toolbox_v4/geodezyx

* The toolbox is installed !

3.3) check the installation

* in a python terminal run 
from geodezyx import *       

If no error appears, then the toolbox is well installed !
Else, it may miss a library. Follow the *prerequisite* section

4) COMPONENTS

conv           : Conversion of time and 
utils          : Shell-like functions (grep, find in folder ...)
                 and functions to optimize list management
time_series    : 
stats          : Low-level statistics functions & outlier detection functions
reffram        : Reference Frame & high-level coordinates conversion
operational    : Download GNSS data/products from various servers
                 Read sitelogs 
files_rw       : read, import & write geodetic files
geodyn         : Euler pole calculator and plot velocity field maps


4.1) Other modules
externlib      : call easily all extern librairies
athmo          
marine 


maintened for legacy purposes :
megalib
legacy_source

About

The purpose of the GeodeZYX toolbox is to provide simple but useful functions for Geodesy and Geophysics.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.0%
  • JavaScript 1.3%
  • CSS 0.5%
  • HTML 0.2%
  • Batchfile 0.0%
  • Makefile 0.0%