I grabbed your dataset and I'm seeing the same problem on my local TDS
when I make the request you gave. Its running into a problem in the
ncWMS code that reads the data from the dataset and maps it onto the
desired image pixels. I'm not that familiar with this code so I'll check
with Jon on this one. Also, the TDS code is not up to date with the
ncWMS code so there might already be a fix for the problem.
I'll let you know what we find and when we'll have a fix for the TDS.
Heiko Klein wrote:
> I'm currently testing ncWMS. About one year ago (version 4.0.9), this
> worked nicely with the following request
> When I try upgrading to a recent version of thredds (4.0.24 or 4.1) I
> run into severe problems: HTTP Status 500 - Internal Server Error
> I had to make some changes in the setup (threddsConfig.xml) to get
> around the 'service not enable' message, i.e. the service-name needs to
> be wms, not wmsService, and palletes-dir needs to be defined, and for
> 4.1 ogcMetaXML needs to be defined.
> The log gives:
> thredds.server.wms.WMSController - Request Completed - 500 - -1 - 2430
> java.lang.ArrayIndexOutOfBoundsException: 0
> at ucar.ma2.Index.setDim(Index.java:562)
> at ucar.ma2.Index.set(Index.java:651)
> at uk.ac.rdg.resc.ncwms.datareader.DataChunk.getValue(DataChunk.java:67)
> (see attached file for more info)
> The file can be found at
> For the same request, I get a nice picture if I downgrade to thredds 4.0.9.
> Any ideas?
> Best regards,