-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Versions impacted by the bug
5.9.1
What went wrong?
Exception when opening an OPenDAP dataset with query parameters: NetcdfDataset ncd = NetcdfDatasets.openDataset(fullUrl)
I've tried with both an http and dods url:
http://apdrc.soest.hawaii.edu/dods/public_data/SODA/soda_pop2.2.4?temp[1571:1571][0:18][197:197][370:370]
dods://apdrc.soest.hawaii.edu/dods/public_data/SODA/soda_pop2.2.4?temp[1571:1571][0:18][197:197][370:370]
(let me know if this is a different issue) I also tried this url:
https://ferret.pmel.noaa.gov/pmel/erddap/tabledap/ChukchiSea_454a_037a_fcf4?prof,id,cast,cruise,time,longitude,lon360,latitude&time%3E=2012-09-04&time%3C=2012-09-07&distinct()
It did open the dataset, but it failed to apply the constraints.
Relevant stack trace
java.lang.IllegalStateException: Cant modify
at ucar.nc2.Attribute.setName(Attribute.java:655)
at ucar.nc2.dods.DODSNetcdfFile.reGroup(DODSNetcdfFile.java:574)
at ucar.nc2.dods.DODSNetcdfFile.<init>(DODSNetcdfFile.java:264)
at ucar.nc2.dods.DODSNetcdfFileProvider.open(DODSNetcdfFileProvider.java:24)
at ucar.nc2.dataset.NetcdfDatasets.openProtocolOrFile(NetcdfDatasets.java:431)
at ucar.nc2.dataset.NetcdfDatasets.openDataset(NetcdfDatasets.java:152)
at ucar.nc2.dataset.NetcdfDatasets.openDataset(NetcdfDatasets.java:135)
at ucar.nc2.dataset.NetcdfDatasets.openDataset(NetcdfDatasets.java:118)
at ucar.nc2.dataset.NetcdfDatasets.openDataset(NetcdfDatasets.java:104)
at gov.noaa.pfel.erddap.dap.DapServiceHelper$NetcdfDapStrategy.getGridData(DapServiceHelper.java:1065)
at gov.noaa.pfel.erddap.dap.DapServiceHelper.getGridData(DapServiceHelper.java:254)Relevant log messages
No response
If you have an example file that you can share, please attach it to this issue.
If so, may we include it in our test datasets to help ensure the bug does not return once fixed?
Note: the test datasets are publicly accessible without restriction.
Yes
Code of Conduct
- I agree to follow the UCAR/Unidata Code of Conduct