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.
Ashwinee, Did you try our earlier suggestions? Here is the text from our previous conversation. ----------------- We spent quite a bit more time looking at this file and there are many problems. 0/ The data file says that it is "CF-1.4", but it is not. 1/ The attributes for the Mercator projection are defined are defined globally, but they should be defined with the rcm_map variable which defines the grid mapping. The attached ncml file fixes, at least, the projection problems. 2/ There are no data relating to the variables (e.g., "maximum surface temperature"). In particular the time dimension for the variables are zero. I am able to open the file by pointing to the attached ncml file in the IDV, but I cannot display much on account of problem 2/. But I can render or visualize the some of the 2D fields (e.g., "Domain land/ocean mask"). In summary, the file is not CF compliant even though it claims to, the projection is not defined correctly, and there are no data in the data variables. ----------------- Best, Unidata IDV Support > Full Name: Ashwinee > Email Address: address@hidden > Organization: University of mauritius > Package Version: 5.0u2 build date:2014-11-12 20:09 UTC > Operating System: Windows 7 > Hardware: Java: home: C:\Program Files (x86)\IDV_5.0u2\jre version: 1.7.0_51 > j3d:1.6.0-pre9-daily-experimental daily > Description of problem: There was an error loading the data: > Error creating data source:file.grid with: I:\mauritius_ATM.2000080100.nc > Grid data source failed making data set: I:\mauritius_ATM.2000080100.nc > Mercator projection must have attribute standard_parallel or > scale_factor_at_projection_origin > Should we convert the nc file to something? > > ****************** > Stack trace: > java.lang.IllegalArgumentException: Mercator projection must have attribute > standard_parallel or scale_factor_at_projection_origin > at > ucar.nc2.dataset.transform.Mercator.makeCoordinateTransform(Mercator.java:63) > at > ucar.nc2.dataset.CoordTransBuilder.makeCoordinateTransform(CoordTransBuilder.java:217) > at > ucar.nc2.dataset.CoordSysBuilder.makeCoordinateTransforms(CoordSysBuilder.java:930) > at > ucar.nc2.dataset.CoordSysBuilder.buildCoordinateSystems(CoordSysBuilder.java:516) > at ucar.nc2.dataset.NetcdfDataset.enhance(NetcdfDataset.java:469) > at ucar.nc2.dataset.NetcdfDataset.<init>(NetcdfDataset.java:1446) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:427) > at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:516) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:117) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1160) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1182) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:502) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1602) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1804) > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943) > at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656) > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525) > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at ucar.unidata.util.Misc$2.run(Misc.java:1215) > at ucar.unidata.util.Misc$3.run(Misc.java:1243) > > > Ticket Details =================== Ticket ID: ZQI-100044 Department: Support IDV Priority: Normal Status: Closed