Мегаобучалка Главная | О нас | Обратная связь


Запись и воспроизведение данных



2020-02-03 270 Обсуждений (0)
Запись и воспроизведение данных 0.00 из 5.00 0 оценок




Recording and playback

Scream allows you to record all incoming data and store it on the local hard disk. To do this, you should select the streams you want to record from Scream's main window, right-click, and choose Start recording from the pop-up menu. The streams will display Yes in the Rec. column to indicate that they are recording.

When Scream starts recording, it starts at the earliest point in the current stream buffer, and immediately records all it can. For continuous streams, the recorder will soon catch up with the real-time data.

If there is a gap in a stream (e.g. because you are using adaptive mode: see Section 8.5, page 95), Scream will pause recording that stream until the gap is filled. If the gap reaches the end of the stream buffer before data is transmitted to fill it, Scream will give up and begin recording data from after the gap.

By default, recorded data is placed in a data directory within the Scream 4 installation, in GCF format. Scream records files for each stream separately, which it puts in that stream's own directory. This directory may contain one or several GCF files.

Scream has a number of options which allow you to change the way data is recorded and filed. From the main window, select Setup... from the File menu to open the Setup window. Click on the Recording tab.

Scream позволяет Вам делать запись всех поступающих данных и хранить их на локальном жестком диске. Чтобы сделать это, Вы должны из главного окна Scream выбрать поток, щелкнув по нему правой кнопкой мыши, далее из всплывающего меню выбрать Start recording. Поток отобразит Yes в столбце Rec, что показывает, что запись потока включена.

Когда Scream начинает делать запись, она начинается с самых ранних данных текущего потока хранимых в буфере, и немедленно делает запись всего, что он может. Для непрерывного потока регистратор скоро “догонит” данные в реальном времени.

Если есть разрыв данных в потоке (например, потому что Вы используете адаптивный режим: см. Раздел 8.5, страницу 95), Scream сделает паузу до тех пор, пока промежуток не будет заполнен. Если промежуток достигнет конца буфера потока прежде, чем данные будут переданы полностью, то Scream “сдастся” и начнет делать запись данных, которые имеет после разрыва.

По умолчанию, зарегистрированные данные помещены в каталог данных Scream, в формате GCF. Scream делает запись файлов для каждого потока отдельно, который он помещает в собственный каталог потока. Этот каталог может содержать один или несколько файлов GCF.

Scream имеет ряд опций, которые позволяют Вам изменять режим записи и каталог, где они будут храниться. Из главного окна, выберите Setup... из меню File, чтобы открыть окно Setup. Выберите вкладку Recording.

 

Запись

Recording

Рис. 9‑1     Окно Recording

Setup-recording

The upper part of this pane allows you to instruct Scream to record various streams automatically. Scream will start recording all relevant streams immediately, but will also remember the settings for the next time it is started up.

Auto Record—Enable for Data Streams: Check this box to make Scream save all local data streams automatically.

Auto Record—Enable for Status Streams: Check this box to make Scream save all local status streams automatically.

Auto-record uploaded streams: If you have selected Auto-upload on heartbeat, you can check this box to instruct Scream to automatically record to the local hard disk any data that it receives. These are not normally counted with the streams above, since they may come from another Scream which is already recording.

Auto-upload on heartbeat: If a digitizer has been configured to record data into its own Flash memory only (FILING mode), it transmits heartbeat status messages. With this box checked, Scream will listen for heartbeat messages, and ask the digitizer to send filed data whenever it receives one.

Close Files after timeout: Normally, Scream keeps GCF files open whilst it records them. This can be a problem in some situations, because no other program can access the file whilst it is open. To make Scream close files, check this box, and enter a time (in seconds) in the field which appears. Scream will close the file if it has not written anything to it for this number of seconds.

The lower section tells Scream how to use its hard disk space:

-If Stop on Disk Full is selected, then Scream will stop recording data once it runs out of space in its directory. This way, the data recorded will have a known starting point.

-If you select Ring Buffer, then Scream will start deleting the oldest files in the data directory in order to make space for new data, so that you will always have access to the most recent recorded measurements. Scream does not check whether it created the files itself. If you put your own files in Scream's data directory, then they are at risk of being deleted.

-If Stream Buffer Only is selected, Scream will delete any file which no longer appears in the stream buffer. This is useful if you are only recording to preserve data in the stream buffer through restarts of Scream.

