Re: [thredds] Problems with ncwms when upgrading from thredds 4.0.9 to 4.0.24 or 4.1

  • To: Heiko Klein <Heiko.Klein@xxxxxx>
  • Subject: Re: [thredds] Problems with ncwms when upgrading from thredds 4.0.9 to 4.0.24 or 4.1
  • From: Robb Kambic <rkambic@xxxxxxxxxxxxxxxx>
  • Date: Fri, 29 Jan 2010 10:46:09 -0700 (MST)
On Fri, 29 Jan 2010, Heiko Klein wrote:

Hei,

I'm currently testing ncWMS. About one year ago (version 4.0.9), this
worked nicely with the following request

http://localhost:8081/thredds/wms/data/met.no/hirlam12/
wam_nsea.fc.20090604.nc?REQUEST=GetMap&LAYERS=significant_wave_height&PALETTE=redblue&SERVICE=WMS&FORMAT=image/png&VERSION=1.3.0&CRS=EPSG:4326&BBOX=-30,-60,30,90&WIDTH=400&HEIGHT=400&STYLES=BOXFILL/ncview

Hi Heiko,

There has been some modifications on the hybrid code that may of caused this problem. Can you send/make available your file: wam_nsea.fc.20090604.nc as a test case?

Thanks,
Robb...



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)
        at
uk.ac.rdg.resc.ncwms.datareader.DefaultDataReader.populatePixelArray(DefaultDataReader.java:209)

(see attached file for more info)

The file can be found at
http://pastebin.met.no/pastebin/cgi-bin/file?id=e8a38071ddc1f4c21d0687d09e2cde4428cf13a8/wam_nsea.fc.20090604.nc

For the same request, I get a nice picture if I downgrade to thredds 4.0.9.

Any ideas?

Best regards,

Heiko




===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
===============================================================================



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