get_music_time_range_str: Get the time range string for MUSIC API.

Description Usage Arguments Value Examples

View source: R/utility.R

Description

Get the time range string for MUSIC API.

Usage

1
get_music_time_range_str(startTimeStr, num = 36, units = "hour")

Arguments

startTimeStr

: start time string, UTC, "YYYYMMDDHH"

num

: the time range number.

units

: the time units to be used, like "day", "hour", "second", ...

Value

character.

Examples

1
2
3
  startTimeStr <- "2020021400"
  get_music_time_range_str(startTimeStr)
  

nmcdev/nmcMetIO documentation built on Jan. 30, 2022, 5:09 a.m.