Hi all:
I think, I found a way around - by appending a key word "skip=2" ( for 
skipping every other row/col) to the query string.
Thanks
Mey Manickam
M.Manickam@xxxxxxxxxx wrote:
Hi all:
I am using AddeGridReader to read a model grid.  I want to reduce the 
grid resolution.  I tried using subsect key word in the query string 
to the adde server.
For example passing some thing like:
Adde query...: 
adde://rtds3.bom.gov.au/grid?group=RTDB2&descr=GASP&lev=250&par=U 
V&lat=-30.0 30.0&lon=70.0 170.0&frange=0 180000 
60000&num=ALL&debug=TRUE&subsect=-30.0 30.0 70.0 170.0 2 2
Here the subsect keyword defines a subsected region of:
southern lat: -30.0, nlat: 30.0, eastern lon: 70.0, wlon: 170.0, row 
reduction interval:2 and a column reduction interval:2
The debug output reads like:
host from URL: rtds3.bom.gov.au
file from URL: /grid?group=RTDB2&descr=GASP&lev=250&par=U V&lat=-30.0 
30.0&lon=70.0 170.0&frange=0 180000 
60000&num=ALL&debug=TRUE&subsect=-30.0 30.0 70.0 170.0 2 2
Service = gget
uCmd=group=rtdb2&descr=gasp&lev=250&par=u v&lat=-30.0 30.0&lon=70.0 
170.0&frange=0 180000 60000&num=all&debug=true&subsect=-30.0 30.0 70.0 
170.0 2 2
subset=-30.0 30.0 -170.0 -70.0 1 1 LATLON
RTDB2 GASP  999999   LEV=250 PARM=U V FRANGE=0 180000 60000 NUM=ALL 
TRACE=0 SUBSET=-30.0 30.0 -170.0 -70.0 1 1 LATLON VERSION=A
I am not getting the grid resolution I want and the values requested 
appeared to be overwritten with the default values of (1 and 1).
Should I be using any other keyword other than "subsect" ?
Thanks.
Mey Manickam