USGS NEIC evaluator
This repository contains code that will create a Program Executable (PGE) that generates HySDS datasets from USGS earthquake events. The PGE queries for acquisitions that overlap with the PDL extended event polygon then finds the union of the returned acquisitions for each track. The track polygons are then intersected and water-masked with the extended event polygon to generate the AOITRACK HySDS datasets. The AOITRACKs are displayed in Tosca as single polygons and the water_masked_geojson_polygon
field within the AOITRACK's metadata contains the water-masked, intersected polygon.
Users may add or modify regions by modifying the regions.json file. GeoJSON coordinates defining new regions may be appended to the collection of exisiting regions.
Built using the ARIA HySDS Jenkins Continuous Integration (CI) pipeline.
More information about this process can be found here
Within the ARIA production environment, this PGE is built using the ARIA Jenkins server. You'll want to log onto the ARIA Mozart server and add / watch this repo first, then open up the Jenkins server in a browser and navigate to the project for this repo (which should show up after adding / watching this repo via the sds ci ...
commands documented in the above link)
You may run your customized PGE via two methods that are documented below:
- An on-demand (one-time) job
- Create a trigger rule to invoke your PGE based on conditions
- Name:
usgs_neic_event_evaluator
- Condition:
{
"bool": {
"must": [
{
"term": {
"dataset_type.raw": "event"
}
},
{
"term": {
"dataset.raw": "usgs_neic_pdl_origin"
}
}
]
}
}
- Action:
hysds-io-usgs_neic_event_evaluator:main
- Queue:
factotum-job_worker-large
- Keyword Args:
{
"create_aoi_version": "master"
}
v1.0.0
- https://github.com/aria-jpl/coseismic_usgs_neic_evaluator/releases/tag/v1.0.0
- Create an GitHub issue ticket describing what changes you need (e.g. issue-1)
- Fork this repo (https://github.com/aria-jpl/coseismic_usgs_neic_evaluator/fork)
- Make your modifications in your own fork
- Make a pull-request in this repo with the code in your fork and tag the repo owner / largest contributor as a reviewer
Contact @mlucas
for support.