usgs / earthquake-eventpages

Web application for displaying earthquake event pages.
Other
28 stars 22 forks source link

Pager XML Service #893

Closed llastowka-usgs closed 6 years ago

llastowka-usgs commented 6 years ago

Read PAGER xml Download, parse PAGER xml See QuakeML service

emartinez-usgs commented 6 years ago

Parsing error. Consider event us2000ar20. Note the exposure table on the current event pages shows MMI I and II - III both have an asterisk indicating the mapped data are incomplete.

The parsed data structure in this implementation incorrectly claims the data are complete for II-III. I think this is because '0' && '1' evaluates to '1'. This needs to be corrected.

Also, numbers should be numbers, booleans should be booleans (etc...) in the parsed data structure.