| UNAVCO
 


Knowledge Base

EGADS automated downloading software

EGADS: Extensible GPS Array Data System

EGADS is a community-based download program initially developed for the SCIGN project. EGADS is a Perl program used in conjunction with Sharc (see below) that automates the downloading and file naming of GPS data files from a remote GPS system.

See the UNAVCO summary on How to install EGADS & SHARC on a RedHat LINUX 7.3 system (pdf) for more details on software installation.

Sharc
sharc-0.99.9-1.i386.rpm

To check for the most recent version of Sharc, go to http://sourceforge.net/projects/sharc/.

EGADS
egads-2.0a2.tar

EGADS requires 4 supporting modules in order to function properly:

  • DateTime::Precise

  • XML::Parser

  • MIME::Base64

  • URI::URL.

Download modules for 7.3

Modules can also be downloaded individually (below). Note that there may be more recent versions for your specific OS version; most of the modules can be found in rpm format from rpmfind.net.

    DateTime-Precise-1.05.tar.gz
    MIME-Base64-2.12.tar.gz
    URI-1.18.tar.gz
    XML-Parser-2.29.tar.gz
    expat-1.95.2-1.i686.rpm

To install an rpm use the following command : rpm -Uvh ’rpm name’.
To install the modules (if not an rpm) perform the following set of commands:
    ’perl Makefile.PL’
    ’make’
    ’make test’
    ’make install’

Hints
Try a direct connection first and then a modem or FreeWave connection. Run Sharc manually first, just to make sure that you are able to download a file allocation table (fat) file. You can always type sharc --help and you will get the different options that Sharc will take as input.

Examples:
sharc --port /dev/ttyS1 --baud 38400 --fatfile fat.out (fat.out will show index of all files on receiver)
sharc --port /dev/ttyS1 --baud 38400 --download 2-4 (will download files 2-4)
To run egads manually from /home/egads/EGADS/bin
./egads_client.pl --nosoap --daemon --hub local-ttyS1 > /dev/null &

The following run_egads script can be placed in /home/egads and run from the cron:

#!/bin/tcsh
set R=`/sbin/pidof -x /home/egads/EGADS/bin/egads_client.pl`
if ( "$R" == "" ) then
setenv EGADSCONFIG /home/egads/EGADS/xml/Egads.xml
cd /home/egads/EGADS/bin
nohup ./egads_client.pl --nosoap --daemon --hub local-ttyS1 > /dev/null &
endif
exit

Your crontab entry could look like the following:
    05 * * * * /home/egads/run_egads > /dev/null 2>&1

Attached Files (9)
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Binex stream capturing utility
Viewed 3166 times since Wed, Apr 1, 2009
What is NTRIP?
Viewed 14705 times since Tue, Nov 18, 2008
Teqc: Matlab scripts for reading and plotting COMPACT2 files
Viewed 10398 times since Wed, Feb 8, 2012
Motorola Phone Tools
Viewed 2297 times since Mon, Apr 20, 2009
Basic HOWTO guide for creating metrological data products from a real time streams.
Viewed 1983 times since Tue, Feb 28, 2012
Real_time_QC
Viewed 1788 times since Fri, Sep 4, 2015
What is TEQC?
Viewed 4326 times since Tue, Nov 18, 2008
How to remotely access receivers that are being downloaded using the WIGATE software
Viewed 6914 times since Tue, Nov 18, 2008
MENU

Last modified: Monday, 12-May-2014 00:18:29 UTC