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

remove data type

parent 2ee1db7c
No related branches found
No related tags found
2 merge requests!128Production Release | nshmp-ws-static,!127Resolves - Handle Multiple NetCDF Files for AASHTO Service
......@@ -21,7 +21,6 @@ import gov.usgs.earthquake.nshmp.netcdf.reader.Reader;
public abstract class Netcdf<T> {
protected final Path netcdfPath;
protected final NetcdfDataType dataType;
protected final NetcdfData netcdfData;
protected NetcdfShape netcdfShape;
......@@ -39,7 +38,6 @@ public abstract class Netcdf<T> {
throw new IllegalArgumentException("Path to Netcdf file [" + netcdfPath + "] does not exist");
}
dataType = NetcdfDataType.getDataType(netcdfPath);
var reader = getNetcdfData(netcdfPath);
netcdfData = reader.netcdfData();
netcdfShape = reader.netcdfShape();
......@@ -52,13 +50,6 @@ public abstract class Netcdf<T> {
*/
public abstract BoundingData<T> boundingData(Location site);
/**
* Returns the data type.
*/
public NetcdfDataType dataType() {
return dataType;
}
/**
* Returns the NetCDF data.
*/
......
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