Смекни!
smekni.com

7 Конфигурирование цифровых преобразователей 85 (стр. 27 из 35)

gcf2asc your-gcf-file.gcf /uff,

где your-gcf-file.gcf должен быть заменен правильным именем файла.

Получить справку используйте команду gcf2asc, вводя gcf2asc /?

По умолчанию, gcf2asc создаст файл с тем же самым именем как оригинал, но с расширением .txt; Вы можете переименовать его, чтобы иметь расширение .uff or .ufa. Любые отсутствующие в файле GCF данные заменяются значением –2147483647 (максимальное возможное отрицательное число в формате GCF).

Прежде чем запустить gcf2asc Вы должны быть уверены, что у Вас есть достаточно дискового пространства, чтобы создать файл UFF. Файлы ASCII типично приблизительно в 10 раз больше чем эквивалентный файл GCF.

9.2.2 Формат MiniSEED

Scream supports recording in the IRIS MiniSEED format, using the same rules for file and directory names as for GCF files (see above), but using the extension .msd.

Data is stored in 4K blocks with Motorola byte order, using Steim-1 compression. If a discontinuity is detected in the incoming data stream, then the block which is currently being built is written to disk, and a new block is started with its timestamp in the header. Files continue to be created according to the options you have specified for Granularity.

The MiniSEED headers are formed to comply with the FSDN SEED naming conventions:

-The instrument's serial number is used as the MiniSEED Station ID.

-Streams with sample rates ≥ 80 samples/s use H as the band code (first character) in the Channel ID.

-Streams with sample rates between 10 and 50 samples/s use B as the band code in the Channel ID.

-Streams with sample rates between 2 and 8 samples/s use M as the band code in the Channel ID.

-Streams with sample rates of 1 sample/s use L as the band code in the Channel ID.

-All streams use H as the instrument code (second character) in the Channel ID.

-Streams ending in Zn, Nn, and En use Z, N, and E respectively as the orientation code (third character) in the Channel ID.

You can also define your own SEED names for streams in Scream's scream.ini file. To do this, add a line to the end of the file reading

[ExportInfo]

After this line, list channels you want to map, one per line, in the format

SYSTID-STREAM=sta:SSS chan:CCC net:NN loc:LL

or

SYSTID-SERN=sta:SSS net:NN loc:LL

or

SYSTID=net:NN loc:LL

where SYSTID is the System ID, STREAM is the Stream ID, SERN is the serial number, SSS is the desired station name, CCC the channel code, NN is the 2-character network code, and LL the location code.

If you use a SYSID-SERN line, Scream will apply it to all streams from the digitizer with that serial number, filling in the channel code automatically.

If you use a SYSID line, Scream will apply it to all streams from any digitizer with that System ID, filling in the channel code automatically and taking the Station Name from the digitizer's serial number.

If both instrument (SYSTID-SERN) and stream (SYSID-STREAM) lines are present, the stream lines will override the instrument lines. Likewise, a SYSTID-SERN line will override a line with just SYSID if both are present. This allows you to set default values for an instrument or network in a single section.

If you miss out a specification, Scream will fill in the default value. The loc: specification is optional.

The Standard for the Exchange of Earthquake Data (SEED) is an international standard format for the exchange of digital seismological data. SEED was designed for use by the earthquake research community, primarily for the exchange between institutions of unprocessed earth motion data. It is a format for digital data measured at one point in space and at equal intervals of time.

SEED helps seismologists who record, share, and use seismological data. By providing a standard, SEED makes transmitting, receiving, and processing earthquake data easier and more accurate.

Scream поддерживает запись в IRIS MiniSEED формате, используя те же самые правила для имен файлов и имен директорий что и для GCF файлов (см. выше), но используя расширение .msd.

Данные хранятся в пакетах по 4 КБ с порядком следования байт Motorola, используя компрессию Steim-1. Если в исходном потоке данных будет обнаружено нарушение непрерывности данных (разрыв), когда пакет сформирован и записан на диск, то будут начат новый пакет с его штампом времени в заголовке. Файлы продолжают создаваться согласно опциям, которые Вы определили для Granularity.

Заголовки MiniSEED сформированы, чтобы выполнить FSDN SEED соглашения об именах:

- Серийный номер инструмента используется как MiniSEED Station ID.

- Потоки с частотой выборки ≥ 80 отсчетов в секунду используют H как код полосы (первый символ) в Channel ID.

- Потоки с частотой выборки между 10 и 50 отсчетов в секунду используют B как код полосы в Channel ID.

- Потоки с частотой выборки между 2 и 8 отсчетов в секунду используют M как код полосы в Channel ID.

- Потоки с частотой выборки 1 отсчетов в секунду используют L как код полосы в Channel ID.

- Все потоки используют H как код инструмента (второй символ) в Channel ID.

- Потоки, заканчивающиеся на Zn, Nn, and En используют Z, N, и E соответственно как код ориентации (третий символ) в Channel ID.

Вы можете также определить свои собственные SEED имена для потоков в Scream scream.ini file. Чтобы сделать это, добавьте строку в конце файла

[ExportInfo]

После этой линии, каналы списка Вы хотите отобразить, одинв строку, вформате

SYSTID-STREAM=sta:SSS chan:CCC net:NN loc:LL

или

SYSTID-SERN=sta:SSS net:NN loc:LL

или

SYSTID=net:NN loc:LL

где SYSTID – System ID, STREAM – Stream ID, SERN – серийный номер, SSS – выбранное имя станции, CCC –код канала, NN - 2-символьный код сети, and LL – код местонахождения станции.

Если Вы используете линию SYSID-SERN, Scream применит это ко всем потокам от цифрового преобразователя с названным серийным номером, заполняя коды каналов автоматически.

Если Вы используете линию SYSID, Scream применит это ко всем потокам любого цифрового преобразователя с названным System ID, заполняя коды каналов автоматически и беря Station Name из серийного номера цифрового преобразователя.

Если Вы используете обе линии и инструмент (SYSTID-SERN) и поток (SYSID-STREAM), строка потока отменит строку инструмента. Аналогично, линия SYSTID-SERN строка отменит такую строку SYSID, если обе присутствуют. Это позволяет Вам устанавливать значения по умолчанию для инструмента или сети в одном разделе.

Если Вы пропускаете спецификацию, Scream заполнится в значении по умолчанию. loc: спецификация является необязательной.

9.2.3 Формат SAC

Scream supports recording in the SAC format, using the same rules for file and directory names as for GCF files (see above), but using the extension .sac instead of .gcf.

Files in SAC format must represent a continuous period of time. If a discontinuity is detected in the incoming data stream, then the file which is currently recording will be closed, and a new file opened with a filename and time stamp matching the start of the new file. This operation will take place whatever options you have specified for Granularity, although the Granularity options will still work.

Before you start recording SAC files, you should ensure you have selected the correct byte order in the Recording tab of the Setup window.

By default, Scream uses the SAC header field KSTNM to store the stream's System ID; the Stream ID is output in the KCMPNM header field.

You can set your own header fields by preparing an [ExportInfo] section in the scream.ini file. See the MiniSEED section, above, for more details. The specifications you can use are:

net: or KNETWK: Sets the KNETWK (network) header field.

sta: or KSTNM: Sets the KSTNM (station name) header field.

chan: or KCMPNM: Sets the KCMPNM (component name) header field.

type: or KINST: Sets the KINST (instrument) header field.

STLA: Sets the STLA (station latitude) header field.

STLO: Sets the STLO (station longitude) header field.

STEL: Sets the STEL (station elevation) header field.

CMPAZ: Sets the CMPAZ (component azimuth) header field.

CMPINC: Sets the CMPINC (component inclination) header field.

KUSER0:, KUSER1:, KUSER2: Sets the appropriate user header field.

If you miss out a specification, Scream will fill in the default value.

Status streams are recorded as plain text, as for GCF files.

Scream поддерживает регистрацию в формате SAC, использование тех же самых правил для имен файла и имен директории что и для файлов GCF (см. выше), но использует расширение .sac вместо .gcf.

Файл SAC формата должен представлять непрерывный промежуток времени. Если во входящем потоке данных будет обнаружено нарушение непрерывности данных (разрыв), то файл, который в настоящее время делает запись, будет закрыт, и открыт новый файл, с тем же именем файла и временной меткой, соответствующей началу нового файла. Эта операция будет иметь место, вне зависимости от того какие опции Вы определили для Granularity, хотя опции Granularity будут продолжать работать.

Прежде, чем Вы запустите запись файлов SAC, Вы должны убедиться, что Вы выбрали правильный порядок следования байтов на вкладке Recording окна Setup.

По умолчанию, Scream использует поле заголовка SAC KSTNM, чтобы хранить System ID; Stream ID выведен в поле заголовка KCMPNM.

Вы можете установить свои собственные поля заголовка, подготовив [ExportInfo] в scream.ini файле. См. раздел MiniSEED, выше, для большего количества подробностей. Спецификации, которые Вы можете использовать:

net: или KNETWK: Устанавливает KNETWK (сеть) поле заголовка.
sta: или KSTNM: Устанавливает KSTNM (имя станции) поле заголовка.
chan: или KCMPNM: Устанавливает KCMPNM (имя компоненты) поле заголовка.
type: или KINST: Устанавливает KINST (инструмент) поле заголовка.
STLA: Устанавливает STLA (широта станции) поле заголовка.
STLO: Устанавливает STLO (долгота станции) поле заголовка.
STEL: Устанавливает STEL (повышение станции) поле заголовка.
CMPAZ: Устанавливает CMPAZ (составляющий азимут) поле заголовка.
CMPINC: Устанавливает CMPINC (составляющая склонность) поле заголовка.
KUSER0: KUSER1:, KUSER2: Устанавливает соответствующее пользовательское поле заголовка.

Если Вы пропустите спецификацию, то Scream заполнится в значении по умолчанию.

Поток состояния зарегистрирован как plain text, также как для файлов GCF.

9.2.4 Формат SUDS

Scream supports recording in the USGS SUDS 1.x format, using the same rules for file and directory names as for GCF files (see above), but using the extension .sud.

Files in SUDS format must represent a continuous period of time. If a discontinuity is detected in the incoming data stream, then the file which is currently recording will be closed, and a new file opened with a filename and time stamp matching the start of the new file. This operation will take place whatever options you have specified for Granularity, although the Granularity options will still work.

The files generated have STATIONCOMP and DESCRIPTRACE header structures, using the following fields:

sc_name.network and dt_name.network: The last 3 digits of the System ID.

sc_name.st_name and dt_name.st_name: The first 4 digits of the Stream ID.

sc_component: v for Zn streams; n for Nn streams; e for En streams; m for the Mux channels Mn.

Scream поддерживает регистрацию в формате USGS SUDS 1.x и использование тех же самых правил для имен файла и имен директории что и для файлов GCF (см. выше), но использует расширение .sud.

Файл SUDS формата должен представлять непрерывный промежуток времени. Если во входящем потоке данных будет обнаружено нарушение непрерывности данных (разрыв), то файл, который в настоящее время делает запись, будет закрыт, и открыт новый файл, с тем же именем файла и временной меткой, соответствующей началу нового файла. Эта операция будет иметь место, вне зависимости от того какие опции Вы определили для Granularity, хотя опции Granularity будут продолжать работать.