The Calendar Module

Earthquakes sources have four coordinates: three space coordinates and one time coordinate, the origin or source time. All four coordinates are usually determined from data that is given as times (phase arrival times). It is therefore necessary to carry out several computations with times and dates. In LOCSMITH, this is done by the routines of the calendar module.

This module is a collection of routines I have written several years ago in a different project. Most of the computations are based on the algorithms given by Meeus (1994).

The calendar module allows to transform times from h:m:s format into seconds, from y.m.d format into day of year and julian date, and several other transformations.


eof.