If there is very little space on the disk, the PC's operating system can become slow or unstable. By default, Scream will consider the disk “full” when only 50 Mb of space remains on it. You can change this amount by altering the value at bottom right (Leave x Mb free disk space).

Верхняя часть этой области окна позволяет выбрать потоки, запись которых Scream будет делать автоматически. Как только вы выберите потоки и щелкните Apply, Scream немедленно начнет запись всех соответствующих потоков, а также помнить установлены параметры, и использовать их при последующих запусках.

Auto Record—Enable for Data Streams Установите флажок в этом окне, чтобы Scream сохранял все локальные потоки автоматически.
Auto Record—Enable for Status Streams Установите флажок в этом окне, чтобы Scream сохранял все локальные потоки состояния автоматически.
Auto-record uploaded streams Если уже выбрано Auto- upload on heartbeat, Вы можете установить флажок и в этом окне, чтобы Scream автоматически записывал на локальный диск любые получаемые данные. Они обычно не считаются с потоком выше, так как они могут прибыть из другого Scream, который уже записывает данные.
Auto-upload on heartbeat Если цифровой преобразователь был конфигурирован, чтобы делать запись данных только в его собственную флэш - память (режим FILING), он передает “heartbeat” сообщения состояния. Если установлен флажок в этом окне, Scream принимает “heartbeat” сообщения, и просит цифровой преобразователь посылать данные каждый раз, когда он получает сообщение“heartbeat”.
Close Files after timeout Обычно, Scream сохраняет файлы GCF открытыми, пока он делает их запись. Это может быть проблемой в некоторых ситуациях, так как что никакая другая программа не может обратиться к файлу, пока это открыто. Установите флажок в этом окне, чтобы Scream закрывал файлы, и введите время (в секундах) в появившемся окне. Scream закроет файл, через заданное число секунд после того, как запись последних данных завершена.

 

Расположенный ниже раздел, Recording Mode, сообщает Scream как использовать пространство жесткого диска:

- Если установлен флажок в окне Stop on Disk Ful (Остановиться, как только диск будет полон), тогда Scream прекратит делать запись данных, как только это исчерпывает пространство в выделенное для записи. Таким образом, данные записываются с известной точкой начала данных.

- Если установлен флажок в окне Ring Buffer(Кольцевой буфер), как только диск будет полон Scream начнет удалять самые старые данные, освобождая место для новых, таким образом, так, чтобы у Вас всегда был обеспечен доступ к самым новым данным. Scream не проверяет, создает ли он файлы сам. Если Вы помещаете свои собственные файлы в базу данных Scream, есть риск, что они будут удалены.

- Если установлен флажок в окне Buffer Only is selected, Scream удалит любой файл, который больше не появляется в буфере потока. Это полезно, если Вы только делаете запись, чтобы сохранить данные в буфере потока через рестарты Scream.

Если остается мало места на диске, операционная система PC может стать медленной или неустойчивой. По умолчанию, Scream будет считать диск "полным", когда только останется только 50 МБ свободного пространства. Вы можете изменить это значение в правой части этого подокна Leave x Mb free disk space

 

Файлы

Another part of the Setup window allows you to alter the way Scream files the data it receives. Click on the Files tab to open the following pane:

Другая часть окна Setup позволяет Вам изменять способ, которым Scream регистрирует получаемые данные. Выберите Files, чтобы открыть окно:

Рис. 9‑2     Окно Files

The options you can change are:

Base Directory: This specifies the root directory in which data files will be saved. There are useful notes about the choice of directory in Section 2.3, page 11. Files for each stream are stored in sub-directories below this root. The sub-directory structure depends on the filename format.

Filename format: This allows you to describe how you want files to be named by entering a format specifier. The string you enter is used to construct the file names for all files. Among the specifiers you can use are:

-YYYY the year number (e.g. 2003),

-M the month number (1 – 12),

-D the day of the month (1 – 31),

-H the hour (0 – 23),

-N the minute (0 – 59),

-S the second (0 – 59),

-R or J the day number in its year (1 – 366),

-X the date represented as an 8-digit hexadecimal number (this allows a complete date to fit in the DOS 8.3 format, for compatibility),

-I the System ID,

-T the Stream ID (e.g. MYDMZ2),

-E the Serial Number of the digitizer, as given in the first 4 characters of the Stream ID (e.g. MYDM.) You can change this Serial Number when you reconfigure the digitizer, so it does not always correspond with the Güralp Systems assigned serial number.

