datetime_to_float

function of dascore.io.terra15.utils source

datetime_to_float(
    dt ,
)

Convert a datetime-like object to a float (timestamp).