How to Download Accelerogram for given Earthquake Event?

Following are steps for downloading acceleration time history for any earthquake record:

  1. Open
  2. Check station info from
  3. You can find more about parameters of timeseries inputs from find event page of wilber3
  4. Network = II, Station = AAK, Location = 00, Channel = BH1, Start time = 2015-10-26 09:11:18, End time = 2015-10-26 09:21:18, Correction = Perform Instrument Correction, Frequency Limits = 0.001-0.02-0.02-9. Check differentiate, taper = 0.1, taper window = cosine, output = plot
  5. The url link is generated below, press to open in new tab. A time history plot will be opened in new window, which, you can save as image.
  6. Change the output type to ASCII: 2 column format, and click the below link to download the data.
  7. You can also change to audio to hear calculated sound of earthquake.
  8. Change channel to BH2 and then BHZ to download other components.
  9. Open the text file in spread sheet to process data.
Timeseries Data form
Timeseries Data form


Below is video explaining above steps: FB page of Engineering Programs

How to Download Seismogram for Given Earthquake Event?

Following are steps for downloading seismogram from IRIS Wilber3 for any earthquake event from any station:

  1. Open
  2. You can view recent requests to download or Load Event Data.

    Find Earthquake Event and Station Info at Wilber 03
    Find Earthquake Event and Station Info at Wilber 03
  3. Select Past 12 months, M4.0+ in combo box of Load Event Data and Specify start and end date as 2015-10-26
  4. Scroll down to select event at date (utc) 2015-10-26 09:09:42 and click it to open.

    Station Details for Given Event
    Station Details for Given Event
  5. You can check coordinates, date, depth, and Related event page. Select the station for which you want to download data. Use map to zoom for stations.
  6. In the list below, click the station for which you want to download data.
  7. Select AAK. A popup will appear showing seismogram, phase arrival, time range. You can also select the instrument to preview its data. You can change time range to customize the seismograph. Close this pop up.

    Station Details for given Earthquake Event Showing Seismograms
    Station Details for given Earthquake Event Showing Seismograms
  8. With station AAK selected, press Show Record Section in side pan on right to see detailed seismograms.

    Show Record Section shows recorded seismograms at different stations.
    Show Record Section shows recorded seismograms at different stations.
  9. Press Request Data button, give your desired time range, data output format (SAAC or miniseed), bundle type, and fill the request info along with your email to let know you when the download file is ready.

    Request Data form helps in downloading earthquake record.
    Request Data form helps in downloading earthquake record.
  10. Press Submit button and check save these settings as default.

Below is video tutorial of above steps:

Drafting in Octave/Matlab

Plotting package of octave is very powerful. It can be used to plot architectural drawings. Following steps are required:

  1. Sketching the layout on paper while noting down the points and labeling it.
  2. Afterwards, the coordinates of point is calculated.
  3. Commands of line, gtext and axis limits are used.

For demo, m-file named drawoschool.m (draw octave school) is created which can be downloaded from here

To use this m-file, type:

Architectural Drafting in GNU OCTAVE
Architectural Drafting in GNU OCTAVE

Debian4Engr Series 07: Installation of Blender

Following is one step guide for Installation of Blender in GNU Debian-cut and wheezy:


In GNU Debian, write following command in terminal:

The latest version is available in testing repo and available by default in debian-cut


  1. Get Blender from

Debian4Engr Series 06: Installation of QGIS

Following is guide for installation of QGIS 1.8.0 in GNU Debian-cut and wheezy:

  1. Update sources.list:
  2. Update Packages for Wheezy for i386 and amd64 are available at:

  3. Keyring:
  4. To add the the repository public key to your apt keyring, type:

  5. Installation:
  6. If you also want python plugins make sure to install the optional python package:

    If you want the GRASS plugin make sure to install the optional package:

  7. Note:
  8. As to date i.e., 30/09/12, qgis-plugin-grass was not installable because it required a package grass641 which is not available in any repo (stable, testing, unstable, experimental) of debian. I have reported the bug to QGIS issue tracking. For now, I upgraded to nightly build of qgis by changing sources.list as:

    Then followed the steps of installation heading as described above and successfully install all three packages, i.e, qgis, python-qgis and qgis-plugin-grass. QGIS 1.90 – Master was installed successfully.

  9. Reference:
  1. QGIS Official Installation Guide

Debian4Engr Series: 05 Document writing using LaTeX

LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents. One of great benefit of LaTeX is that it can be converted easily to postscript, pdf or html. There is excellent collection documentation and books on LaTeX website which can be helpful to get started with LaTeX.