-C the component identifier (Z,N,E,M, etc.),

-P the sample rate, in samples per second;

-A the name of the stream, if you have set a mapping (see Section 4.4, page 49), otherwise the same as T.

The specifiers MM, DD, HH, NN, SS, RRR, JJJ, IIIIII, TTTTTT and EEEE are the same as their single-letter counterparts, but they are padded with zeros or underscores to a constant length. YY can also be used for a 2-digit abbreviation of the year (e.g. 03 for 2003), and MMM for a 3-letter month name (jan, feb, etc.)

Any other letters (including small letters) in the filename will be left as they are, so you can add constant descriptions or field separators as you wish. Owing to operating system limitations, you cannot use any of the punctuation marks * ? ": < > | in filenames. You can create directory structures by using the \ character.

For example:

T\YYYY_MM_DD;HHhNNmSSs will give filenames like dmz2\1997_10_05;07h35m20s.

You should always ensure that files are given unique names. Scream writes each stream separately. If it finds that it cannot write to a file because it is already open for another stream, the write will fail and data will not be recorded.

Scream can record data in many formats. Some file formats, such as gcf and MiniSEED, divide their internal data into blocks, each of which has a timestamp. Such formats can store streams which includes gaps. Most other formats are not block-structured and only have a single time-stamped header at the start of the file. If Scream is saving data in a non-block-structured format and encounters a gap in the stream, it starts a new file. If the file-name configuration does not permit sufficient granularity, Scream will silently over-write the previous file, resulting in loss of data. You should pay particular attention to the file-name settings when using these formats in order to avoid this scenario.

Data Format: Selects the format of the recorded data files. Options are GCF, SAC, MiniSEED, P-SEGy, PEPP, SUDs, GSE, UFF (ufa and ufb; see below), and CSS. A single Scream can only record in one format at a time; if you need output in multiple formats, you can either

-record in GCF and perform conversions later using freely-available tools, or

-record in one format and set up a Scream server to relay real-time data to another Scream on the same computer (see Chapter 5, page 52.)

Byte Order: For SAC, SEG-y, UFB and CSS files, the byte order of the files can be specified. This can be used to match the byte order with the native order of the platform where you are going to perform analysis. GCF and MiniSEED are defined to be in “Motorola or SPARC” byte order. PEPP and SUDs data is defined to be in “Intel” byte order. Byte order is not applicable to the ASCII-like GSE or UFA formats.

Granularity: Allows you to decide how large files are allowed to become before a new one is started, for three different types of stream (high sample rates, low sample rates and status streams.) The distinction between high and low sample rates is set by the number in the Sample Rates >= box; the remaining boxes give the number of hours of data that Scream should combine into a single file for each type of stream. In the example above, streams with a sample rate of 20 samples/sec or above will be recorded in files with up to 1 hour's data per file; lower-rate streams will be recorded in 4-hour files, whilst a new status file will be started every 12 hours. You will need to choose a Filename format (see above) which gives each file a unique name.

If you prefer to set a limit on a file's size, rather than its duration, choose Kilobytes from the drop-down menu (instead of Hours or Minutes) and set as appropriate.

Post-processor: This option allows you to specify a program which Scream will run every time it closes a file. The name of the file is passed as a parameter. You can use this feature to interface to other analysis or archival systems, for example:

-FTP or emailing files to remote data centres,

-format conversion using a third party utility,

-post-processing of file data headers to add site-specific information.

Опции, которые Вы можете изменить:

Base Directory: Определяет корневой каталог, в котором будут сохранены файлы данных. Полезные замечания о выборе каталога в Разделе 2.3, странице 11. Файлы каждого потока хранятся в отдельных подкаталогах. Структура подкаталога зависит от формата имени файла.

Filename format: Это позволяет Вам описывать, как Вы хотите, чтобы файлы были названы, вводя спецификатор формата. Строка, которую Вы вводите, используется, чтобы создать имена для всех файлов. Среди спецификаторов Вы можете использовать:

· YYYY - номер года (например, 2003),

- M – номер месяца (1 – 12),

- D – день месяца (1 – 31),

- H - часы (0 – 23),

- N - минуты (0 – 59),

- S - секунды (0 – 59),

- R или J - номер дня в этом году (1 – 366),

- X - дата, представленная как шестнадцатеричное число с 8 цифрами (это позволяет ввести дату, в формате совместимом с DOS 8.3),

