Each ASA file contains event and station metadata and the acceleration time series for 3 components. Response spectra data are not included.
The structure of this code follows closely "esm_database_parser.py"
Also added simple tests to ensure the metadata is being parsed correctly, using one CICESE and one UNAM test file. Would later like to add tests that check the ValueErrors are being raised correctly when the metadata is missing or when there are problems with the time series
Parser for the Mexican Standard Acceleration file, ASA ver 2.0 created by the CICESE and UNAM networks. See https://aplicaciones.iingen.unam.mx/AcelerogramasRSM/DscAsa.aspx
Each ASA file contains event and station metadata and the acceleration time series for 3 components. Response spectra data are not included.
The structure of this code follows closely "esm_database_parser.py"
Also added simple tests to ensure the metadata is being parsed correctly, using one CICESE and one UNAM test file. Would later like to add tests that check the ValueErrors are being raised correctly when the metadata is missing or when there are problems with the time series