Closed HankHerr-NOAA closed 1 month ago
Note that the COWRES job id for the evaluation was 8020285054067456767, and it was a WGRFC job on 9/17 (the job id will work through the front end for two weeks).
Hank
The predicted data and thresholds are attached; see the links below.
If there is a configuration issue, let me know. The declaration is in the description. This is not a high priority item.
Thanks,
Hank
This error cropped up when attempting to add sampling uncertainty to a NWRFC 90-day RFC forecast evaluation to support VLab ticket #120579.
Hank
Will attempt to reproduce and then estimate.
Reproduced:
Caused by: java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "org.apache.commons.math3.distribution.BinomialDistribution.sample()" because "sampler" is null
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.commons.math3.distribution.BinomialDistribution.sample()" because "sampler" is null
at wres.datamodel.bootstrap.StationaryBootstrapResampler.getFirstSampleFromSeriesThatIsNotFirstSeries(StationaryBootstrapResampler.java:398)
at wres.datamodel.bootstrap.StationaryBootstrapResampler.generateResampleIndexesForForecastSeries(StationaryBootstrapResampler.java:284)
at wres.datamodel.bootstrap.StationaryBootstrapResampler.generateResampleIndexes(StationaryBootstrapResampler.java:217)
at wres.datamodel.bootstrap.StationaryBootstrapResampler.resample(StationaryBootstrapResampler.java:153)
at wres.pipeline.pooling.PoolProcessor.getSamplingUncertaintyStatistics(PoolProcessor.java:597)
at wres.pipeline.pooling.PoolProcessor.createStatistics(PoolProcessor.java:492)
at wres.pipeline.pooling.PoolProcessor.get(PoolProcessor.java:151)
at wres.pipeline.pooling.PoolProcessor.get(PoolProcessor.java:60)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
... 3 common frames omitted
Currently getting 503s from NWIS...
Ah, I see the issue. Apparently, the resampler is using (unreliably) the presence of ReferenceTimeType.T0
as indicative of forecast time-series. This test needs to be centralized and to include ReferenceTimeType.ISSUED_TIME
too, since NWPS forecasts use this designation.
That fixed the issue. Will run the system tests and then push.
Pushed.
This one is ready for UAT.
UAT passed in job 8247633423924475386
The declaration is below. The exception:
I believe the cause could be that there is only a single RFC forecast available at that location which is in WGRFC and is only forecasted during events. However, I need to double check that and will the next time I'm on the NWC VPN.
I'll be back on the NWC VPN later today. When I am, I'll gather the
predicted
data and the thresholds.Thanks
Hank
==========