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.

[netcdf-java] Problem getting VerticalTransform

NetCDF-java folk,

I'm having problems using getVerticalTransform for the variable "w" at
time step 1 for this file:

http://stellwagen.er.usgs.gov/cgi-bin/nph-dods/models/south_car/sc62/his/sc62_his_0000.nc

The variable "w" is recognized as a valid Grid variable using the CDM
checker, and the parameter values look ok, so I'm stumped.

??? Java exception occurred:
java.io.IOException: "Invalid constraint parameters: At least one of
the start, stride or stop
specified do not match the array variable."

        at ucar.nc2.dods.DODSNetcdfFile.readData(DODSNetcdfFile.java:1197)

        at ucar.nc2.Variable._read(Variable.java:919)

        at ucar.nc2.Variable.read(Variable.java:614)

        at ucar.nc2.dataset.VariableDS._read(VariableDS.java:279)

        at ucar.nc2.Variable.read(Variable.java:614)

        at ucar.nc2.Variable.read(Variable.java:552)

        at 
ucar.unidata.geoloc.vertical.VerticalTransformImpl.readArray(VerticalTransformImpl.java:122)

        at 
ucar.unidata.geoloc.vertical.OceanS.getCoordinateArray(OceanS.java:126)


Thanks,
Rich


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: