Skip to content

We should remove arbitrary start_utc - pd.Timedelta("5T") #57

@simlmx

Description

@simlmx

We have an arbitrary timestamp adjustment that might make sense for one PV provider, but probably not in general.

pv_yield_df["start_datetime_utc"] = pv_yield_df["datetime_utc"] - pd.Timedelta("5T")

Perhaps we could add an argument to change it in save_to_pv_site_database, and it should default to 0 (less surprising than "- 5 min")?

This is for the "start" timestamp, and If I'm not mistaken, the "end" timestamp is also tweak later in the process. We should probably take care of that one at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions