ymd2tid: Transform a date into a time_id index

Description Usage Arguments Value Author(s)

Description

Transform a date into a time_id index

Usage

1
ymd2tid(ymd, origin, period, yearly)

Arguments

ymd

An int. A YYYYMMDD date

origin

An int. A YYYYMMDD date. The day when the time_id == 0

period

An int. The number of days between observations

yearly

A boolean. Do the dates yearly match January the 1st?

Value

An integer. The time_id matching ymd or 0 is ymd doesn't match

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/scidbutil documentation built on May 24, 2019, 2:48 p.m.