This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi U. Suesser, I cannot find the grib files described by the URLs below. They are unreachable. Try copy and pasting those URLs in a web browser, and you will get a 404 file not found error. Could that be the root of the problem? Many Thanks, -Julien > Full Name: U. Suesser > Email Address: address@hidden > Organization: self > Package Version: 2.8u1 build date:2010-02-02 22:30 UTC > Operating System: Windows 7 > Hardware: Java: home: C:\Program Files\IDV_2.8u1\jre version: 1.6.0_17 > j3d:1.5.2 fcs (build4) > Description of problem: > > There was an error loading the data: > > Error creating data source:file.grid with: > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/12/000/CMC_glb_PRES_SFC_0_latlon.6x.6_2010081912_P000.grib > Grid data source failed making data set: > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/12/000/CMC_glb_PRES_SFC_0_latlon.6x.6_2010081912_P000.grib > Cant read > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/12/000/CMC_glb_PRES_SFC_0_latlon.6x.6_2010081912_P000.grib: > not a valid NetCDF file. > > Am having issues ready GRIB files from CMC - I'm sure it is something > simple I've overlooked. Both ready from file and a URL results in > the same error message - can you give me any tips with what I am doing > incorrectly? > > Thanks in advance > > /r > U Suesser > > ****************** > Stack trace: > java.io.IOException: Cant read > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/12/000/CMC_glb_PRES_SFC_0_latlon.6x.6_2010081912_P000.grib: > not a valid NetCDF file. > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:754) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:398) > at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:688) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:434) > at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:523) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:89) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1084) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1106) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:471) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1565) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1992) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1909) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1843) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1685) > at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:110) > at > ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1617) > at > ucar.unidata.idv.control.TextDisplayControl$10.run(TextDisplayControl.java:1410) > at ucar.unidata.util.Misc$3.run(Misc.java:1096) > > > Ticket Details =================== Ticket ID: FKS-429497 Department: Support IDV Priority: Normal Status: Open