- I  - System ID -идентификатор системы,

- T  - Stream ID – идентификатор потока (например, MYDMZ2) ,

- E  - серийный номер цифрового преобразователя, как дано в первых 4 символах Stream ID (например, MYDM.) Вы можете изменить этот Serial Number, если Вы измените конфигурацию цифрового преобразователя таким образом, он не всегда соответствует серийному номеру Güralp.

- C -  идентификатор компоненты (Z,N,E,M, и т.д..),

- P - скорость выборки, в отсчетах в секунду;

- A - имя потока, если Вы используете опцию Mapping (см. Раздел 4.4, страницу 49), иначе то же самое как T.

Спецификаторы MM, DD, HH, NN, SS, RRR, JJJ, IIIIII , TTTTTT и EEEE то же самое как их односимвольные аналоги, но для приведения к постоянной длине, они дополнены нулями или символами подчеркиваниями. YY может также использоваться как аббревиатура года с 2 цифрами (например, 03 для 2003), and MMM – как трех-символьное имя месяца (jan, feb, и т.д.)

Любые другие буквы (включая строчные) в имени файла будут оставлены как они есть, таким образом, если необходимо, Вы можете добавить описания констант или разделители полей. Owing to operating system limitations, you cannot use any of the punctuation marks * ? ": < > | in filenames. You can create directory structures by using the \ character.

Пример

T\ YYYY_ MM_ DD; HHhNNmSSs -  даст имена файлов вида:

dmz2\1997_10_05;07h35m20s.

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

Scream может регистрировать данные во многих форматах. Некоторые форматы файла, такие как gcf и MiniSEED, делят их внутренние данные на пакеты, у каждого из которых есть штамп времени. Такие форматы могут сохранить поток, имеющие разрывы данных. Большинство других форматов не является блочным и имеет только один единственный заголовок со штампом времени. Если Scream сохраняет данные в формате, не предусматривающем разделение на пакеты то, при появлении разрыва он завершает запись файла, а при восстановлении потока - начнет запись нового файла. Если формат имени файла, определяющий метод записи, не разрешает такое разбиение, то Scream просто запишет новый файл поверх предыдущего, что приведет к потере данных. Вы должны обратить особое внимание на параметры настройки имени файла, используя эти форматы, чтобы избежать такого сценария.

 

Data Format: Выбор формата записи файлов. Опции GCF, SAC, MiniSEED, P-SEGy, PEPP, SUDs, GSE, UFF (ufa и ufb; смотри ниже), и CSS. Один Scream не может одновременно вести регистрацию в нескольких форматах; если Вы должны вывести в нескольких форматах, Вы можете также

- Писать в GCF формате, а позже конвертировать их, используя свободно распространяемые программные средства, или

- Производить запись в одном формате и конфигурируйте Scream серевр, чтобы передавал данные в режиме реального времени другому Scream, установленному на том же самом компьютере (см. Главу 5, страницу 52).

Byte Order: Для SAC, SEG-y, UFB и CSS файлов, может быть определен порядок следования байт в файле. Это может использоваться, чтобы соответствовать порядку следования байт платформе, на которой Вы собираетесь выполнять анализ. Для GCF и MiniSEED порядок следования байт определен порядком “Motorola или SPARC”. PEPP и SUDs данные определены, чтобы быть в порядке следования “Intel”. Определения порядка следования байт не применимо к файлам к ASCII-подобном GSE и UFA форматов.

Post- processor: Эта опция позволяет Вам определять программу, которой Scream запустит каждый раз, когда закрывает файл. Название файла передают как параметр. Вы можете использовать эту функцию, чтобы обеспечить взаимодействие программой анализа или архивации, например:

- Передать файлы удаленному центру через FTP или по e-mail,

- Конвертировать файлы, используя сторонне программное обеспечение,

- Пост- обработка заголовков файлов, например, с целью добавить определенную для станции информацию.

 

Granularity: Позволяет Вам определить максимально допускаемый размер файла (длительность в часах или минутах, или размер в кбайт), по достижении которого будет начат новый файл, для трех различных типов потока (с высокой скоростью выборки, с низкой скоростью выборки и потоков состояния). Разграничение между высокими и низкими частотами выборки определяется числом в окне Sample Rates >=; остающиеся окна дают число часов данных, которые Scream должен объединить в один файл для каждого типа потока. В примере выше, поток с частотой выборки 20 отсчетов в секунду и выше будет зарегистрирован в файлах с длительностью каждого из файлов до 1 часа; поток более низкой частоты будет зарегистрирован в 4-часовых файлах, в то время как новый файл состояния будет начат каждые 12 часов. Вы должны будете выбрать формат Filename (см. выше), который дает каждому файлу уникальное имя.

