Skip to content

Commit

Permalink
Merge branch '144-ignore-locations-w-zero' into 'master'
Browse files Browse the repository at this point in the history
Update indexer processing docs to include MT and ShakeMap indexer modules

See merge request ghsc/hazdev/pdl!150
  • Loading branch information
emartinez-usgs committed Dec 16, 2021
2 parents ffe6584 + 21de2ab commit e595abb
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
4 changes: 2 additions & 2 deletions code.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Product Distribution Layer",
"organization": "U.S. Geological Survey",
"description": "Distribution system used for derived earthquake information",
"version": "v2.7.10",
"version": "v2.7.11",
"status": "Production",
"permissions": {
"usageType": "openSource",
Expand All @@ -27,7 +27,7 @@
"email": "[email protected]"
},
"date": {
"metadataLastUpdated": "2021-06-21"
"metadataLastUpdated": "2021-12-16"
}
}
]
29 changes: 27 additions & 2 deletions docs/indexer.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Indexer
=======
Indexer Processing
==================


## Overview
Expand Down Expand Up @@ -98,6 +98,31 @@ The Default Indexer Module is the basis for all other Modules and implements ANS
| +50 | If product has *Location*, and `eventsource` is authoritative
| +100 | If product has *Location*, and `source` is authoritative

#### Moment Tensor Indexer Module
The Moment Tensor Module extends preferred weight calculations (added to Default Indexer Module weights) for "moment-tensor" products.

| Value | Description
| :---: | -----------
| +60 | If `beachball-type` property is `mww`
| +56 | If `beachball-source` property is `gcmt`
| +2 | If `beachball-type` property is `mwc`
| +1 | If `beachball-type` property is `mwb`
| -100 | If `beachball-type` property is `mwb` and `derived-magnitude` property is outside the range [5.5, 7.0]

> NOTE: property comparisons are case-insensitive
#### ShakeMap Indexer Module
The ShakeMap Indexer Module extends preferred weight calculations (added to Default Indexer Module weights) for "shakemap" products.

| Value | Description
| :---: | -----------
| +200 | If product `source` is `atlas`
| +50 | If map extent contains epicenter
| +25* | If map center is less than 2 degrees from epicenter. Scaled based on distance `25 * (1-(distance/2))`

Map extent is defined by the properties `maximum-latitude`, `maximum-longitude`, `minimum-latitude`, `minimum-longitude`. Epicenter is defined by the properties `latitude` and `longitude`.

> The ShakeMap Indexer Module is also configured to ignore the `NN` source, so it only receives `preferredWeight=1` from default indexer module before ShakeMap rules are applied.
### 3) Search for associated information

Expand Down
1 change: 1 addition & 0 deletions docs/userguide/indexer.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<h1>Indexer</h1>
<p><a href="receiving.html">&laquo; Back to Receiving Documentation</a></p>

<p><a href="../indexer.html">Also see this page describing Indexer Processing</a></p>

<p>The Indexer maintains an index of received products. It uses this
index to associate related products into events, based on eventid or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class ProductClient extends DefaultConfigurable implements
ProductClientMBean, Bootstrappable {

/** The "release" version number. */
public static final String RELEASE_VERSION = "Version 2.7.10 2021-06-21";
public static final String RELEASE_VERSION = "Version 2.7.11 2021-12-16";

/** Property name used on products for current RELEASE_VERSION. */
public static final String PDL_CLIENT_VERSION_PROPERTY = "pdl-client-version";
Expand Down

0 comments on commit e595abb

Please sign in to comment.