Following packages are required to work with LaTeX in Debian:

  1. texlive – the base TEX/LATEX setup.
  2. emacs (with auctex) – a Linux editor that integrates tightly with LATEX through the add-on AucTeX package.
  3. ghostscript – a PostScript preview program.
  4. xpdf and acrobat – a PDF preview program.
  5. imagemagick – a free program for converting bitmap images.
  6. gimp – a free photoshop look-a-like.
  7. inkscape – a free illustrator/corel draw look-a-like.

Following is a simple getting started tex file that should be save with name of hello.tex using emacs or gedit.

Above file can be compile either directly from emacs or from terminal by following command:

The result will be a pdf file with following writing:

Creating CV,  Technical Reports and Presentation:

You can write your entire technical report, thesis or CV in LaTeX. You can also use Beamer class  (latet-beamer) to create Powerpoint like presentation in LaTeX.


Converting odt to LaTeX:

Libre documents can be converted to LaTeX using w2l command from terminal. This feature will requires installation of libreoffice-writer2latex and writer2latex.

Then executing w2l will convert odt to LaTeX file.

Converting LaTeX to odt:

tex4ht package is required for this conversion:

To convert document, use oolatex command:

Another package for LaTeX to odt is pandoc. To install use:

To convert, LaTeX to odt, use:

pandoc can be used to convert tex to other formats.

Both conversion are not giving ditto copy of original tex file. But they are helpful to get required file which need further editing to make it same as original tex file.


  1. LaTeX Project
  2. Sample Thesis and  CV in LaTeX on
  3. Beamer Class
  4. odt to LaTeX
  5. tex4ht
  6. pandoc


Debian4Engr Series: 04 Recommended Packages, Tips & Useful links

Recommended Packages:

  1. icedove, for email client, to install from root terminal:
  2. iceweasel, for browser (its same firefox but with removed copyright content i.e., mozilla logo and its brand name firefox), to install from root terminal:
  3. libreoffice, gnu/gpl office software as openoffice is now voilating opensource licenses, to install:
  4. unrar, program for extracting rar archive files, to install:
  5. opensource matlab, scilab, to install:
  6. eclipse ide with jdk, to install:

    and to install cdt (c++ development tools for eclipse):

    . To install g++ and its debugger:
  7. ffmpeg, for audio/video codec converter, to install:
  8. kdenlive, for video/audio editing, to install:
  9. qcad, for 2d engineering cad/cam. to install:


Recommended Tasks:


  1. Never experiment with production system.
  2. Never install software outside from repo or from source code.
  3. Always backup on regular basis and before experimenting with new package.
  4. Some guide, tips and solution given on different sites are outdated and doesn’t work with your current distro. Check date of upload of these guides.


Useful links:

Debian4Engr Series: 03 Recommended sources.list & apt preferences

My Debian sources.list is:

and my apt preferences file is:

I have kept lower priorities in preference for testing and unstable because they are not recommended for stable production system and may crash your system.

After setting preferences, you need to put ‘-t {repo type}’ for installation e.g.,


Reference: Apt-Pinning for Beginners

Debian4Engr Series: 02 Recommended Linux Partition

During installation of Debian Linux, you are required to enter partition scheme. The easiest way is to use entire disk and recommended partition or you can decide yourself the partition. One of helpful detail of partition is given below:

swap = 2GB
file type for rest of partition = ext4
/ = 6GB
/boot =200MB
/opt = 10GB
/srv = 3GB
/tmp = 6GB
/usr = 10GB
/usr/local = 10GB
/var = 5GB
and finally for /home = rest of space left (but atleast 10GB).
This partition is on Logical Volume Manager – LVM. You can edit each partition later using GParted Live CD.

Note: This recommended partition is for end user’s laptop and desktop. For servers, /srv partition should be big enough for running services and /var partition must also be adjusted for maintaining log files.

For More info:

You can find more information about swap size from: NixCraft or The details on each partition is given in NixCraft, LinuxPlanet, and on LinuxQuestions.

For partitioning multiple disks, guide can be found on tldp.

To check existing partition, use fdisk, palimpsest and baobab – Gnome Disk Usage Analyzer.

Debian4Engr Series: 01 Before Installation

Debian is a free operating system (OS) for your computer. Debian GNU/Linux provides more than a pure OS: it comes with over 29000 packages, precompiled software bundled up in a nice format for easy installation on your machine. Read more…

01 Before Installation

  1. Debian Linux is installed on most of the desktops without any issues. If you want to install Debian Linux on laptop then check hardware support from or
  2. If your laptop not found in the list then still you can try it.
  3. Run live cd mode to check keyboard layout, hardware compatibility, installed software and desktop environment.
  4. To get used to with environment of Linux and its desktop like gnome or kde, install it in virtualbox.
  5. Debian Linux is recommended for advance Linux users. It is recommended to try easy distro like Ubuntu before and have some know how on basic Linux commands and tasks.