Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23503054Apollo Impact Waveforms and Fracture Model Comparisons This folder contains 13 Apollo impact records, 4 Hz displacement caches for 12 simulation cases, a saved Pearson-correlation matrix, and the scripts used to prepare and analyze them. Run commands from this folder. The scripts resolve their default input paths relative to their own location; no machine-specific absolute path or environment variable is needed. Files and directories README.md Folder layout, data formats, script order, and configuration notes. requirements.txt Direct Python dependencies: NumPy, SciPy, pandas, ObsPy, and Matplotlib (the last is used by bundled PDART). .gitignore Excludes Python bytecode and generated results/ and case_similarity_results/ directories from Git. The supplied data/ directory is not ignored. preprocess_apollo_observations_original_segmented_gap_13records_4Hz.py Reads the 13 raw Apollo MiniSEED files and inventory.xml, applies ATT timing correction and instrument-response removal, preserves long gaps, resamples to 4 Hz, and writes observation NPZ files plus a summary CSV. preprocess_specfem2d_exact_builder_pipeline_tangent9p1_no5p2.py Reads raw SPECFEM2D X/Z displacement files, rotates them to local radial or tangential displacement, resamples to 4 Hz, and writes simulation NPZ files plus a summary CSV. Due to their large file sizes, the original SPECFEM2D simulation data are not included in this repository. apollo_zero_time_pearson_r_4Hz.py Calculates the zero-time-shift envelope Pearson coefficient for one selected simulation case and all 13 Apollo records, in the global band and six subbands. It writes numerical CSV results under results/Case2/ by default. It does not draw plots. taud.py Fits a straight line to the log envelope after its peak to calculate decay time tau_d = -1/slope. It writes results/decay_time/tau_d_all_records.csv; unsuccessful fits are reported in the console. It does not draw plots. build_all_case_pearson_matrices.py Calculates the same type of bandwise zero-shift Pearson coefficients for Case1 through Case12 and saves an aggregate NPZ file. case_similarity_1_minus_rmse.py Reads the aggregate NPZ and computes pairwise Case RMSE and clipped 1 - RMSE similarity across all 7 bands and 13 records. It writes three CSV files in case_similarity_results/. all_case_pearson_matrices.npz Supplied aggregate Pearson coefficients for 12 cases, 7 bands, and 13 records; see its schema below. data/inventory.xml Apollo station response data used by observation preprocessing. data/original Apollo data/all_impacts_minus5000_plus8000/ The 13 source Apollo MiniSEED impact windows, nominally from 5000 seconds before to 8000 seconds after impact. data/observations/ The 13 preprocessed Apollo 4 Hz displacement NPZ files. data/simulations/Case1/ through Case12/ One 4 Hz simulation NPZ file per record in each Case directory: 12 × 13 = 156 files. pdart/ Bundled PDART source and supporting files. The Apollo preprocessor imports pdart/util.py for timing correction and short-gap interpolation. Its own README.md and LICENSE describe this third-party component. The supplied observation and simulation NPZ files are sufficient to run the four analysis scripts (apollo_zero_time_pearson_r_4Hz.py, taud.py, build_all_case_pearson_matrices.py, and case_similarity_1_minus_rmse.py). Apollo preprocessing can be repeated using the supplied MiniSEED and inventory. Record and Case organization Every Case uses the same 13 records, in this order. The final column is the simulation cache filename within each data/simulations/CaseN/ directory. The observation cache uses the corresponding event/station name with underscores and SIVB in place of S-IVB, followed by _minus5000_plus8000_DISP_4Hz.npz (for example, A14_LM_S14_minus5000_plus8000_DISP_4Hz.npz). Distance Impact / station Simulation NPZ 2.2° A14 LM → S14 S22_local_radial_4Hz.npz 2.4° A12 LM → S12 S24_local_radial_4Hz.npz 3.0° A15 LM → S15 S30_local_radial_4Hz.npz 3.8° A14 LM → S12 S38_local_radial_4Hz.npz 4.5° A13 S-IVB → S12 S45_local_radial_4Hz.npz 5.1° A16 S-IVB → S12 S51_local_radial_4Hz.npz 5.8° A14 S-IVB → S12 S58_local_radial_4Hz.npz 6.1° A15 S-IVB → S14 S61_local_radial_4Hz.npz 9.1° A16 S-IVB → S14 S91_local_tangential_4Hz.npz 11.1° A17 S-IVB → S12 S111_local_radial_4Hz.npz 11.7° A15 S-IVB → S12 S117_local_radial_4Hz.npz 25.4° A17 LM → S15 S254_local_radial_4Hz.npz 28.0° A17 S-IVB → S16 S280_local_radial_4Hz.npz The 5.2° record is not part of this release. The 9.1° record uses the Apollo MH1 channel and the simulated local tangential component; the other records use Apollo MHZ and simulated local radial displacement. The current Case numbering and model parameters are: Case Fracture depth interval, z (m) eps Fracture length, L (m) Case1 (no fracture) 0–12000 0 1000 Case2 0–1000 0.025 1000 Case3 0–12000 0.025 1000 Case4 1000–2000 0.025 1000 Case5 1000–12000 0.025 1000 Case6 3000–8000 0.025 1000 Case7 2000–12000 0.025 1000 Case8 0–1000 0.025 500 Case9 0–2500 0.025 2000 Case10 0–4500 0.025 4000 Case11 0–1000 0.0125 1000 Case12 0–1000 0.05 1000 These model parameters describe the Case design; they are not separate columns stored in the waveform or aggregate NPZ files. NPZ data format An NPZ file is a collection of named NumPy arrays. Inspect its field names with numpy.load(path, allow_pickle=False).files. Each file in data/observations/ contains 19 named fields. data is a one-dimensional float32 displacement series; t0 is its first sample time relative to impact in seconds; dt is the sampling interval, 0.25 s; and fs is 4 Hz. Reconstruct sample times as t0 + numpy.arange(len(data)) * dt. Missing samples remain NaN. kind is observation_DISP. The other fields are record_label, distance, event_station, station, selected_channel, impact_time, source_file, source_fs, source_dt, resample_up, resample_down, valid_fraction, timing_shift_seconds_median, and manual_excluded_sample_count. They identify the record, source, resampling, and quality-control settings. Each file in data/simulations/CaseN/ also has one-dimensional float32 displacement data (20,000 samples), t0 = 0, dt = 0.25, fs = 4, and a kind value of simulation_local_radial or simulation_local_tangential. Radial files have 21 named fields; tangential files have 23. Shared data are case_name, record_label, distance, event_station, station_code, source_x_file, source_z_file, source_fs, source_dt, resample_up, resample_down, station_x, station_z, er_x, and er_z. Radial files add vertical_sign; tangential files add et_x, et_z, and tangential_sign. The er_* and et_* values are the local radial and tangential unit-vector components used for rotation. Each simulation NPZ's embedded case_name matches its current Case1–Case12 directory. The source_file, source_x_file, and source_z_file strings are historical provenance data from the original generation and may contain absolute paths that do not exist on another computer. The analysis scripts read the waveform files from the local folder paths above; these provenance strings are not used as input paths. Only the simulation case_name data was updated for this release; the numerical waveform arrays were left unchanged. all_case_pearson_matrices.npz contains 5 named arrays: Array Shape Meaning case_names (12,) Case1 through Case12, in matrix-axis order. band_names (7,) global, HP3, HP2, HP1, MP2, MP1, LP. distance_labels (13,) The 13 distances in the record order above. event_labels (13,) The 13 corresponding impact/station labels. matrices (12, 7, 13) Float64 Pearson r; axes are Case, frequency band, and record. For any fixed band, matrices[:, band_index, :] is a 12-row by 13-column table: rows are Cases and columns are records. For example, matrices[1, 0, 0] is the global-band coefficient for Case2 at 2.2°. Coefficients are dimensionless and lie between -1 and 1. Band Frequency range (Hz) global 0.30–0.80 HP3 0.70–0.80 HP2 0.60–0.70 HP1 0.50–0.60 MP2 0.40–0.50 MP1 0.30–0.40 LP 0.20–0.30 Run the scripts Install dependencies, then run from this folder: python -m pip install -r requirements.txtpython apollo_zero_time_pearson_r_4Hz.pypython taud.pypython build_all_case_pearson_matrices.pypython case_similarity_1_minus_rmse.py The supplied processed NPZ files let these analysis commands run without repeating preprocessing. Run the Apollo preprocessor only when regenerating data/observations/. Run the SPECFEM2D preprocessor only after adding raw data/00_AllCases/ input. Both preprocessors default to OVERWRITE = False, so existing NPZ files are preserved. The SPECFEM2D script selects Case1–Case12 and keeps reference-cache comparison disabled unless a separate reference tree is configured. The Pearson script defaults to CASE_NAME = "Case2"; edit that setting to analyze another single Case. The decay script currently selects Case2 and Case8–Case12. Both read data/observations/ and data/simulations/CaseN/. The aggregate builder reads all 12 Case directories and writes all_case_pearson_matrices.npz beside the script by default. The similarity script reads that NPZ and writes three CSVs: case_rmse_matrix.csv, case_similarity_1_minus_rmse_matrix.csv, and case_similarity_pairs.csv. Zero-shift Pearson analysis uses a 0–4500 s window, segment-wise zero-phase bandpass filtering, Hilbert envelopes, Gaussian smoothing, and paired valid samples without bridging observation gaps. The aggregate matrix builder uses the support threshold defined in its own code. Decay analysis uses the 0.40–0.80 Hz band and fits a complete 1000 s window starting 200 s after the envelope peak; its settings and acceptance thresholds are defined in taud.py. The Python configuration assignments are the source of truth for calculation settings and output paths. The supplied 156 simulation and 13 observation NPZ files were checked against the configured record filenames. Recomputing the aggregate matrix from these files reproduced every value in the supplied all_case_pearson_matrices.npz exactly (maximum absolute difference: 0).
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)