Если Вы предпочитаете устанавливать предельный размер файла, а не его продолжительность, необходимо выбирать из ниспадающего меню Kilobytes (вместо Hours или Minutes) и установить соответствующее значение.

Формат UFF

UFF file format

Universal File Format (UFF) is a commonly-used interchange format for seismic data. Two types of UFF format are supported: ASCII and binary, where the extension ".ufa" denotes the ASCII variant, and ".ufb" denotes the binary variant. The byte order used for the binary variant is specified in the Recording pane of the Setup window. ASCII does not have byte-ordering options. Details for the layout of the UFF format can be obtained from the University of Cincinnati at http://www.sdrl.uc.edu/uff2/uff2.html

You can instruct Scream to record incoming data directly in UFF format. To do this, open the Files pane of the Setup window as above and select either UFF ASCII (.ufa) or UFF Binary (.ufb) in the Data format drop-down menu. However, UFF files tend to be large, and the format does not retain the full resolution of the data gathered by the sensor. It is recommended that you keep the initial recording in GCF format, and convert to UFF as required using the tools provided (see below).

Files in UFF 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. For example, if you specify files lasting one hour, a new file will be opened on the hour, every hour, whether or not a discontinuity occurred during the previous hour (which will have caused a new file to be opened at that point).

Converting between UFF and other file formats

On occasion, you may need to convert files between the various data formats supported by Scream. For example, you may want Scream to record data in GCF format and convert it to UFF later, to ensure that you retain all the data received from the sensors. The most convenient way to convert a GCF file into UFF format is using the command-line tool gcf2asc, available from Güralp Systems' website at http://www.guralp.com/. Once the program is installed, you can convert files from a command window (click on Windows Start – Run... and type cmd<enter>). The command to issue is

gcf2asc your-gcf-file.gcf /uff

where your-gcf-file.gcf should be replaced with the correct filename.

To get help on using the gcf2asc command, type gcf2asc /?

By default, gcf2asc will create a file with the same name as the original, but with a .txt extension; you may want to rename the file produced to have a .uff or .ufa extension. Any time periods missing from the GCF file are represented by values of –2147483647 (the lowest possible negative number in the GCF format).

You should ensure that you have enough space to create a UFF file before running gcf2asc. ASCII files are typically around 10 times larger than the equivalent GCF file.

Universal File Format (UFF) обычно используемый формат обмена для сейсмическими данными. Поддерживаются два типа формата UFF: ASCII и бинарный, где расширение ".ufa" обозначает ASCII тип файла, и ".ufb" - бинарный. Порядок следования байт для бинарного типа файлов задается на вкладке Recording окна Setup. ASCII не имеет опции порядок байт. Детальное описание UFF формата можно найти на сайте University of Cincinnati: http:// www. sdrl. uc. edu/ uff2/ uff2. html

Вы можете конфигурировать Scream, чтобы запись входящих данных производилась непосредственно в формате UFF. Чтобы сделать это, откройте вкладку Files окна Setup и выберите или UFF ASCII (.ufa) или UFF Binary (.ufb) в ниспадающем меню Data format. Однако, UFF файлы имеют тенденцию быть большими, и формат не сохраняет полную разрешающую способность данных, собранных датчиком. Рекомендуется хранить исходную запись в GCF формате, и конвертировать в UFF формат рот необходимости (см. ниже).

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

Конвертация UFF в другие форматы

При необходимости Вам будет необходимо конвертировать текущий формат файла в различные форматы данных, поддерживаемых Scream. Например, если Вы хотите, чтобы Scream делал запись данных в формате GCF и конвертировал его в UFF формат позже, необходимо гарантировать, что Вы сохраняете все данные полученные от датчиков. Самый удобный способ преобразовать файл GCF в формат UFF использовать инструмент командной строки gcf2asc, доступный на Веб-сайте Güralp: http://www.guralp.com/. Как только программа установлена, Вы можете преобразовать файлы из окна командной строки (Щелкните на окне Start – Run... и введите cmd<enter>). Команда, чтобы выйти

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.

Формат 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: спецификация является необязательной.

 

Формат 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.

Формат 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 будут продолжать работать.

