GCF2SAC 1.4.7

GCF2SAC is a command line utility for converting GCF data to SAC format.

GCF2SAC will only process data for a single stream (i.e. a single component at a single sample rate from a single instrument). If you wish to convert a file containing multiple streams, you should pre-process it using GCFSPLIT and then convert the resulting files one by one.

Download

GCF2SAC v1.4.7 for Windows (80 K .zip)

This windows binary uses the QT runtime DLL file qtintf70.dll. This is normally installed with Scream but, if it is not installed on your system, you will receive an error message when you try to run this software. You can download this DLL from here. It should be placed either in the same directory as the program or in the system32 directory.

or

GCF2SAC v1.4.7 for OS X (123K .gz).

This software only runs on computers with 64-bit Intel Core™ processors. There is no version for computers with PowerPC™ or Apple M1™ processors.

or

GCF2SAC v1.4.7 for Linux (86 K .gz)

This linux binary needs access to the Qt runtime library (a 2.4 M .gz), either in your normal library path or in the current directory. If the library cannot be loaded, the following error is displayed:
Runtime error 230 at 080677E9 Segmentation fault (core dumped)
This 32-bit linux software runs on 32-bit and 64-bit operating systems. To install it on a 64-bit Linux platform, please follow these instructions to install the relevant libraries.

Usage

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

GCF2SAC v1.4.7 (c) Güralp systems 2020 Converter for GCF to SAC format Usage: GCF2SAC gcf file [-l] [-o:output_Dir] where -l produces little-endian (Intel) byte order (default big-endian) "output_Dir" specifies a directory for converted files. If not specified, the directory of the input file is used. An output file of the same name with extension '.sac' is generated. Any gaps in the time-series will be filled with value -2147483647 Any blocks with a timestamp going backwards will be ignored. The input GCF file should contain data for one stream only.

You can use wild cards in the file-name, so gcf2sac *.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 .sac.

SAC files do not support data which are not in time sequence. GCF2SAC will fill in any gaps with a dummy value (231-1). If data are encountered with time-stamps earlier than the latest so far received, GCF2SAC will discard them.

Because of this, back-filling transmission modes (such as the DM24′s ADAPTIVE mode) will only work as expected if the data are put in order before being saved as a GCF file. This can be done in Scream! using a suitably large stream buffer or by using the gcfrepair tool.

You can configure Scream! to run GCF2SAC automatically on GCF files it produces by setting it as a post-processor. Although Scream! can output SAC files, it will not output in multiple formats simultaneously, so using GCF2SAC 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 GCF2SAC program file in the Post-Processor box. Click the OK button to save the setting.

The -l option

Including the -l option in the command line will force GCF2SAC to use little-endian (Intel) byte order. The default is big-endian (Motorola, or ‘network’) byte order.

The -o: option

Supplying a directory path name after -o: will make GCF2SAC place all converted files in this directory. If the directory does not exist, it will be created.

For more information, first contact your local distributor or email .