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

style

parent ba73436e
No related branches found
No related tags found
2 merge requests!131Production Release | nshmp-ws-static,!130Filter null values
......@@ -149,7 +149,8 @@ public class BoundingReaderHazardCurves extends BoundingReader<StaticDataHazardC
netcdfData.imls().get(imt),
(double[]) hazards.section(origin, shape).reduce().get1DJavaArray(DataType.DOUBLE));
var points = xySequence.stream().filter(xy -> !Double.isNaN(xy.y()))
var points = xySequence.stream()
.filter(xy -> !Double.isNaN(xy.y()))
.collect(Collectors.toList());
var xs = points.stream().map(xy -> xy.x()).collect(Collectors.toList());
......
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