>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  SELECT_INTERVALS

SELECT_INTERVALS

SELECT_INTERVALS

Name


      SELECT_INTERVALS

Purpose


      Select all intervals within a given range.

Category


Calling Sequence


      ind = select_intervals(rlo,rhi,ilo,ihi)

Inputs


      rlo = start time of selection range. in
      rhi = end time of selection range. in
      ilo = array of interval start times. in
      ihi = array of interval end times. in

Keyword Parameters


Keywords


        /ANY return an interval if any of it is in range (def).
        /MOST return an interval if most of it is in range.
        /ALL return an interval only if all of it is in range.

Outputs


      ind = returned array of interval indices. out
        If no intervals are within selection range ind=-1.

Common Blocks


Notes


      Notes: Values must be numeric. May be used to select
        which of a list of short time intervals fall within
        a given time span.

Modification History


      R. Sterner, 1997 Apr 3
  Copyright (C) 1997, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us