Сформированные файлы имею заголовки STATIONCOMP и DESCRIPTRACE, используя следующие поля:

sc_name.network и dt_name.network последние 3 цифры System ID.
sc_name.st_name и dt_name.st_name: первые 4 цифры Stream ID.
sc_component: v для потока Zn; n - для потока Nn; e - для потока En; m - для каналов Mux Mn.

Формат GSE

Scream supports recording in the GSE 2.0 format (cm6 subformat) using the same rules for file and directory names as for GCF files (see above), but using the extension .cm6.

Files in GSE 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.

You can set your own header fields by preparing an [ExportInfo] section in the scream.ini file. See the MiniSEED section, page 103, for more details.

The specifications you can use are sta:, chan:, aux:, calib:, calper:, hang:, and vang:

Each specification sets the header field with the same name. If you miss out a specification, Scream will fill in the default value.

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

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

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

Спецификации, которые Вы можете использовать: sta:, chan:, aux:, calib:, calper:, hang: и vang:

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

Формат CSS

Scream supports recording in the CSS 3.0 flat file format, using the same rules for file and directory names as for GCF files (see above), but using the extension .w, together with a wfdisc table stored in the Base directory.

.w files in CSS 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.

Samples are stored in the .w files as signed 32-bit integers (s4 or i4), using the Byte Order you have specified. Scream updates the wfdisc table whenever data is added to a .w file.

You can set your own header fields by preparing an [ExportInfo] section in the scream.ini file. See the MiniSEED section, page 103, for more details.

The specifications you can use are sta:, chan:, wfid:, calib:, calper:, type:, segtype:, and commid:

Each specification sets the header field with the same name. If you miss out a specification, Scream will fill in the default value.

Scream поддерживает регистрацию в неструктурированном формате CSS 3.0 и использование тех же самых правил для имен файла и имен директории что и для файлов GCF (см. выше), но использует расширение .w, вместе с таблицей wfdisc, сохраненной в Base directory.

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

Отсчеты сохраняются в .w файлах как подписанные 32-разрядные целые числа (s4 или i4), используя Byte Order, который Вы определили. Scream обновляет wfdisc таблицу всякий раз, когда данные добавлены к .w файлу.

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

Спецификациями, которые Вы можете использовать: sta:, chan:, wfid:, calib:, calper:, type:, segtype:, и commid:.

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

Формат SEG-y

Scream supports recording in the PASSCAL modified SEG-y format, using the same rules for file and directory names as for GCF files (see above), but using the extension .sgy.

Files in SEG-y 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 SEG-y files, you should ensure you have selected the correct byte order in the Recording tab of the Setup window.

Scream sets header fields in SEG-y files as follows:

CHANNEL_NAME: The last two characters in the Stream ID, e.g. Z2.

STATION_NAME: The first four characters in the Stream ID.

SENSOR_SERIAL: The System ID.

CHANNEL_NUMBER: 1 for Zn streams; 2 for Nn streams; 3 for En streams; 4 – 19 for the 16 Mux channels Mn.

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

Scream поддерживает регистрацию в формате PASSCAL modified SEG-y и использование тех же самых правил для имен файла и имен директории что и для файлов GCF (см. выше), но использует расширение .sgy.

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

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

Scream поля заголовка наборов в файлах SEG-y следующим образом:

CHANNEL_NAME Последние два символа в Stream ID, например. Z2.
STATION_NAME Первые четыре символа в Stream ID.
SENSOR_SERIAL System ID.
CHANNEL_NUMBER 1        для потока Zn; 2        для потока Nn; 3        для потока En; 4 – 19 для 16 каналов Mux Mn.

 

Поток состояния записывает



2020-02-03 270 Обсуждений (0)
Запись и воспроизведение данных 0.00 из 5.00 0 оценок









Обсуждение в статье: Запись и воспроизведение данных

Обсуждений еще не было, будьте первым... ↓↓↓

Отправить сообщение

Популярное:
Генезис конфликтологии как науки в древней Греции: Для уяснения предыстории конфликтологии существенное значение имеет обращение к античной...
Почему люди поддаются рекламе?: Только не надо искать ответы в качестве или количестве рекламы...



©2015-2024 megaobuchalka.ru Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав. (270)

Почему 1285321 студент выбрали МегаОбучалку...

Система поиска информации

Мобильная версия сайта

Удобная навигация

Нет шокирующей рекламы



(0.009 сек.)