NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: AddeGridReader - reducing grid resloution

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


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