[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[THREDDS #YXL-373395]: IndexOutOfBoundsException
- Subject: [THREDDS #YXL-373395]: IndexOutOfBoundsException
- Date: Sat, 13 Apr 2013 09:24:19 -0600
Hi Fan,
I took a look on your file and it looks like the time dimension definition is
causing some confusion. It declares the time axis as the lon axis:
double time(time) ;
time:units = "days since 2000-01-01" ;
time:_CoordinateAxisType = "Lon" ;
time:axis = "T" ;
time:bounds = "time_bnds" ;
time:calendar = "standard" ;
time:long_name = "time" ;
time:standard_name = "time" ;
The attribute time:_CoordinateAxisType has to be time:_CoordinateAxisType =
"Time" ;
If you don't have control on how the file is written you can override the
attribute using ncml:
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"
location="./ta_AIRS.2002.09.01.L3.RetStd030.v5.0.14.0.G07283162057.hdf.nc">
<variable name="time">
<attribute name="_CoordinateAxisType" value="Time"/>
</variable>
</netcdf>
Cheers!
Ticket Details
===================
Ticket ID: YXL-373395
Department: Support THREDDS
Priority: Normal
Status: Open