Company Logo

GCF2MSD 1.5

GCF2MSD is a command line utility for converting GCF data to miniSEED format.

Download GCF2MSD v1.5 for Windows (225K .zip)

or GCF2MSD v1.5 for Linux i386 (230K .gz). This binary needs access to the Qt runtime library (2.4M .gz), either in your normal library path or in the current directory.

Usage

To get a list of the options, run the program without any parameters. The following text is displayed:

GCF2MSD            (c) Guralp systems 2006    v1.5

Usage: GCF2MSD filespec [/o:output_dir] [/net:nn] [/sys]

  where 'filespec'   must be the first parameter.
                     specifies a GCF file or files to convert.
                     Wildcards are supported
        'output_dir' specifies a directory for converted files.
                     if not specified, the directory of the input file is used
        'nn'         specifies a two-digit network code
                     to be included in the miniSEED header
        '/sys'       Specifies the GCF System ID field is used in the
                     MiniSeed Station-ID field instead of the serial number
        'inifile'    is an text file where additional miniSEED-specific
                     parameters are stored

You can use wildcards in the filename, so gcf2msd *.gcf will convert every gcf file in the current directory. The name of the converted file will be the same as the gcf file name, with the extension changed to .msd.

If the GCF file contains gaps, GCF2MSD will end the current miniSEED block and start a new one for the later data. The new block will be time stamped with the time of the first sample after the gap. GCF2MSD will print out a warning message if this occurs.

If the GCF file contains data out of time sequence, i.e. GCF2MSD encounters data with a timestamp earlier than the latest so far received, the data will be discarded.

Because of this, backfilling filing modes (such as the DM24's ADAPTIVE mode) will only work as expected if the data is put in order before being saved as a GCF file. This can be done in Scream! using a suitably large stream buffer.

You can configure Scream! to run GCF2MSD automatically on GCF files it produces, by setting it as a post-processor. Although Scream! can output miniSEED files, it will not output in multiple formats simultaneously, so using GCF2MSD as a post-processor will save you running two copies of Scream!.

To set a post-processor, open the Files tab of Scream!'s Setup window, and enter the full path of the GCF2MSD program file in the Post-Processor box. Click OK to save the setting.

The /o option

Supplying a directory after /o will make GCF2MSD place all converted files in this directory.

Specifying MiniSEED headers

By default, Scream! derives the MiniSEED header information from the System ID and Stream ID of the digitizer, together with information about the stream.

Options are provided which allow you to change this behaviour: