[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #KQC-444299]: I probably don't have my NetCDF file setup correctly...

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.


  • Subject: [IDV #KQC-444299]: I probably don't have my NetCDF file setup correctly...
  • Date: Sun, 19 Apr 2009 21:24:53 -0600

Tim, you've asked 4 questions on 4 different lists; all of them come to me. Ive 
answered you twice, with some questions to you that you havent answered. Rich 
Signell also took time to answer you, with no response from you ASAIK. Can you 
explain yourself?


> Full Name: Tim Cera
> Email Address: address@hidden
> Organization: St. Johns River Water Management District
> Package Version: 2.6u2 build date:2009-02-13 19:03 UTC
> Operating System: Windows XP
> Hardware: Java: home: c:\Program Files\Java\jre6 version: 1.6.0_13 j3d:1.5.2 
> fcs (build4)
> Description of problem: There was an error loading the data:
> Error creating data source:netcdf.grid with: T:\work\efdc_src\test\efdcout.nc
> GridCoordSystem.findXYindexFromCoord
> 
> Here is my CDL:
> 
> netcdf efdcout {
> dimensions:
> IC = 259 ;
> JC = 121 ;
> xc = 259 ;
> yc = 121 ;
> nv = 4 ;
> time = UNLIMITED ; // (2 currently)
> variables:
> int transverse_mercator ;
> transverse_mercator:grid_mapping_name = "transverse_mercator" ;
> transverse_mercator:latitude_of_projection_origin = 0. ;
> transverse_mercator:longitude_of_central_meridian = -81. ;
> transverse_mercator:false_easting = 500000. ;
> transverse_mercator:false_northing = 0. ;
> transverse_mercator:scale_factor_at_central_meridian = 0.9996 ;
> float WSElevation(time, yc, xc) ;
> WSElevation:standard_name = "height_above_reference_ellipsoid" ;
> WSElevation:units = "m" ;
> WSElevation:coordinates = "x y" ;
> WSElevation:grid_mapping = "transverse_mercator" ;
> float x(yc, xc) ;
> x:standard_name = "projection_x_coordinate" ;
> x:units = "m" ;
> x:bounds = "x_bnds" ;
> float y(yc, xc) ;
> y:standard_name = "projection_y_coordinate" ;
> y:units = "m" ;
> y:bounds = "y_bnds" ;
> float x_bnds(yc, xc, nv) ;
> float y_bnds(yc, xc, nv) ;
> double time(time) ;
> time:standard_name = "time" ;
> time:units = "days since 1995-1-1 0:0:0" ;
> 
> // global attributes:
> :Conventions = "CF-1.0" ;
> }
> 
> 
> ******************
> Stack trace:
> java.lang.IllegalStateException: GridCoordSystem.findXYindexFromCoord
> at ucar.nc2.dt.grid.GridCoordSys.findXYindexFromCoord(GridCoordSys.java:697)
> at ucar.nc2.dt.grid.GridCoordSys.findXYindexFromLatLon(GridCoordSys.java:712)
> at ucar.nc2.dt.grid.GridCoordSys.getLatLonBoundingBox(GridCoordSys.java:997)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.makeDataChoiceFromGeoGrid(GeoGridDataSource.java:1593)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataChoices(GeoGridDataSource.java:1128)
> at ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:1725)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1472)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1948)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1865)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1799)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1772)
> at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:839)
> at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:646)
> at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:515)
> at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:537)
> 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:1010)
> at ucar.unidata.util.Misc$3.run(Misc.java:1038)
> 
> 
> 


Ticket Details
===================
Ticket ID: KQC-444299
Department: Support netCDF Java
Priority: Normal
Status: Open