Skip to content

Use of seconds in date_to_number function #3

@ecaas

Description

@ecaas

The date_to_number function takes in an array of length 6, expecting (year,month,day,hour,minute,second) to calculate days since a given reference year.

The first dimension of date_data array is also length 6, however the 6th item is "datenum", not seconds. This can easily cause confusion if date_data is used in the date_to_number function. It is also not consistent with NORTRIP_multiroad, where the 6th item of the first dimension of date_data is seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions