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

[netCDFJava #UBI-230101]: ucar.ma2.InvalidRangeException

> Hello,
> I am working on Matlab 2017a in windows. I am having a problem
> reading/recognizing all or some of the NetCDF file attached. I used an
> external package (MLToolbox) to read and import the netcdf file. It seems
> that the problem is with netcdf java rather than its functions. When
> loading the file, it throws the following error. Any help is appreciated.
> Java exception occurred:
> ucar.ma2.InvalidRangeException: Illegal Range for dimension 2: last
> requested 32 > max 31
> at ucar.ma2.Section.fill(Section.java:144)
> at ucar.nc2.Variable.read(Variable.java:677)
> at ucar.nc2.Variable.read(Variable.java:623)


I am able to read and access data from your netCDF file without issue
using netCDF-Java 4.6.11.

What matlab command are you using when the error occurs?


Ticket Details
Ticket ID: UBI-230101
Department: Support netCDF Java
Priority: Normal
Status: Open
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.