SFF++ library: reading and writing SFF from C++
sff::SRCE Struct Reference

#include <sffxx.h>

Public Member Functions

 SRCE ()
 
 SRCE (std::istream &is)
 
std::string line () const
 
void read (std::istream &is, const bool &debug=false)
 

Public Attributes

std::string type
 
libtime::TAbsoluteTime date
 time of source More...
 
Ecoosys cs
 
double cx
 
double cy
 
double cz
 

Static Public Attributes

static const char *const LINEID ="SRCE"
 

Detailed Description

This line holds information of the source that caused the seismic signal.

definition of SRCE line:

c     position   format   contents
c     1-5        a5       SRCE  (identifier)
c     6-25       a20      type of source (any string like "earthquake")
c     27         a1       type of coordinate system:
c                             C: cartesian    S: spherical
c     29-43      f15.6    c1   x               latitude
c     44-58      f15.6    c2   y               longitude
c     59-73      f15.6    c3   z               height
c                         see below for comments on coordinate specification
c     75-80      a6       date of source event: yymmdd
c     82-91      a10      time of source event: hhmmss.sss
 \sa \ref subsec_definition_srce_line

 Coordinate specification
c  Coordinate Specification
c
c    Notice that given coordinates imply a spatial relation between
c    the source location and the receiver locations. While spherical
c    coordinates refer to a fixed reference frame on the earth, cartesian
c    coordinates refer to an arbitrary origin. The creator of the 
c    datafile is responsible to take care that coordinate information
c    is consistent between the SRCE line and the several possible
c    INFO lines.
c
c    cartesian coordinates
c
c      x, y and z are vector components in a right handed cartesian
c      reference frame. While x and y lie arbitrary orientated in the
c      horizontal plane, z is counted positive upwards from an arbitrary
c      reference level (preferably the free surface). All three coordinate
c      values are measured in meters.
c
c    spherical coordinates
c
c      Latitude and longitude are given in the geographical reference frame
c      and measured in degrees. The height value gives the height above
c      the geoid and is measured in meters.
 \sa \ref sec_definition_coordinates

Definition at line 166 of file sffxx.h.


The documentation for this struct was generated from the following files: