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

[THREDDS #YXL-373395]: IndexOutOfBoundsException



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


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.