You are on page 1of 19

gAGE

research group of Astronomy and Geomatics

Installing Software
Windows

Contact: jaume.sanz@upc.edu
gAGE/UPC

Web site: http://www.gage.upc.edu

Master of Science in GNSS @ J. Sanz & J.M. Juan


gAGE

Introduction
research group of Astronomy and Geomatics

These tutorials have been designed to be executed


under UNIX (Linux) Operative System (OS). Which is a
very powerful and robust environment.

Nevertheless, Windows OS users can do the laboratory


sessions by using Cygwin, which is a tool that allows
to emulate a UNIX command line shell over Windows.

Indeed, after installing Cygwin, users can develop the


laboratory sessions as if they were working on a UNIX
system (as these tutorials were designed).
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


2
gAGE A) Download the software from http://gage.es/tutorials
Make the folder LABORATORY on the Desktop and download the Software
research group of Astronomy and Geomatics

and Data files in this folder (see website in next slide):


gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


3
http://gage.es/tutorials
gAGE
research group of Astronomy and Geomatics

Download:
• Instalable Toolkit (gLAB + Cygwin)
• Data Files
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


4
B) Installing gLAB + Cygwin
gAGE

1.- First step: Click over the icon


research group of Astronomy and Geomatics

Check the folder:


C:\gLAB
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


5
gAGE
research group of Astronomy and Geomatics 2.- Second Step: Completing the gLAB Setup Wizard

Cygwin installation
must be selected
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


6
gAGE
research group of Astronomy and Geomatics
gAGE/UPC Once installation finish there will appear the icons of gLAB and Cygwin Terminal

Master of Science in GNSS @ J. Sanz & J.M. Juan


7
gAGE Windows Troubleshooting:
Execute only if gLAB
research group of Astronomy and Geomatics

doesn’t run
Some distributions of windows (e.g. Windows XP) do not install some dlls
required to run gLAB_GUI. This problem is fixed by installing the "Microsoft
Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update“.

To install this package:


1) Go to the DLL_fix folder, inside C:\gLAB directory.
2) Execute vcredist_x64
or vcredist_x86
gAGE/UPC

Master of Science in GNSS Backup Slide @ J. Sanz & J.M. Juan


C) Setting up the Working Area
gAGE
research group of Astronomy and Geomatics

1.- Open a Terminal


by clicking on the
Cygwin Terminal icon

2.- Go to the directory


having the Data Files
gAGE/UPC

cd ´´C:\Users\jaume\Desktop\LABORATORY´´

Master of Science in GNSS @ J. Sanz & J.M. Juan


9
gAGE
research group of Astronomy and Geomatics

3.- Open the zipped tar Data File by executing:

tar xvfz GNSS_TUTBOOK_Windows.tar.gz

5.- Follow the


instructions of
README_start file

Or follow the
ntpd_tut1.txt files
……
ntpd_tut6.txt files
4.- Go to the “GNSS_TUTBOOK” directory

cd GNSS_TUTBOOK
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


10
gAGE
research group of Astronomy and Geomatics
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


11
gAGE
research group of Astronomy and Geomatics
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


12
gAGE
research group of Astronomy and Geomatics Other comments

• When changing the working directory with the “cd” command, it is


compulsory to insert the path inside quotes (“”) when the path is in
Windows style or the path contains blank spaces.
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


13
gAGE
research group of Astronomy and Geomatics Other comments

• There is an utility to convert between Windows paths and Cygwin


paths, named cygpath.

- To convert a Windows path to a Cygwin path, execute:


cygpath “Windows_path”

- To convert a Cygwin path to a Windows path, execute:


cygpath –w “Cygwin_path”
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


14
gAGE
research group of Astronomy and Geomatics Other comments

• gAGE’s Cygwin installation script creates links for gLAB GUI (Windows
version), gLAB command line (both Windows and Cygwin versions),
and graph (Windows version). They can be executed in any path just
typing gLAB_GUI.py, gLAB.exe, gLAB_linux and graph.py.
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


15
gAGE
research group of Astronomy and Geomatics Other comments

• The Cygwin installation provided with gLAB is a basic one. It provides


the packages for text edition and processing, octave program, file
compressing utilities, native C and fortran compiler, tcshell and perl
interpreters, a few tools for process management and the wget
program to download files from the internet. These are enough to do
the course and for automating gLAB.
• The full Cygwin installation has many more features, like for example:
GNUPlot, ssh client and server, X11 graphics, Apache server, and
many more.
• You can upgrade your Cygwin installation at any moment downloading
the Cygwin official instalator at http://cygwin.com/install.html It will
show you the packages available and will automatically add the new
packages you have selected to your current installation.
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


16
gAGE

Acknowledgements
research group of Astronomy and Geomatics

• The ESA/UPC GNSS-Lab Tool suit (gLAB) has been developed under
the ESA Education Office contract N. P1081434.
• The data set of GRACE-A LEO satellite was obtained from the NASA
Physical Oceanography Distributed Active Archive Center at the Jet
Propulsion Laboratory, California Institute of Technology.
• The other data files used in this study were acquired as part of NASA's
Earth Science Data Systems and archived and distributed by the
Crustal Dynamics Data Information System (CDDIS).
• To Deimos Ibáñez for his contribution to gLAB updating and making
the Windows installable version of this tutorial.
• To Adrià Rovira-Garcia for his contribution to the edition of this
material and gLAB updating.
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


17
gAGE

Main Bibliography
research group of Astronomy and Geomatics

J. Sanz Subirana, JM Juan Zornoza, M. Hernández-Pajares, GNSS Data


processing. Volume 1: Fundamental and Algorithms. ESA TM-23/1. ESA
Communications, 2013.
J. Sanz Subirana, JM Juan Zornoza, M. Hernández-Pajares, GNSS Data
processing. Volume 2: Laboratory Exercises. ESA TM-23/2. ESA
Communications, 2013.
Pratap Misra, Per Enge. Global Positioning System. Signals, Measurements,
and Performance. Ganga –Jamuna Press, 2004.
B. Hofmann-Wellenhof et al. GPS, Theory and Practice. Springer-Verlag. Wien,
New York, 1994.
B. W. Parkinson and J.J. Spiker. Global Positioning System: Theory and
Applications, Vol1 and Vol2. Progress in Astronautics and Aeronautics,
Volume 164, Cambridge, Massachusetts, US.
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


18
gAGE
research group of Astronomy and Geomatics

Thank you
gAGE/UPC

Master of Science in GNSS @ J. Sanz & J.M. Juan


19

You might also like