Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when opening twoD grib collection as a coverage #1240

Open
tdrwenski opened this issue Sep 26, 2023 · 0 comments
Open

Exception when opening twoD grib collection as a coverage #1240

tdrwenski opened this issue Sep 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tdrwenski
Copy link
Contributor

tdrwenski commented Sep 26, 2023

Versions impacted by the bug

v5.x

What went wrong?

For instance, on thredds-test, when opening the NDFD CONDUIT grib collection's twoD dataset through NCSS you get an IllegalArgument exception shown below.

Relevant stack trace

Throwable exception handled : java.lang.IllegalStateException: Time2D with type= TwoD
	at ucar.nc2.grib.coverage.GribCoverageDataset.makeTime2DCoordinates(GribCoverageDataset.java:542)
	at ucar.nc2.grib.coverage.GribCoverageDataset.createCoverageCollection(GribCoverageDataset.java:196)
	at ucar.nc2.grib.collection.Grib2Partition.getGridCoverage(Grib2Partition.java:58)
	at thredds.featurecollection.InvDatasetFcGrib$2.obtain(InvDatasetFcGrib.java:616)
	at thredds.featurecollection.InvDatasetFcGrib.findDataset(InvDatasetFcGrib.java:655)
	at thredds.featurecollection.InvDatasetFcGrib.getGridCoverage(InvDatasetFcGrib.java:612)
	at thredds.core.DatasetManager.openCoverageDataset(DatasetManager.java:416)
	at thredds.core.TdsRequestedDataset.openAsCoverageDataset(TdsRequestedDataset.java:149)
	at thredds.core.TdsRequestedDataset.getCoverageCollection(TdsRequestedDataset.java:74)
	at thredds.server.ncss.controller.NcssGridController.getDatasetDescriptionHtml(NcssGridController.java:252)
	at thredds.server.ncss.controller.NcssGridController.getGridDatasetDescriptionHtml(NcssGridController.java:239)
@tdrwenski tdrwenski added the bug Something isn't working label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant