sceccode / gmsvtoolkit Goto Github PK
View Code? Open in Web Editor NEWSCEC Ground Motion Simulation Verification (GMSV) toolkit can process and compare ground motion simulations and observations
License: BSD 3-Clause "New" or "Revised" License
SCEC Ground Motion Simulation Verification (GMSV) toolkit can process and compare ground motion simulations and observations
License: BSD 3-Clause "New" or "Revised" License
Include FAS plotting scripts from the Broadband Platform into the GMSVToolkit. Add both plot_fas and plot_fas_comparison scripts as stand-alone scripts. These codes were originally part of the fas module in the Broadband Platform but should be included on their own in order to allow users to run them separately. Include unit tests for both of these modules.
Migrate the RZZ 2015 GMPE code from the Broadband Platform. Remove BBP dependencies and include unit tests to make sure code runs as expected.
Migrate the RZZ 2015 metric computation code from the Broadband Platform. Remove BBP dependencies and include unit tests to make sure code runs as expected.
Add the GMPE calculation scripts from the Broadband Platform to GMSVToolkit. Start with the calculate_gmpe.py script and remove BBP dependencies like sim_id and hard-coded paths. Also, create command-line interface so users can specify a GMPE group and a list of stations for which to calculate the GMPEs.
Migrate Anderson GoF code from the Broadband Platform, making changes so that BBP directory and naming restrictions are removed. Include unit test for this new code, and add reference files in the test folder.
Update plot_map_gof code so that users can specify relative paths to both source file and station list. Right now the code will not find these files if relative paths are used because it temporarily changes its working directory.
Set up continuous integration (CI) on GitHub so that unit tests on GMSVToolkit run at every commit to the main branch.
Integrate BBP's FAS seismogram processing code into the GMSVToolkit. Create a command-line parser in order to support both scenario and validation runs. In scenario runs, the code should take a set of seismograms (input folder) along with a station list and process them together, generating a smc8 file for each time series in the specified output folder. In validation mode, the code needs to take a number of input folder and labels and process these together through all steps (resampling to the lowest DT, adding missing data points so that all seismograms have the same length, and computing the FAS). This code should go into the metrics folder, and a test case should be added to test the functionality for both modes.
Create an examples folder and add sample input files for the rotdxx.py and psa_gof.py codes so that users can try these commands.
Potential observational inputs formats:
SEED
SAC
PEER2
PEER3
Obspy
Integrate BBP's fas_gof module into the GMSVToolkit. This code should be added to the stats folder and should allow uses to specify two sets of smc8 files and a station list. The code will then create residuals files from these two datasets that can be used to plot a FAS GoF plot. Include interface so that users can invoke this code from the command-line. Also add options that enable users to specify seismogram prefixes and suffixes in order to provide enough flexibility. Include unit test to make sure code works as expected.
As the last step in the FAS processing pipeline, add the BBP FAS GoF plotting codes that read residuals generated by fas_gof and produce the FAS GoF plot for a set of stations. Include a unit test to make sure the plotting code works as expected.
Merge seismogram plotting capabilities from the Broadband Platform and the TS-Process package into the GMSVToolkit. The plotting seismogram tool should be able to create 1, 2 and 3-component seismogram plots, with a matching command-line interface to enable this.
Add a unit test for the plot_map module. The run method should be split into two parts, one for parsing command-line options and setting up the module, and a second part that derives the needed input files and actually runs the map generation code.
Users would benefit from a brief explanation of each plot that GTK produces.
Migrate the Afshari and Stewart (2016) GMPE for significant duration from the Broadband Platform. Remove BBP dependencies and include unit tests to make sure code runs as expected.
Implement the FAS processing pipeline from the Broadband Platform. This task includes the addition of a number of modules from the Broadband Platform, and requires refactoring several codes in order to remove any code/module dependencies from the Broadband Platform. This task includes several steps:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.