Skip to content
Snippets Groups Projects
Commit 1cf7f7d2 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Add nshm

parent 6c40de2e
No related branches found
No related tags found
2 merge requests!128Production Release | nshmp-ws-static,!127Resolves - Handle Multiple NetCDF Files for AASHTO Service
...@@ -23,8 +23,18 @@ import ucar.nc2.dataset.NetcdfDatasets; ...@@ -23,8 +23,18 @@ import ucar.nc2.dataset.NetcdfDatasets;
*/ */
public class NetcdfHazardCurves extends Netcdf<StaticDataHazardCurves> { public class NetcdfHazardCurves extends Netcdf<StaticDataHazardCurves> {
private final Nshm nshm;
public NetcdfHazardCurves(Path netcdfPath) { public NetcdfHazardCurves(Path netcdfPath) {
super(netcdfPath); super(netcdfPath);
nshm = Nshm.valueOf(netcdfData().scienceBaseMetadata().catalogId);
}
/**
* Returns the NSHM
*/
public Nshm nshm() {
return nshm;
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment