NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
With both netcdf-java v5.5.2 and v5.5.3, the CatalogBuilder no longer seems to work with a remoteCatalogService catalog. This code worked before. Specifically, trying to get a catalog from a remoteCatalogService catalog returns a catalog that is null: thredds.client.catalog.Catalog catalog = (new thredds.client.catalog.builder.CatalogBuilder()).buildFromURI(new java.net.URI( " https://oceanwatch.pfeg.noaa.gov/thredds/remoteCatalogService?catalog=https://thredds1.pfeg.noaa.gov/thredds/catalog/Satellite/MPOC/catalog.xml")); System.out.println(catalog == null); That prints "true". A null is not a useful response. If the URL is invalid for this method, then there should be an exception saying so, or more specifically solving the problem. I will solve the problem in my code by using the remote URL directly. Since this code used to work, it seems like the best solution is for you to have the CatalogBuilder switch to using the remote catalog's url. Can you please investigate and (if true) fix these problems? Thank you.
netcdf-java
archives: