Hi,
Can someone please help me with an ncml error? I have an ncml file
which looks like this:
......
<aggregation dimName="time" type="joinExisting">
......
<netcdf id="357" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/357/20021223-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021223v5-v01.nc.gz"
ncoords="2"/>
<netcdf id="358" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/358/20021224-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021224v5-v01.nc.gz"
ncoords="2"/>
<netcdf id="359" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/359/20021225-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021225v5-v01.nc.gz"
ncoords="2"/>
<netcdf id="360" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/360/20021226-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021226v5-v01.nc.gz"
ncoords="2"/>
<netcdf id="361" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/361/20021227-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021227v5-v01.nc.gz"
ncoords="2"/>
<netcdf id="362" location
="http://data.nodc.noaa.gov/opendap/hyrax/ghrsst/L2P_GRIDDED/AMSRE/REMSS/2002/362/20021228-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021228v5-v01.nc.gz"
ncoords="2"/>
.......
Each of the netcdf files in the location attribute has the dds like this:
Dataset {
Grid {
Array:
Int16 sea_surface_temperature[time = 2][lat = 720][lon = 1440];
Maps:
Int32 time[time = 2];
Float32 lat[lat = 720];
Float32 lon[lon = 1440];
} sea_surface_temperature;
Grid {
Array:
Int16 sst_dtime[time = 2][lat = 720][lon = 1440];
Maps:
Int32 time[time = 2];
Float32 lat[lat = 720];
Float32 lon[lon = 1440];
}
} sst_dtime;
}20021223-AMSRE-REMSS-L2P_GRIDDED_25-amsre_20021223v5-v01.nc.gz;
Now, the problem is when I am issuing an ncml request for the variable
sst_dtime with a stride of 1 or 2 over time variable(e.g. time: 0:1:100 or
time: 0:2:100), it is working fine.
But when I issue a query with a stride of greater than 2(note that each netcdf
layer has a time dimension of size 2)(e.g. time: 0:3:100), I get the following
error:
Error {
code = 500;
message = ""libdap error transmitting DataDDS: Invalid constraint parameters: At least one of the start, stride or stop
specified do not match the array variable."";
};
What is the cause of the error? Please someone throw some light on this.Thanks!
Upendra