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

JS2V

JS2V

Name


      JS2V

Purpose


      Read a time (in "Julian seconds") vs value file.

Category


Calling Sequence


      js2v, file, time, data

Inputs


      file = name of file containing time vs value data. in

Keyword Parameters


Outputs


      time = Array of times in "Julian Seconds". out
        (Seconds since 0:00 1 Jan 2000).
      data = Array of values at those time. out

Common Blocks


Notes


      Notes: File format: Lines starting with * or ;, and null
        lines are considered comment lines and ignored.
        Data lines have a date/time string followed by a value
        which must be the last item on the line. Ex:
        Thu Apr 1 09:32:51 1993 23.45
        Date/time strings have Year, Month, Day, and time, with
        the month being a name (at least the first 3 letters).
     
        To interpolate at time t (in Jul. Sec) using these arrays:
        v = interpol(data, time, t)
        PLOT does not work very well with Julian Seconds.
        This is an IDL limitation related to single precision.
        One fix is to plot relative time: plot,ta-ta(0),va
        where ta and va are time and interpolated value arrays.

Modification History


      R. Sterner, 1 Apr, 1993
R. Sterner, 28 Apr, 1993 --- changed from a function to a procedure.
  Copyright (C) 1993, 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