MATT_MESSAGE
Create Sample MATT messages.
MATT_MESSAGE
is a FORTRAN77 program which
simulates the operation of a satellite warning system which communicates
by a series of formatted messages indicating the location and type of
various threats.
Usage:
matt_message
runs the program, creating a sample file matt_message.txt containing
20 random MATT messages.
Related Data and Programs:
MATT_EOB
is a FORTRAN77 program which
reads EOB data from a threat file, and sends the relevant data to
a MATT message file.
MATT_MESSAGE is available in
a C version and
a FORTRAN77 version.
Source Code:
Examples and Tests:
List of Routines:
-
MAIN is the main program for MATT_MESSAGE.
-
DELFIL deletes the file FILNAM if it exists.
-
GAUSS generates an approximately normal random deviate.
-
GETDMY returns the current day, month, and year.
-
GETHMS returns the current hour, minute and second.
-
GETUNIT returns a free FORTRAN unit, or 0 if none can be found.
-
HELLO prints out an introductory message about the program.
-
INIT initializes the data to sensible or default or dummy values.
-
RANDOM returns a random value between 0 and 1.
-
RCHOOSE returns a random integer between 1 and N.
-
TIMESTAMP prints out the current YMDHMS date as a timestamp.
-
TIMESTRING writes the current YMDHMS date into a string.
-
WCHOOSE returns an integer between 1 and N, chosen randomly, but
-
WRTREP writes a MATT report to a file opened on FORTRAN unit IUNIT.
You can go up one level to
the FORTRAN77 source codes.
Last revised on 01 January 2009.