dpq / pysatel

Automatically exported from code.google.com/p/pysatel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0. PREFACE

	The PySatel (Python-Satellite) project aims to build a convenient framework for acquiring and processing data from a fleet
of scientific spacecraft.

	PySatel requires the following packages to be installed:
		* MySQL 5.0
		* Python, Python-scipy, Python-mysqldb
	PySatel requires the following Python modules to be installed:
		* ephem by the pyephem project http://rhodesmill.org/pyephem/
		* igrf and cxform by the python-magnetosphere project https://code.google.com/p/python-magnetosphere/


1. WRITING A SATELLITE PROCESSING MODULE (SPM)

	An SPM is a Python module conforming to the appropriate API. An SPM template can be found in the pysatel source code directory.


2. USAGE

	executing from the shell
	/usr/local/lib/python2.5/site-packages/pysatel/process.py

	process.py - starts main cycle for each registred satellite
		o fetching
		o saving each instrument separately
		o parsing
		o saving parsed
		o saving to database
	process.py name - starts main cycle for satellite with given name

	process.py name processBinary - it supposed that we already fetch and save binary files
	process.py name L0 is the synonym for processBinary
		o parsing
		o saving parsed
		o saving to database

	process.py name saveToTxtAndDb - it supposed that we've already parsed fetched files
	process.py name L1 is the synonym for saveToTxtAndDb
		o saving to database

	process.py name path/to/files - replenish selected satellite with the files from given directory

	Further information on using pysatel can be obtained by running

		pysatel-admin help

	Thanks for visiting.
	Supposedly someday we will build proper packages, at least for RHEL and Debian.

3. UNINSTALLATION

	ATTENTION! If you want to delete the databases with all the content too, uncomment corresponding lines

	If you want just to stop script (delete it from cron), just remove the line
		@hourly /usr/local/lib/python2.5/site-packages/pysatel/process.py
	from your local crontab

	make uninstall.sh executable; run it

About

Automatically exported from code.google.com/p/pysatel

License:GNU General Public License v3.0


Languages

Language:Python 99.0%Language:ApacheConf 1.0%