Package nz.org.riskscape.usgs
Class UsgsShakeMapResolver
java.lang.Object
nz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
nz.org.riskscape.usgs.UsgsShakeMapResolver
- All Implemented Interfaces:
nz.org.riskscape.engine.data.BookmarkResolver
,nz.org.riskscape.engine.Identified
public class UsgsShakeMapResolver
extends nz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
Resolves bookmarks for shakemap HDF5 files downloaded from the usgs.gov website. USGS produces shakemaps after major earthquakes and these can be used to calculate losses post-event.
-
Nested Class Summary
Nested classes/interfaces inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver
nz.org.riskscape.engine.data.BaseBookmarkResolver.ProblemCodes
-
Field Summary
Fields inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver
engine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected nz.org.riskscape.problem.ResultOrProblems<? extends Object>
build
(UsgsShakeMapResolver.Params parameters) protected void
validateParameters
(UsgsShakeMapResolver.Params params, nz.org.riskscape.engine.bind.BindingContext context) Methods inherited from class nz.org.riskscape.engine.data.BaseBookmarkResolver
attemptPrjParse, attemptPrjParse, bindAndValidate, buildParameterSet, checkFile, getAliasMapping, getBookmarkedPath, getBookmarkedPathOr, getEngine, getExtensions, getFormat, getParameterSet, getParamsClass, newResolved, resolve, setCrs
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.data.BookmarkResolver
getId, getName, supportedParameters
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
-
Constructor Details
-
UsgsShakeMapResolver
public UsgsShakeMapResolver(nz.org.riskscape.engine.Engine engine)
-
-
Method Details
-
getFormats
- Specified by:
getFormats
in interfacenz.org.riskscape.engine.data.BookmarkResolver
- Overrides:
getFormats
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
-
getExtensionsToFormats
- Specified by:
getExtensionsToFormats
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
-
validateParameters
protected void validateParameters(UsgsShakeMapResolver.Params params, nz.org.riskscape.engine.bind.BindingContext context) - Overrides:
validateParameters
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
-
build
protected nz.org.riskscape.problem.ResultOrProblems<? extends Object> build(UsgsShakeMapResolver.Params parameters) - Specified by:
build
in classnz.org.riskscape.engine.data.BaseBookmarkResolver<UsgsShakeMapResolver.Params>
-