Re: [idvusers] ISL spatial subsetting

Mike-

On 3/22/11 3:03 PM, Mike.Umscheid@xxxxxxxx wrote:
I'm in the process of writing some ISL files, and I'm fairly new to
this so please forgive me.  In creating a data source with
the<datasource>  tag, is there an attribute to subset the spatial
domain?  I see the 'times' attribute, but it would be nice to be able
to subset the spatial domain, too.  I guess I could use jython method
to do the loading of a datasource with spatial subsetting, but I like
the ease of ISL language and was wondering if spatial subsetting was
an option in ISL or if I'm just stuck with jython to do this?
Thanks!

Tomorrow's (Thursday, 3/24/2011) nightly IDV build will support the following attributes on <datasource> and <display> tags:

    stridex = the X skip factor (stride)
    stridey = the Y skip factor
    stridez = the Z skip factor
    bbox    = the geographic bounding box (N,W,S,E)

For example:

  <isl>
  <datasource

url="dods://motherlode.ucar.edu:8080/thredds/dodsC/casestudies/idvtest/grids/small_ruc_grid.nc" stridex="1" stridey="2" stridez="1" bbox="40,-113,20,-98"/>
  </isl>

would select every other X gridpoint, every 3rd Y gridpoint,
every other level and data between 40N and 20N and 113W and 98W.

You can use any or all of the attributes. Attributes specified on a <display> tag override those specified on the <datasource> tag. The documentation at:

http://www.unidata.ucar.edu/software/idv/release/nightly/docs/userguide/isl/DataAndDisplays.html

will be updated with the nightly build to show these options.

Don
--
Don Murray
NOAA/ESRL/PSD and CIRES
303-497-3596
http://www.esrl.noaa.gov/psd/people/don.murray/



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