Skip to content

NetCDF static hazard curve reader

Class: gov.usgs.earthquake.nhsmp.internal.NetCdf for reading static hazard curve data.

  • Method: get(Location) return Table<Imt, Double, XySequence> of curves derived from interpolation of four closest curves.
  • Method: metadata() return NetCdf.Metadata
  • Nested static class: NetCdf.Metadata with public final fields:
    • bounds: Bounds (see Locations.bounds())
    • spacing: double
    • Imts and Imls: Map<Imt, List<Double>> (EnumMap<Imt, ImmutableList<Double>>)
    • Others?

Class: gov.usgs.earthquake.data.BilinearInterpolator

  • use instances of Interpolator

Will require addition of NetCDF dependency to project in build.gradle