[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDFJava #QVG-480070]: Dimension length =0 must be > 0?
- Subject: [netCDFJava #QVG-480070]: Dimension length =0 must be > 0?
- Date: Wed, 07 Oct 2009 17:44:16 -0600
problem is obviously an unlimited dimension of length = 0. trying to clarify if
thats legal in opendap - may take a while to fix.
> When I try to do a "ncdump" in ToolsUI 4.1 of this OpenDAP URL
> http://ourocean.jpl.nasa.gov:8080/thredds/dodsC/ecmwf/Pacific_12.5/grid/pacific_roms_grd.nc
> I get:
>
> SEVERE: NetcdfDataset.open cant open
> http://ourocean.jpl.nasa.gov:8080/thredds/d
> odsC/ecmwf/Pacific_12.5/grid/pacific_roms_grd.nc
> java.lang.IllegalArgumentException: Dimension length =0 must be > 0
>
> Yet when use "ncdump" from netcdf 4.1 (with dap enabled) on this
> OpenDAP URL, it works fine.
>
> rsignell@marlin:/pikmin/raid1/home/rsignell/bin$ ncdump -h
> http://ourocean.jpl.
> nasa.gov:8080/thredds/dodsC/ecmwf/Pacific_12.5/grid/pacific_roms_grd.nc
> netcdf pacific_roms_grd {;
> dimensions:psi = 1521 ;
> bath = UNLIMITED ; // (0 currently)
> eta_psi = 1089 ;
> eta_rho = 1090 ;
> variableeta_u = 1090 ;
> eta_v = 1089 ; ;
> one = 1 ;l:long_name = "domain length in the XI-direction" ;
> stringdim64 = 64 ; "meter" ;
> xi_psi = 1521 ;;
> xi_rho = 1522 ;_name = "domain length in the ETA-direction" ;
> xi_u = 1521 ;its = "meter" ;
> xi_v = 1522 ;in(one) ;
> variables: depthmin:long_name = "Shallow bathymetry clipping depth" ;
> double xl(one) ;:units = "meter" ;
> double dxl:long_name = "domain length in the XI-direction" ;
> xl:units = "meter" ; "Deep bathymetry clipping depth" ;
> double el(one) ;:units = "meter" ;
> char sphel:long_name = "domain length in the ETA-direction" ;
> el:units = "meter" ;= "Grid type logical switch" ;
> ....
>
>
> --
> Dr. Richard P. Signell (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
>
>
Ticket Details
===================
Ticket ID: QVG-480070
Department: Support netCDF Java
Priority: Normal
Status: Open