Install SeisComP and scanloc ARM64 nightly packages
This commit is contained in:
@ -2724,11 +2724,11 @@
|
||||
<longitude>32.5370865</longitude>
|
||||
<population>488125</population>
|
||||
</City>
|
||||
<City category="C">
|
||||
<City countryID="TN" category="C">
|
||||
<name>Tunis</name>
|
||||
<latitude>36.8001077</latitude>
|
||||
<longitude>10.1847938</longitude>
|
||||
<population>20000</population>
|
||||
<population>1056247</population>
|
||||
</City>
|
||||
<City>
|
||||
<name>Lubumbashi</name>
|
||||
|
||||
205
share/db/migrations/mysql/0_13_2_to_0_14.sql
Normal file
205
share/db/migrations/mysql/0_13_2_to_0_14.sql
Normal file
@ -0,0 +1,205 @@
|
||||
SELECT 'Drop foreign key contraints of all model tables' AS '';
|
||||
ALTER TABLE EventDescription DROP FOREIGN KEY IF EXISTS EventDescription_ibfk_1;
|
||||
ALTER TABLE Comment DROP FOREIGN KEY IF EXISTS Comment_ibfk_1;
|
||||
ALTER TABLE DataUsed DROP FOREIGN KEY IF EXISTS DataUsed_ibfk_1;
|
||||
ALTER TABLE CompositeTime DROP FOREIGN KEY IF EXISTS CompositeTime_ibfk_1;
|
||||
ALTER TABLE PickReference DROP FOREIGN KEY IF EXISTS PickReference_ibfk_1;
|
||||
ALTER TABLE AmplitudeReference DROP FOREIGN KEY IF EXISTS AmplitudeReference_ibfk_1;
|
||||
ALTER TABLE Reading DROP FOREIGN KEY IF EXISTS Reading_ibfk_1;
|
||||
ALTER TABLE MomentTensorComponentContribution DROP FOREIGN KEY IF EXISTS MomentTensorComponentContribution_ibfk_1;
|
||||
ALTER TABLE MomentTensorStationContribution DROP FOREIGN KEY IF EXISTS MomentTensorStationContribution_ibfk_1;
|
||||
ALTER TABLE MomentTensorPhaseSetting DROP FOREIGN KEY IF EXISTS MomentTensorPhaseSetting_ibfk_1;
|
||||
ALTER TABLE MomentTensor DROP FOREIGN KEY IF EXISTS MomentTensor_ibfk_1;
|
||||
ALTER TABLE FocalMechanism DROP FOREIGN KEY IF EXISTS FocalMechanism_ibfk_1;
|
||||
ALTER TABLE Amplitude DROP FOREIGN KEY IF EXISTS Amplitude_ibfk_1;
|
||||
ALTER TABLE StationMagnitudeContribution DROP FOREIGN KEY IF EXISTS StationMagnitudeContribution_ibfk_1;
|
||||
ALTER TABLE Magnitude DROP FOREIGN KEY IF EXISTS Magnitude_ibfk_1;
|
||||
ALTER TABLE StationMagnitude DROP FOREIGN KEY IF EXISTS StationMagnitude_ibfk_1;
|
||||
ALTER TABLE Pick DROP FOREIGN KEY IF EXISTS Pick_ibfk_1;
|
||||
ALTER TABLE OriginReference DROP FOREIGN KEY IF EXISTS OriginReference_ibfk_1;
|
||||
ALTER TABLE FocalMechanismReference DROP FOREIGN KEY IF EXISTS FocalMechanismReference_ibfk_1;
|
||||
ALTER TABLE Event DROP FOREIGN KEY IF EXISTS Event_ibfk_1;
|
||||
ALTER TABLE Arrival DROP FOREIGN KEY IF EXISTS Arrival_ibfk_1;
|
||||
ALTER TABLE Origin DROP FOREIGN KEY IF EXISTS Origin_ibfk_1;
|
||||
ALTER TABLE Parameter DROP FOREIGN KEY IF EXISTS Parameter_ibfk_1;
|
||||
ALTER TABLE ParameterSet DROP FOREIGN KEY IF EXISTS ParameterSet_ibfk_1;
|
||||
ALTER TABLE Setup DROP FOREIGN KEY IF EXISTS Setup_ibfk_1;
|
||||
ALTER TABLE ConfigStation DROP FOREIGN KEY IF EXISTS ConfigStation_ibfk_1;
|
||||
ALTER TABLE ConfigModule DROP FOREIGN KEY IF EXISTS ConfigModule_ibfk_1;
|
||||
ALTER TABLE QCLog DROP FOREIGN KEY IF EXISTS QCLog_ibfk_1;
|
||||
ALTER TABLE WaveformQuality DROP FOREIGN KEY IF EXISTS WaveformQuality_ibfk_1;
|
||||
ALTER TABLE Outage DROP FOREIGN KEY IF EXISTS Outage_ibfk_1;
|
||||
ALTER TABLE StationReference DROP FOREIGN KEY IF EXISTS StationReference_ibfk_1;
|
||||
ALTER TABLE StationGroup DROP FOREIGN KEY IF EXISTS StationGroup_ibfk_1;
|
||||
ALTER TABLE AuxSource DROP FOREIGN KEY IF EXISTS AuxSource_ibfk_1;
|
||||
ALTER TABLE AuxDevice DROP FOREIGN KEY IF EXISTS AuxDevice_ibfk_1;
|
||||
ALTER TABLE SensorCalibration DROP FOREIGN KEY IF EXISTS SensorCalibration_ibfk_1;
|
||||
ALTER TABLE Sensor DROP FOREIGN KEY IF EXISTS Sensor_ibfk_1;
|
||||
ALTER TABLE ResponsePAZ DROP FOREIGN KEY IF EXISTS ResponsePAZ_ibfk_1;
|
||||
ALTER TABLE ResponsePolynomial DROP FOREIGN KEY IF EXISTS ResponsePolynomial_ibfk_1;
|
||||
ALTER TABLE ResponseFAP DROP FOREIGN KEY IF EXISTS ResponseFAP_ibfk_1;
|
||||
ALTER TABLE ResponseFIR DROP FOREIGN KEY IF EXISTS ResponseFIR_ibfk_1;
|
||||
ALTER TABLE ResponseIIR DROP FOREIGN KEY IF EXISTS ResponseIIR_ibfk_1;
|
||||
ALTER TABLE DataloggerCalibration DROP FOREIGN KEY IF EXISTS DataloggerCalibration_ibfk_1;
|
||||
ALTER TABLE Decimation DROP FOREIGN KEY IF EXISTS Decimation_ibfk_1;
|
||||
ALTER TABLE Datalogger DROP FOREIGN KEY IF EXISTS Datalogger_ibfk_1;
|
||||
ALTER TABLE AuxStream DROP FOREIGN KEY IF EXISTS AuxStream_ibfk_1;
|
||||
ALTER TABLE Stream DROP FOREIGN KEY IF EXISTS Stream_ibfk_1;
|
||||
ALTER TABLE SensorLocation DROP FOREIGN KEY IF EXISTS SensorLocation_ibfk_1;
|
||||
ALTER TABLE Station DROP FOREIGN KEY IF EXISTS Station_ibfk_1;
|
||||
ALTER TABLE Network DROP FOREIGN KEY IF EXISTS Network_ibfk_1;
|
||||
ALTER TABLE RouteArclink DROP FOREIGN KEY IF EXISTS RouteArclink_ibfk_1;
|
||||
ALTER TABLE RouteSeedlink DROP FOREIGN KEY IF EXISTS RouteSeedlink_ibfk_1;
|
||||
ALTER TABLE Route DROP FOREIGN KEY IF EXISTS Route_ibfk_1;
|
||||
ALTER TABLE Access DROP FOREIGN KEY IF EXISTS Access_ibfk_1;
|
||||
ALTER TABLE JournalEntry DROP FOREIGN KEY IF EXISTS JournalEntry_ibfk_1;
|
||||
ALTER TABLE ArclinkUser DROP FOREIGN KEY IF EXISTS ArclinkUser_ibfk_1;
|
||||
ALTER TABLE ArclinkStatusLine DROP FOREIGN KEY IF EXISTS ArclinkStatusLine_ibfk_1;
|
||||
ALTER TABLE ArclinkRequestLine DROP FOREIGN KEY IF EXISTS ArclinkRequestLine_ibfk_1;
|
||||
ALTER TABLE ArclinkRequest DROP FOREIGN KEY IF EXISTS ArclinkRequest_ibfk_1;
|
||||
ALTER TABLE DataSegment DROP FOREIGN KEY IF EXISTS DataSegment_ibfk_1;
|
||||
ALTER TABLE DataAttributeExtent DROP FOREIGN KEY IF EXISTS DataAttributeExtent_ibfk_1;
|
||||
ALTER TABLE DataExtent DROP FOREIGN KEY IF EXISTS DataExtent_ibfk_1;
|
||||
ALTER TABLE PublicObject DROP FOREIGN KEY IF EXISTS PublicObject_ibfk_1;
|
||||
|
||||
SELECT 'Create Catalog table' AS '';
|
||||
CREATE TABLE Catalog (
|
||||
_oid BIGINT(20) NOT NULL,
|
||||
_parent_oid BIGINT(20) NOT NULL,
|
||||
_last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
description LONGTEXT,
|
||||
creationInfo_agencyID VARCHAR(64),
|
||||
creationInfo_agencyURI VARCHAR(255),
|
||||
creationInfo_author VARCHAR(128),
|
||||
creationInfo_authorURI VARCHAR(255),
|
||||
creationInfo_creationTime DATETIME,
|
||||
creationInfo_creationTime_ms INTEGER,
|
||||
creationInfo_modificationTime DATETIME,
|
||||
creationInfo_modificationTime_ms INTEGER,
|
||||
creationInfo_version VARCHAR(64),
|
||||
creationInfo_used TINYINT(1) NOT NULL DEFAULT '0',
|
||||
start DATETIME NOT NULL,
|
||||
start_ms INTEGER NOT NULL,
|
||||
end DATETIME,
|
||||
end_ms INTEGER,
|
||||
dynamic TINYINT(1) NOT NULL,
|
||||
PRIMARY KEY(_oid),
|
||||
INDEX(_parent_oid)
|
||||
) ENGINE=INNODB;
|
||||
|
||||
SELECT 'Converting QCLog.message to LONGTEXT' AS '';
|
||||
ALTER TABLE QCLog MODIFY message LONGTEXT NOT NULL;
|
||||
|
||||
SELECT 'Drop composite_index from QCLog' AS '';
|
||||
ALTER TABLE QCLog DROP CONSTRAINT composite_index;
|
||||
|
||||
SELECT 'Create index on QCLog.start' AS '';
|
||||
CREATE INDEX QCLog_start ON QCLog(start,start_ms);
|
||||
|
||||
SELECT 'Create index on QCLog.end' AS '';
|
||||
CREATE INDEX QCLog_end ON QCLog(end,end_ms);
|
||||
|
||||
SELECT 'Adding index to QCLog' AS '';
|
||||
CREATE INDEX QCLog_id ON QCLog(waveformID_networkCode,waveformID_stationCode,waveformID_locationCode,waveformID_channelCode,waveformID_resourceURI);
|
||||
|
||||
SELECT 'Convert BLOBS to LONGTEXT' AS '';
|
||||
ALTER TABLE CompositeTime MODIFY second_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE CompositeTime MODIFY second_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensorComponentContribution MODIFY dataTimeWindow LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY scalarMoment_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY scalarMoment_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrr_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrr_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mtt_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mtt_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mpp_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mpp_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrt_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrt_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrp_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mrp_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mtp_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE MomentTensor MODIFY tensor_Mtp_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_strike_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_strike_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_dip_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_dip_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_rake_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane1_rake_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_strike_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_strike_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_dip_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_dip_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_rake_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY nodalPlanes_nodalPlane2_rake_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_azimuth_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_azimuth_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_plunge_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_plunge_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_length_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_tAxis_length_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_azimuth_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_azimuth_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_plunge_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_plunge_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_length_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_pAxis_length_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_azimuth_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_azimuth_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_plunge_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_plunge_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_length_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE FocalMechanism MODIFY principalAxes_nAxis_length_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY amplitude_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY amplitude_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY period_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY period_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY scalingTime_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Amplitude MODIFY scalingTime_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Magnitude MODIFY magnitude_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Magnitude MODIFY magnitude_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE StationMagnitude MODIFY magnitude_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE StationMagnitude MODIFY magnitude_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY time_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY time_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY horizontalSlowness_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY horizontalSlowness_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY backazimuth_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Pick MODIFY backazimuth_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY time_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY time_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY latitude_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY latitude_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY longitude_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY longitude_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY depth_pdf_variable_content LONGTEXT;
|
||||
ALTER TABLE Origin MODIFY depth_pdf_probability_content LONGTEXT;
|
||||
ALTER TABLE Parameter MODIFY value LONGTEXT;
|
||||
ALTER TABLE AuxSource MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE AuxDevice MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE SensorCalibration MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE Sensor MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE ResponsePAZ MODIFY zeros_content LONGTEXT;
|
||||
ALTER TABLE ResponsePAZ MODIFY poles_content LONGTEXT;
|
||||
ALTER TABLE ResponsePAZ MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE ResponsePolynomial MODIFY coefficients_content LONGTEXT;
|
||||
ALTER TABLE ResponsePolynomial MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE ResponseFAP MODIFY tuples_content LONGTEXT;
|
||||
ALTER TABLE ResponseFAP MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE ResponseFIR MODIFY coefficients_content LONGTEXT;
|
||||
ALTER TABLE ResponseFIR MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE ResponseIIR MODIFY numerators_content LONGTEXT;
|
||||
ALTER TABLE ResponseIIR MODIFY denominators_content LONGTEXT;
|
||||
ALTER TABLE ResponseIIR MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE DataloggerCalibration MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE Decimation MODIFY analogueFilterChain_content LONGTEXT;
|
||||
ALTER TABLE Decimation MODIFY digitalFilterChain_content LONGTEXT;
|
||||
ALTER TABLE Datalogger MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE AuxStream MODIFY code CHAR(8) NOT NULL;
|
||||
ALTER TABLE Stream MODIFY code CHAR(8) NOT NULL;
|
||||
ALTER TABLE Station MODIFY remark_content LONGTEXT;
|
||||
ALTER TABLE Network MODIFY remark_content LONGTEXT;
|
||||
|
||||
SELECT 'Updating Meta' AS '';
|
||||
UPDATE Meta SET value='0.14.0' WHERE name='Schema-Version';
|
||||
209
share/db/migrations/postgresql/0_13_2_to_0_14.sql
Normal file
209
share/db/migrations/postgresql/0_13_2_to_0_14.sql
Normal file
@ -0,0 +1,209 @@
|
||||
\echo Drop foreign key contraints of all model tables
|
||||
ALTER TABLE EventDescription DROP CONSTRAINT IF EXISTS IF EXISTS EventDescription__oid_fkey;
|
||||
ALTER TABLE Comment DROP CONSTRAINT IF EXISTS Comment__oid_fkey;
|
||||
ALTER TABLE DataUsed DROP CONSTRAINT IF EXISTS DataUsed__oid_fkey;
|
||||
ALTER TABLE CompositeTime DROP CONSTRAINT IF EXISTS CompositeTime__oid_fkey;
|
||||
ALTER TABLE PickReference DROP CONSTRAINT IF EXISTS PickReference__oid_fkey;
|
||||
ALTER TABLE AmplitudeReference DROP CONSTRAINT IF EXISTS AmplitudeReference__oid_fkey;
|
||||
ALTER TABLE Reading DROP CONSTRAINT IF EXISTS Reading__oid_fkey;
|
||||
ALTER TABLE MomentTensorComponentContribution DROP CONSTRAINT IF EXISTS MomentTensorComponentContribution__oid_fkey;
|
||||
ALTER TABLE MomentTensorStationContribution DROP CONSTRAINT IF EXISTS MomentTensorStationContribution__oid_fkey;
|
||||
ALTER TABLE MomentTensorPhaseSetting DROP CONSTRAINT IF EXISTS MomentTensorPhaseSetting__oid_fkey;
|
||||
ALTER TABLE MomentTensor DROP CONSTRAINT IF EXISTS MomentTensor__oid_fkey;
|
||||
ALTER TABLE FocalMechanism DROP CONSTRAINT IF EXISTS FocalMechanism__oid_fkey;
|
||||
ALTER TABLE Amplitude DROP CONSTRAINT IF EXISTS Amplitude__oid_fkey;
|
||||
ALTER TABLE StationMagnitudeContribution DROP CONSTRAINT IF EXISTS StationMagnitudeContribution__oid_fkey;
|
||||
ALTER TABLE Magnitude DROP CONSTRAINT IF EXISTS Magnitude__oid_fkey;
|
||||
ALTER TABLE StationMagnitude DROP CONSTRAINT IF EXISTS StationMagnitude__oid_fkey;
|
||||
ALTER TABLE Pick DROP CONSTRAINT IF EXISTS Pick__oid_fkey;
|
||||
ALTER TABLE OriginReference DROP CONSTRAINT IF EXISTS OriginReference__oid_fkey;
|
||||
ALTER TABLE FocalMechanismReference DROP CONSTRAINT IF EXISTS FocalMechanismReference__oid_fkey;
|
||||
ALTER TABLE Event DROP CONSTRAINT IF EXISTS Event__oid_fkey;
|
||||
ALTER TABLE Arrival DROP CONSTRAINT IF EXISTS Arrival__oid_fkey;
|
||||
ALTER TABLE Origin DROP CONSTRAINT IF EXISTS Origin__oid_fkey;
|
||||
ALTER TABLE Parameter DROP CONSTRAINT IF EXISTS Parameter__oid_fkey;
|
||||
ALTER TABLE ParameterSet DROP CONSTRAINT IF EXISTS ParameterSet__oid_fkey;
|
||||
ALTER TABLE Setup DROP CONSTRAINT IF EXISTS Setup__oid_fkey;
|
||||
ALTER TABLE ConfigStation DROP CONSTRAINT IF EXISTS ConfigStation__oid_fkey;
|
||||
ALTER TABLE ConfigModule DROP CONSTRAINT IF EXISTS ConfigModule__oid_fkey;
|
||||
ALTER TABLE QCLog DROP CONSTRAINT IF EXISTS QCLog__oid_fkey;
|
||||
ALTER TABLE WaveformQuality DROP CONSTRAINT IF EXISTS WaveformQuality__oid_fkey;
|
||||
ALTER TABLE Outage DROP CONSTRAINT IF EXISTS Outage__oid_fkey;
|
||||
ALTER TABLE StationReference DROP CONSTRAINT IF EXISTS StationReference__oid_fkey;
|
||||
ALTER TABLE StationGroup DROP CONSTRAINT IF EXISTS StationGroup__oid_fkey;
|
||||
ALTER TABLE AuxSource DROP CONSTRAINT IF EXISTS AuxSource__oid_fkey;
|
||||
ALTER TABLE AuxDevice DROP CONSTRAINT IF EXISTS AuxDevice__oid_fkey;
|
||||
ALTER TABLE SensorCalibration DROP CONSTRAINT IF EXISTS SensorCalibration__oid_fkey;
|
||||
ALTER TABLE Sensor DROP CONSTRAINT IF EXISTS Sensor__oid_fkey;
|
||||
ALTER TABLE ResponsePAZ DROP CONSTRAINT IF EXISTS ResponsePAZ__oid_fkey;
|
||||
ALTER TABLE ResponsePolynomial DROP CONSTRAINT IF EXISTS ResponsePolynomial__oid_fkey;
|
||||
ALTER TABLE ResponseFAP DROP CONSTRAINT IF EXISTS ResponseFAP__oid_fkey;
|
||||
ALTER TABLE ResponseFIR DROP CONSTRAINT IF EXISTS ResponseFIR__oid_fkey;
|
||||
ALTER TABLE ResponseIIR DROP CONSTRAINT IF EXISTS ResponseIIR__oid_fkey;
|
||||
ALTER TABLE DataloggerCalibration DROP CONSTRAINT IF EXISTS DataloggerCalibration__oid_fkey;
|
||||
ALTER TABLE Decimation DROP CONSTRAINT IF EXISTS Decimation__oid_fkey;
|
||||
ALTER TABLE Datalogger DROP CONSTRAINT IF EXISTS Datalogger__oid_fkey;
|
||||
ALTER TABLE AuxStream DROP CONSTRAINT IF EXISTS AuxStream__oid_fkey;
|
||||
ALTER TABLE Stream DROP CONSTRAINT IF EXISTS Stream__oid_fkey;
|
||||
ALTER TABLE SensorLocation DROP CONSTRAINT IF EXISTS SensorLocation__oid_fkey;
|
||||
ALTER TABLE Station DROP CONSTRAINT IF EXISTS Station__oid_fkey;
|
||||
ALTER TABLE Network DROP CONSTRAINT IF EXISTS Network__oid_fkey;
|
||||
ALTER TABLE RouteArclink DROP CONSTRAINT IF EXISTS RouteArclink__oid_fkey;
|
||||
ALTER TABLE RouteSeedlink DROP CONSTRAINT IF EXISTS RouteSeedlink__oid_fkey;
|
||||
ALTER TABLE Route DROP CONSTRAINT IF EXISTS Route__oid_fkey;
|
||||
ALTER TABLE Access DROP CONSTRAINT IF EXISTS Access__oid_fkey;
|
||||
ALTER TABLE JournalEntry DROP CONSTRAINT IF EXISTS JournalEntry__oid_fkey;
|
||||
ALTER TABLE ArclinkUser DROP CONSTRAINT IF EXISTS ArclinkUser__oid_fkey;
|
||||
ALTER TABLE ArclinkStatusLine DROP CONSTRAINT IF EXISTS ArclinkStatusLine__oid_fkey;
|
||||
ALTER TABLE ArclinkRequestLine DROP CONSTRAINT IF EXISTS ArclinkRequestLine__oid_fkey;
|
||||
ALTER TABLE ArclinkRequest DROP CONSTRAINT IF EXISTS ArclinkRequest__oid_fkey;
|
||||
ALTER TABLE DataSegment DROP CONSTRAINT IF EXISTS DataSegment__oid_fkey;
|
||||
ALTER TABLE DataAttributeExtent DROP CONSTRAINT IF EXISTS DataAttributeExtent__oid_fkey;
|
||||
ALTER TABLE DataExtent DROP CONSTRAINT IF EXISTS DataExtent__oid_fkey;
|
||||
ALTER TABLE PublicObject DROP CONSTRAINT IF EXISTS PublicObject__oid_fkey;
|
||||
|
||||
\echo Create catalog table
|
||||
CREATE TABLE Catalog (
|
||||
_oid BIGINT NOT NULL,
|
||||
_parent_oid BIGINT NOT NULL,
|
||||
_last_modified TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
m_name VARCHAR(255) NOT NULL,
|
||||
m_description TEXT,
|
||||
m_creationInfo_agencyID VARCHAR(64),
|
||||
m_creationInfo_agencyURI VARCHAR(255),
|
||||
m_creationInfo_author VARCHAR(128),
|
||||
m_creationInfo_authorURI VARCHAR(255),
|
||||
m_creationInfo_creationTime TIMESTAMP,
|
||||
m_creationInfo_creationTime_ms INTEGER,
|
||||
m_creationInfo_modificationTime TIMESTAMP,
|
||||
m_creationInfo_modificationTime_ms INTEGER,
|
||||
m_creationInfo_version VARCHAR(64),
|
||||
m_creationInfo_used BOOLEAN NOT NULL DEFAULT '0',
|
||||
m_start TIMESTAMP NOT NULL,
|
||||
m_start_ms INTEGER NOT NULL,
|
||||
m_end TIMESTAMP,
|
||||
m_end_ms INTEGER,
|
||||
m_dynamic BOOLEAN NOT NULL,
|
||||
PRIMARY KEY(_oid)
|
||||
);
|
||||
|
||||
CREATE INDEX Catalog__parent_oid ON Catalog(_parent_oid);
|
||||
CREATE TRIGGER Catalog_update BEFORE UPDATE ON Catalog FOR EACH ROW EXECUTE PROCEDURE update_modified();
|
||||
|
||||
\echo Drop QCLog composite index
|
||||
ALTER TABLE QCLog DROP CONSTRAINT qclog_composite_index;
|
||||
|
||||
\echo Convert QCLog.message to TEXT
|
||||
ALTER TABLE QCLog ALTER COLUMN m_message TYPE TEXT;
|
||||
|
||||
\echo Create index on QCLog.start
|
||||
CREATE INDEX qclog_id ON QCLog(m_waveformID_networkCode,m_waveformID_stationCode,m_waveformID_locationCode,m_waveformID_channelCode,m_waveformID_resourceURI);
|
||||
|
||||
\echo Create index on QCLog.end
|
||||
CREATE INDEX qclog_m_start_m_start_ms ON QCLog(m_start,m_start_ms);
|
||||
|
||||
\echo Adding index to QCLog
|
||||
CREATE INDEX qclog_m_end_m_end_ms ON QCLog(m_end,m_end_ms);
|
||||
|
||||
\echo Change AuxStream and Stream code length to 8
|
||||
ALTER TABLE AuxStream ALTER COLUMN m_code TYPE VARCHAR(8);
|
||||
ALTER TABLE Stream ALTER COLUMN m_code TYPE VARCHAR(8);
|
||||
|
||||
\echo Convert BYTEA to TEXT
|
||||
ALTER TABLE CompositeTime ALTER COLUMN m_second_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE CompositeTime ALTER COLUMN m_second_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensorComponentContribution ALTER COLUMN m_dataTimeWindow TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_scalarMoment_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_scalarMoment_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrr_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrr_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mtt_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mtt_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mpp_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mpp_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrt_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrt_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrp_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mrp_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mtp_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE MomentTensor ALTER COLUMN m_tensor_Mtp_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_strike_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_strike_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_dip_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_dip_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_rake_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane1_rake_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_strike_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_strike_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_dip_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_dip_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_rake_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_nodalPlanes_nodalPlane2_rake_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_azimuth_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_azimuth_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_plunge_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_plunge_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_length_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_tAxis_length_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_azimuth_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_azimuth_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_plunge_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_plunge_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_length_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_pAxis_length_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_azimuth_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_azimuth_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_plunge_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_plunge_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_length_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE FocalMechanism ALTER COLUMN m_principalAxes_nAxis_length_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_amplitude_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_amplitude_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_period_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_period_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_scalingTime_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Amplitude ALTER COLUMN m_scalingTime_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Magnitude ALTER COLUMN m_magnitude_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Magnitude ALTER COLUMN m_magnitude_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE StationMagnitude ALTER COLUMN m_magnitude_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE StationMagnitude ALTER COLUMN m_magnitude_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_time_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_time_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_horizontalSlowness_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_horizontalSlowness_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_backazimuth_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Pick ALTER COLUMN m_backazimuth_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_time_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_time_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_latitude_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_latitude_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_longitude_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_longitude_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_depth_pdf_variable_content TYPE TEXT;
|
||||
ALTER TABLE Origin ALTER COLUMN m_depth_pdf_probability_content TYPE TEXT;
|
||||
ALTER TABLE Parameter ALTER COLUMN m_value TYPE TEXT;
|
||||
ALTER TABLE AuxSource ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE AuxDevice ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE SensorCalibration ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE Sensor ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE ResponsePAZ ALTER COLUMN m_zeros_content TYPE TEXT;
|
||||
ALTER TABLE ResponsePAZ ALTER COLUMN m_poles_content TYPE TEXT;
|
||||
ALTER TABLE ResponsePAZ ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE ResponsePolynomial ALTER COLUMN m_coefficients_content TYPE TEXT;
|
||||
ALTER TABLE ResponsePolynomial ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE ResponseFAP ALTER COLUMN m_tuples_content TYPE TEXT;
|
||||
ALTER TABLE ResponseFAP ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE ResponseFIR ALTER COLUMN m_coefficients_content TYPE TEXT;
|
||||
ALTER TABLE ResponseFIR ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE ResponseIIR ALTER COLUMN m_numerators_content TYPE TEXT;
|
||||
ALTER TABLE ResponseIIR ALTER COLUMN m_denominators_content TYPE TEXT;
|
||||
ALTER TABLE ResponseIIR ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE DataloggerCalibration ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE Decimation ALTER COLUMN m_analogueFilterChain_content TYPE TEXT;
|
||||
ALTER TABLE Decimation ALTER COLUMN m_digitalFilterChain_content TYPE TEXT;
|
||||
ALTER TABLE Datalogger ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE Station ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
ALTER TABLE Network ALTER COLUMN m_remark_content TYPE TEXT;
|
||||
|
||||
\echo Updating Meta
|
||||
UPDATE Meta SET value='0.14.0' WHERE name='Schema-Version';
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
apt install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl1.1 libncurses5 libmariadb3 libpq5 libpython3.9 python3-numpy
|
||||
apt install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl1.1 libncurses5 libmariadb3 libpq5 libpython3.9 python3-numpy libboost-container1.74.0 libbson-1.0-0
|
||||
|
||||
@ -1 +1 @@
|
||||
apt install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl3 libncurses5 libmariadb3 libpq5 libpython3.11 python3-numpy
|
||||
apt install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl3 libncurses5 libmariadb3 libpq5 libpython3.11 python3-numpy libboost-container1.74.0 libbson-1.0-0
|
||||
|
||||
1
share/deps/rhel/10/install-base.sh
Normal file
1
share/deps/rhel/10/install-base.sh
Normal file
@ -0,0 +1 @@
|
||||
dnf install libxml2 boost-filesystem boost-iostreams boost-thread boost-program-options boost-regex boost-system openssl ncurses mariadb postgresql python3-numpy epel-release boost-container libbson
|
||||
10
share/deps/rhel/10/install-fdsnws.sh
Normal file
10
share/deps/rhel/10/install-fdsnws.sh
Normal file
@ -0,0 +1,10 @@
|
||||
dnf install python3-dateutil python3-pip
|
||||
|
||||
echo "user name for pip install (sysop):"
|
||||
read user
|
||||
|
||||
if [ -z "$user" ]; then user=sysop; fi
|
||||
|
||||
# install Python packages using pip
|
||||
echo "installing packages for user " $user
|
||||
su - $user -c 'python3 -m pip install --user twisted'
|
||||
1
share/deps/rhel/10/install-gui.sh
Normal file
1
share/deps/rhel/10/install-gui.sh
Normal file
@ -0,0 +1 @@
|
||||
dnf install qt6-qtbase qt6-qtbase-gui qt6-qtsvg
|
||||
50
share/deps/rhel/10/install-iloc.sh
Normal file
50
share/deps/rhel/10/install-iloc.sh
Normal file
@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
|
||||
# The name of the following file may change. Find the correct one in source:
|
||||
# https://github.com/IstvanBondar/iLoc
|
||||
# The download source corresponds to the iloc documentation
|
||||
URL="https://github.com/IstvanBondar/iLoc/raw/main/iLocAuxDir4.2.tgz"
|
||||
|
||||
error() {
|
||||
echo $1
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Installing iLoc dependencies"
|
||||
|
||||
echo -n "User name for owning the SeisComP installation (sysop): "
|
||||
read user
|
||||
|
||||
if [ -z "$user" ]; then
|
||||
user=sysop
|
||||
fi
|
||||
|
||||
seiscompTemp=/home/${user}/seiscomp
|
||||
|
||||
echo -n "SeisComP installation directory (${seiscompTemp}): "
|
||||
read seiscomp
|
||||
|
||||
if [ -z "$seiscomp" ]; then
|
||||
seiscomp=${seiscompTemp}
|
||||
fi
|
||||
|
||||
if [ ! -d "${seiscomp}" ]; then
|
||||
error "Directory "${seiscomp}" does not exists"
|
||||
fi
|
||||
|
||||
iloc="$seiscomp/share/iloc"
|
||||
|
||||
mkdir -p "${iloc}" || error "Could not create target path ${iloc}"
|
||||
|
||||
tarFile="$(mktemp)"
|
||||
|
||||
echo "Downloading ${URL} to ${tarFile}"
|
||||
wget -O "${tarFile}" "${URL}" || error "Failed to download ${URL} to ${tarFile}"
|
||||
|
||||
echo "Extracting tarball to '${iloc}'"
|
||||
tar xzf "${tarFile}" -C "${iloc}" || error "Failed to extract ${tarFile}"
|
||||
|
||||
echo "Changing ownership of ${iloc} to $user - you may wish to set group ownership"
|
||||
chown -R $user "${iloc}"
|
||||
|
||||
exit 0
|
||||
1
share/deps/rhel/10/install-mariadb-server.sh
Normal file
1
share/deps/rhel/10/install-mariadb-server.sh
Normal file
@ -0,0 +1 @@
|
||||
dnf install mariadb mariadb-server
|
||||
1
share/deps/rhel/10/install-postgresql-server.sh
Normal file
1
share/deps/rhel/10/install-postgresql-server.sh
Normal file
@ -0,0 +1 @@
|
||||
dnf install postgresql postgresql-server
|
||||
@ -1 +1 @@
|
||||
yum install libxml2 boost-filesystem boost-iostreams boost-thread boost-program-options boost-regex boost-signals boost-system openssl ncurses mariadb postgresql python3-numpy mysql-libs
|
||||
yum install libxml2 boost-filesystem boost-iostreams boost-thread boost-program-options boost-regex boost-signals boost-system openssl ncurses mariadb postgresql python3-numpy mysql-libs epel-release boost-container libbson
|
||||
|
||||
@ -1 +1 @@
|
||||
dnf install libxml2 boost-filesystem boost-iostreams boost-thread boost-program-options boost-regex boost-system openssl ncurses mariadb postgresql python3-numpy
|
||||
dnf install libxml2 boost-filesystem boost-iostreams boost-thread boost-program-options boost-regex boost-system openssl ncurses mariadb postgresql python3-numpy epel-release boost-container libbson
|
||||
|
||||
@ -1 +1 @@
|
||||
apt-get install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl3 libncurses6 libmysqlclient21 libmariadb3 libpq5 libpython3.10 python3-numpy
|
||||
apt-get install libxml2 libboost-filesystem1.74.0 libboost-iostreams1.74.0 libboost-thread1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-system1.74.0 libssl3 libncurses6 libmysqlclient21 libmariadb3 libpq5 libpython3.10 python3-numpy libboost-container1.74.0 libbson-1.0-0
|
||||
|
||||
@ -1 +1 @@
|
||||
apt-get install libxml2 libboost-filesystem1.83.0 libboost-iostreams1.83.0 libboost-thread1.83.0 libboost-program-options1.83.0 libboost-regex1.83.0 libboost-system1.83.0 libssl3 libncurses6 libmysqlclient21 libmariadb3 libpq5 libpython3.12 python3-numpy
|
||||
apt-get install libxml2 libbson-1.0-0t64 libboost-filesystem1.83.0 libboost-iostreams1.83.0 libboost-thread1.83.0 libboost-program-options1.83.0 libboost-regex1.83.0 libboost-system1.83.0 libssl3 libncurses6 libmysqlclient21 libmariadb3 libpq5 libpython3.12 python3-numpy libboost-container1.83.0
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
All notable changes to scanloc and add-ons will be documented in this file.
|
||||
|
||||
## 2025.295
|
||||
|
||||
## Fixed
|
||||
|
||||
- Bug in S pick association introduced with release 2025.280
|
||||
|
||||
## 2025.280
|
||||
|
||||
## Added
|
||||
|
||||
@ -2,68 +2,187 @@
|
||||
|
||||
All notable changes to SeisComP are documented here.
|
||||
|
||||
## 6.9.0
|
||||
## x.y.z
|
||||
|
||||
```SC_API_VERSION 16.4.0```
|
||||
```SC_API_VERSION 17.0.0```
|
||||
|
||||
- fdsnxml2inv
|
||||
- Fix samplerate conversion from double to fraction.
|
||||
- scmv
|
||||
- Fix crash if origin depth is not set.
|
||||
- fdsnws
|
||||
- Fix data availability sort for Python >= 3.13.
|
||||
- Fix conditional station requests. Requests involving the
|
||||
If-Modified-Since header failed since Twisted
|
||||
version 24.7. The http.stringToDatetime() now requires a
|
||||
byte string.
|
||||
With this version we add support for Qt 6 of all GUI applications. Binary distributions
|
||||
will build against the Qt version which is available by default in the respective
|
||||
Linux distribution, either Qt 5 or Qt 6.
|
||||
|
||||
The database schema changes from version 0.13.2 to 0.14. This basically incorporates
|
||||
the addition of a new object `Catalog` as part of the EventParameters datamodel and
|
||||
changes indexes from object `QCLog`. Both objects are not yet used in SeisComP and
|
||||
they are added as basis for new features. The database schema applies changes in its
|
||||
datatypes: BLOBS will be converted to LONGTEXT (MySQL) or TEXT (PostgreSQL, SQLite3).
|
||||
The database migration to schema version 0.14 can be a long lasting operation so
|
||||
please schedule a downtime of your system accordingly.
|
||||
|
||||
Furthermore the foreign key constraints from a concrete type table like Origin to
|
||||
the Object table is removed. This constraint was never required by SeisComP itself
|
||||
as it takes care of correct removal of all derived table rows but it introduces a
|
||||
performance penalty when deleting objects. Dropping the constraint might affect
|
||||
custom database script which rely on it. Please be aware of that change.
|
||||
|
||||
- seiscomp
|
||||
- Fix module count with `seiscomp status`
|
||||
- documentation
|
||||
- Consider new parameters `values` and `range` in description of
|
||||
configuration and command-line parameters which will be highlighted in
|
||||
documentation and exposed in scconfig.
|
||||
- trunk
|
||||
- Fix LOCSAT station correction file lookup if `SEISCOMP_LOCSAT_TABLE_DIR`
|
||||
environment variable is being used.
|
||||
- Decode tokens when parsing a URL.
|
||||
- scevent
|
||||
- Provide optional REST API to return the target event an origin would be
|
||||
associated to.
|
||||
|
||||
## 6.8.4
|
||||
|
||||
- scevent
|
||||
- Read `eventAssociation.minimumScore` from configuration.
|
||||
|
||||
## 6.8.3
|
||||
|
||||
- caps_plugin
|
||||
- Exit if pipe to `seedlink` is broken.
|
||||
- trunk
|
||||
- Fix crash with empty filter parameter list and newer
|
||||
C++ compiler versions.
|
||||
- Do not call combined:// real-time recordstream with zero
|
||||
requests.
|
||||
|
||||
## 6.8.2
|
||||
|
||||
- ITAPER(): Support time spans with double precision, update filter
|
||||
documentation.
|
||||
- Application CLI option `-q, --quiet` took an argument which was not
|
||||
correct. It has been converted to a switch without argument.
|
||||
- Add `minPeriod` and `maxPeriod` to amplitude type configuration. Both
|
||||
are checked against the measured period to skip emitting amplitudes which
|
||||
are outside the allowed period range.
|
||||
- Support amplitude data conversion without `enableResponses = true`,
|
||||
e.g. when computing amplitudes on acceleration data. This implicitly
|
||||
includes support for amplitude updates for such data.
|
||||
- Add locrouter plugin, see
|
||||
https://github.com/SeisComP/common/blob/master/plugins/locator/router/descriptions/global_locrouter.rst.
|
||||
- Speed up trace rendering for large number of records.
|
||||
- Add support for reading GeoJSON and BNA in fep directory
|
||||
- Add support for reading fep file in spatial/vector
|
||||
- Add GeoJSON write support
|
||||
- Log each SQLite3 statement to debug if "debug" option is passed to URL.
|
||||
- Support SI units in amplitude and magnitude configuration for `minDist`, `maxDist`,
|
||||
`minDepth` and `maxDepth`.
|
||||
```
|
||||
amplitudes.MLv.maxDist = 8deg
|
||||
amplitudes.MLv.maxDepth = 80km
|
||||
```
|
||||
- Add Catalog support to datamodel.
|
||||
- magnitudes
|
||||
- MLc:
|
||||
- Add correction terms `c6` und `H` for considering vertical distance.
|
||||
- Consider source depth instead of vertical distance between station
|
||||
and origin for computing h.
|
||||
- Add correction terms `c7` and `c8` for exponential decay.
|
||||
- Update documentation with new style.
|
||||
- ql2sc
|
||||
- Add FocalMechanismReference to event for the preferred focal mechanism to
|
||||
force association.
|
||||
- GUI
|
||||
- Add Qt6 support
|
||||
- EventLists support passing the IDs of events in selected rows to an
|
||||
external script which can be configured with `eventlist.scripts.export`.
|
||||
- Add CSV table header information when exporting from the event list.
|
||||
- Hypocentral instead of epicentral distances may be shown if configured
|
||||
with `scheme.distanceHypocentral`.
|
||||
- Allow map zooming with shift + left mouse + dragging.
|
||||
- Fix segmentation fault if the magnitude table should be sorted and
|
||||
station magnitudes could not be found in the database or memory.
|
||||
- Save map measurements as GeoJSON
|
||||
- Add support for built-in FontAwesome icons as map symbols.
|
||||
- Print map symbols in map legends.
|
||||
- scesv
|
||||
- Support station annotations (shift+F9).
|
||||
- scolv
|
||||
- Attempt to fix a crash that is indicated by the terminal output:
|
||||
- Focal mechanisms show the station distribution on the map if station
|
||||
display is enabled (F9).
|
||||
- Add LQT rotation to picker.
|
||||
- Fix bug in picker when hidden unassociated picks become visible again after
|
||||
transferring a solution to the locator window.
|
||||
- If `olv.locator.presetFromOrigin = true` then the locator will be selected
|
||||
according to the methodID and earthModelID. If that is not found then
|
||||
the default locator will be set again rather than keeping the last selection.
|
||||
- Set OriginLocatorView depth type to "depth type set by locator" when
|
||||
presetFromOrigin is true and the depth type is unset, resetting the state of
|
||||
the origin set before.
|
||||
- Add tooltip with attribute content to method and earthModel label to
|
||||
allow inspecting long strings which do not fit into the label itself.
|
||||
- Add more flexible "Add station" dialog in picker which allows to filter
|
||||
identifiers, network and station types and sensor units.
|
||||
- Add more option to control initial picker behaviour.
|
||||
```
|
||||
QThread: Destroyed while thread is still running
|
||||
picker.rotation = ZRT
|
||||
picker.unit = Velocity
|
||||
picker.limitFilterToZoomTrace = true
|
||||
olv.loadAdditionalStations = true
|
||||
```
|
||||
|
||||
## 6.8.1
|
||||
|
||||
- scconfig
|
||||
- Allow parenthesis as profile names, e.g. for amplitude
|
||||
profiles.
|
||||
|
||||
## 6.8.0
|
||||
|
||||
- NonLinLoc locator plugin
|
||||
- Allow `SAVE_NLLOC_EXPECTATION` in NLL configuration
|
||||
files.
|
||||
- Increase precision to milliseconds for the following picker configuration values:
|
||||
- `picker.preOffset`
|
||||
- `picker.postOffset`
|
||||
- `picker.minimumTimeWindow`
|
||||
- Add `picker.auxiliary.profile` which supports multiple profiles to define
|
||||
and check for auxiliary channels.
|
||||
- Add controls to explicitly load auxiliary profiles
|
||||
- Add controls to toggle visibility of auxiliary profiles
|
||||
- Add spectrogram settings like in `scrttv` in a dockable widget (ctrl+shift+s) and
|
||||
remove the very basic spectrogram settings from the toolbar.
|
||||
- Add optional allow-/denylist for phases to be imported to ImportPicks dialog.
|
||||
- Add default configuration options for "Import picks" dialog.
|
||||
- scmv
|
||||
- Handle unset origin.depth and do not crash.
|
||||
- fdsnxml2inv
|
||||
- Set default start date to 1902-01-01 rather than 1980-01-01 if a start
|
||||
date is not specified for the StationXML node.
|
||||
- Use best precision when showing number differences in warnings.
|
||||
- scamp
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- scautoloc
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- scautopick
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- scdb
|
||||
- Add option `-x` to wipe out all child objects of a public object from
|
||||
database. This option might make the most sense on `Inventory`,
|
||||
`EventParameters` or `Config`.
|
||||
```
|
||||
$ scdb -d localhost -x Inventory
|
||||
```
|
||||
- scevent
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- Add command-line option `--reprocess` for ignoring event objects in
|
||||
input along with `--ep`.
|
||||
- Add `eventAssociation.enablePreferredFMSelection` option to control
|
||||
whether the preferred focalmechanism should be assigned automatically
|
||||
or not.
|
||||
- scmag
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- Fix segmentation fault when processing arrivals without distance.
|
||||
- screpick
|
||||
- Add command-line option `--formatted` for generating formatted XML along
|
||||
with `--ep`.
|
||||
- scdumpobject
|
||||
- Tool removed entirely. The functionality has been added to scxmldump.
|
||||
- scxmldump
|
||||
- Add `--public-id` and `--with-childs` to export an object by its publicID
|
||||
from the database. This will even work with database extensions by
|
||||
loading the corresponding plugins such as `dmsm`.
|
||||
- scwfparam
|
||||
- Add support for custom list of periods.
|
||||
- LocSAT
|
||||
- Fix bug when a function with only one sample is
|
||||
interpolated. That usually lead to location
|
||||
errors such as "SVD routine can't decompose matrix".
|
||||
- Rewrite old old code to support reentrant processing and dynamic station
|
||||
count.
|
||||
- Improve performance.
|
||||
- Add PKiKP and PKIKP phases.
|
||||
- Update PKKP table.
|
||||
- Support custom phase list via [model].ph file.
|
||||
- NLL
|
||||
- Allow the use of SAVE_NLLOC_EXPECTATION.
|
||||
- iLoc
|
||||
- When reading a local velocity model file, If CONRAD is not specified,
|
||||
the index of the Conrad discontinuity was not set properly, therefore iLoc
|
||||
assumed the very first depth as the Conrad thus preventing the calculation
|
||||
of Pg/Sg phases. The calculation of travel times from a local velocity model
|
||||
was restricted to up to 6 degree distance.
|
||||
The Conrad discontinuity is no longer set to the surface when CONRAD is not
|
||||
specified in the local velocity model. Travel-time calculations from local
|
||||
velocity models now extended to 10 degrees.
|
||||
- Add `iLoc.usePickUncertainties` and `iLoc.defaultTimeError` to description.
|
||||
- doc
|
||||
- Replace Sphinx m2r2 with sphinx_mdinclude
|
||||
- diskmon
|
||||
- Fix stopped modules counter for diskmon.
|
||||
|
||||
## 6.7.9
|
||||
|
||||
@ -244,6 +363,9 @@ will be tackled in future updates.
|
||||
- Allow to disable SQLite3 disc syncrhronization to decrease time needed to
|
||||
save data in an SQLite3 database: `sqlite3:///path/to/file?sync=false`.
|
||||
- Add support for all synchronous flags of SQLite3 (`sync=[normal|full|extra]`).
|
||||
- Add option `amplitudes.[type].considerUnusedArrivals` which if enabled
|
||||
considers stations with unused (disabled) arrivals for amplitude and
|
||||
implicitly magnitude computations. Affects scamp, scmag and scolv.
|
||||
- scolv
|
||||
- Replace operator comment input control with a text edit control which
|
||||
allows new lines. Furthermore the restriction of 160 characters has been
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
share/plugins/scmvx/gmsexample.so
Normal file
BIN
share/plugins/scmvx/gmsexample.so
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -143,7 +143,7 @@ def main():
|
||||
data = np.array(struct.unpack(unpackFormat, message[8:])) \
|
||||
.reshape((header["nPackagesPerMessage"], header["nChannels"]))
|
||||
|
||||
if args.gain != 1.0:
|
||||
if header["dataType"] == "float":
|
||||
data *= args.gain
|
||||
|
||||
packageData.append(data)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -157,7 +157,7 @@ class SeedlinkPluginHandler:
|
||||
def push(self, seedlink):
|
||||
try: host = seedlink.param('sources.chain.address')
|
||||
except:
|
||||
host = "geofon.gfz-potsdam.de"
|
||||
host = "geofon.gfz.de"
|
||||
seedlink.setParam('sources.chain.address', host)
|
||||
|
||||
try: port = seedlink.param('sources.chain.port')
|
||||
|
||||
@ -30,6 +30,9 @@ linkurl = $linkurl
|
||||
;; are available or desired, comment this entry out.
|
||||
liveurl = $liveurl
|
||||
|
||||
;; FDSNWS base URL.
|
||||
fdsnws_url = $fdsnws_url
|
||||
|
||||
;; refresh rate in seconds
|
||||
refresh = $refresh
|
||||
|
||||
|
||||
54
share/templates/slmon2/config.tpl
Normal file
54
share/templates/slmon2/config.tpl
Normal file
@ -0,0 +1,54 @@
|
||||
;; Generated at $date - Do not edit
|
||||
;; template: $template
|
||||
|
||||
[setup]
|
||||
|
||||
;; Web title of the SeedLink Monitor
|
||||
title = $title
|
||||
|
||||
;; Email to appear on the web page
|
||||
email = $email
|
||||
|
||||
;; Mounted directory into which the .html files will be written.
|
||||
;; This is ESSENTIAL!!!
|
||||
wwwdir = $wwwdir
|
||||
|
||||
;; Shortcut icon for the web page. Noting really important;
|
||||
;; if in doubt, just comment it out.
|
||||
icon = $icon
|
||||
|
||||
;; Name string of Link on footer line
|
||||
;; if in doubt, just comment it out.
|
||||
linkname = $linkname
|
||||
|
||||
;; Link URL on footer line
|
||||
;; if in doubt, just comment it out.
|
||||
linkurl = $linkurl
|
||||
|
||||
;; Specify URL of GEOFON-style "live seismograms". The '%s'
|
||||
;; will be replaced by the station name. If no live seismograms
|
||||
;; are available or desired, comment this entry out.
|
||||
liveurl = $liveurl
|
||||
|
||||
;; FDSNWS base URL.
|
||||
fdsnws_url = $fdsnws_url
|
||||
|
||||
;; refresh rate in seconds
|
||||
refresh = $refresh
|
||||
|
||||
;; SeedLink server - ESSENTIAL!!!
|
||||
server = $address:$port
|
||||
|
||||
[colors]
|
||||
; define colors depending on the latency
|
||||
; NOT CURRENTLY USED!!!!
|
||||
color0 = 0:#cc99ff
|
||||
color1 = 1800:#3399ff
|
||||
color2 = 3600:#00ff00
|
||||
color3 = 7200:#ffff00
|
||||
color4 = 21600:#ff9966
|
||||
color5 = 86400:#ff3333
|
||||
color6 = 172800:#ffcccc
|
||||
color7 = 259200:#cccccc
|
||||
color8 = 345600:#999999
|
||||
color9 = 432000:#666666
|
||||
9
share/templates/slmon2/station.tpl
Normal file
9
share/templates/slmon2/station.tpl
Normal file
@ -0,0 +1,9 @@
|
||||
;; template: $template
|
||||
|
||||
[${net}_${station}]
|
||||
net = $net
|
||||
sta = $station
|
||||
info = $desc
|
||||
group = $group
|
||||
type = real
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user