– álvaro brange blog

sharing from the south of the world …
  • rss
  • Home
  • About
  • About me
  • Links

System for process and display data from Super-Conductor Gravimeter of TIGO Observatory (Chile)

abrange | January 14, 2008

In this post, I will explain in general, my thesis develop process. Sorry for my English, this isn’t my native language. In addition I wish to write it in this language in order to learn a bit more.

Before technical issues, a little introduction to thesis.

Currently, in Concepción, Chile, exist a geodesic observatory, called TIGO which has like target jointly contribute to the realization and updates to the global geodetic reference systems (ICRF: celestial reference frame; ITRS: Terrestrial Reference Frame), which today constitute the basis for determining position by means of navigation systems assisted by satellites.

Into TIGO there a Superconductor -Gravimeter that allow to measure the gravity level, but the data aren’t being analyzed, and scientists have only the raw date from it. So, I pretend provide of a web application that allow analyze and store the raw data to get useful information :).

In the next lines, I’ll put some code lines and steps used to get web application running. Why write? I write because if have some problem with my configuration, Linux, etc, I’ll back here and repeat the steps .. in order to not deal with some strange issues again :).

First approach to accomplish with the application, I will use Django as Web Application Framework using Python programming language.

Let’s start…

In order to dive into Django, I begin reading The Django Book. It seems like a good book for user that wish learn it.

In chapter 2. Installation, we found this steps to install Django

  • Install python (Ubuntu already has this installed)
  • Install Django (Latest stable version)
  • Install Python-Postgresql
  • Install Postgresql (Python package in Synaptic)

postgresql (version 8.2.5-1.1) will be installed
postgresql-8.2 (version 8.2.5-1.1) will be installed
postgresql-client-8.2 (version 8.2.5-1.1) will be installed
postgresql-client-common (version 78) will be installed
postgresql-common (version 78) will be installed

  • Install subversion client. Search (Subversion in Synaptic Package Manager)

libapr1 (version 1.2.7-8.2ubuntu1) will be installed
libaprutil1 (version 1.2.7+dfsg-2build1) will be installed
libsvn1 (version 1.4.4dfsg1-1ubuntu3) will be installed
subversion (version 1.4.4dfsg1-1ubuntu3) will be installed.

Already Installed Django, I decide remove it in order to use the current development version instead of last stable version. In oder to this.

  • Get Super user account, using: sudo -s
  • Delete Django directory, using: root@konunantulinux:/usr/lib/python2.5/site-packages# rm -rf django

Update source code of Django

For accomplish this task, we execute svn update into djtrunk directory

Django include a little server that allow test own web site without fight with Apache configuration. This task will be necessary with system is ready for Production.

To run web server, we write in Terminal:

root@konunantulinux:~/djcode/mysite# python manage.py runserver 0.0.0.0:8000
Validating models…
0 errors found
Django version 0.97-pre-SVN-7020, using settings ‘mysite.settings’
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
[22/Jan/2008 19:22:11] “GET / HTTP/1.1″ 404 1909

If IP is not specified, only server will be stay listening in loopback, and web page will no available for be accessed from other machine.

Starting interactive python interpreter using our Settings.

To do this, we write inside own directory called mysite
python manage.py shell

Categories
Computing, Thesis
Comments rss
Comments rss
Trackback
Trackback

« Puerto Montt, cuidad de cemento … Python IDE’s »

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Archives

  • October 2008
  • June 2008
  • May 2008
  • January 2008
  • December 2007

 

September 2010
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

  • Computing
  • Other
  • Thesis

Tags

"AeBC Agenda" "Agenda" "agenda gratis" "agenda personal" "agenda telefónica" "Gmail in sony ericsson" "own projects" "setting up gmail account" "Sony ericsson" Caller Contact Manager contactos Gmail HP LaserJet 1018 HPLIP Installing K550 Linux manager Movistar t280 telephone list ubuntu

Recent Comments

  • New casinos no deposit required 494 on AeBC Agenda. New release comming soon.
  • No deposit sites 163 on AeBC Agenda. New release comming soon.
  • 20 instant no deposit bonus casinos 590 on AeBC Agenda. New release comming soon.
  • Poker free deposit new member 475 on AeBC Agenda. New release comming soon.
  • Online slots bonus no deposit cashable 929 on AeBC Agenda. New release comming soon.

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox