>  Docs Center  >  Libraries  >  Motley  >  MGH_DT_MONTH_AVG

MGH_DT_MONTH_AVG

MGH_DT_MONTH_AVG

Name


  MGH_DT_MONTH_AVG

Purpose


  Given a time series, calculate monthly averages.

Calling Sequence


  mgh_dt_month_avg, time, value, time_month, value_month

Positional Parameters


  time (input, numeric vector)
    Time for the input series in Julian Days.
  value (input, numeric vector)
    Value for the input series. Must have the same number of elements
    as time.
  time_month (output, numeric vector)
    Time for the output series in Julian Days, representing consecutive mid-month times.
  value_month (output, numeric vector)
    Values for the output series, representing 1-month average values.
###########################################################################
  Copyright (c) 2015 NIWA:
  http://www.niwa.co.nz/
  Licensed under the MIT open source license:
  http://www.opensource.org/licenses/mit-license.php
###########################################################################

Modification History


  Mark Hadfield, 2015-02:
    Written.



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