gnssrefl.quicklib module

gnssrefl.quicklib.trans_time(tvd, ymd, convert_mjd, ydoy, xcol, ycol)

translates time for quickplt

Parameters:
  • tvd (str) – plain text file

  • ymd (bool) – first three columns are year,month,day, hour, minute,second

  • convert_mjd (bool) – convert from MJD (column 1 designation) time is datetime obj

  • ydoy (bool) – first two columns are year and day of year time is datetime obj

  • xcol (int) – column number for x-axis in python speak

  • ycol (int) – column number for y-axis in python speak

Returns:

  • tval (list) – floats or datetime

  • yval (list) – floats ?