Skip to content

Bounding Hazard Tests

Add tests for BoundingHazards class

When should hazard maps (1Map<SiteClass, Map<Imt, XySequence>>1) be validated? Upon initial extraction (extractHazardsAt()) or in the interpolation routines (BoundingHazards.getTargetData() and NetcdfUtils.linearInterpolate())?

Edge cases:

  • Requesting data for a point beyond grid points where hazard was calculated should result in an error (data not available), even though such grid points are included in the netCDF file (grid is rectangular)
Edited by Altekruse, Jason Morgan