Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas.Timestamp with ns precision for endtime returns empty datasets #117

Open
pmav99 opened this issue Nov 2, 2023 · 2 comments
Open
Assignees

Comments

@pmav99
Copy link
Member

pmav99 commented Nov 2, 2023

ioc = searvey.get_ioc_stations()

ns_ts = pd.Timestamp("2023-01-01T00:00:00.123456789")
us_ts = pd.Timestamp("2023-01-01T00:00:00.123456")

ds = searvey.get_ioc_data(
    ioc[ioc.ioc_code=="acap2"],
    endtime=ns_ts,
    period=1,
    truncate_seconds=False,
    disable_progress_bar=True,
)
ds  # empty!!!!!

ds = searvey.get_ioc_data(
    ioc[ioc.ioc_code=="acap2"],
    endtime=us_ts,
    period=1,
    truncate_seconds=False,
    disable_progress_bar=True,
)
ds
@pmav99 pmav99 self-assigned this Nov 2, 2023
@abdu558
Copy link
Contributor

abdu558 commented Apr 2, 2024

Can I get assigned this please?

@pmav99
Copy link
Member Author

pmav99 commented Apr 2, 2024

Feel free to make a PR. We will be happy to review it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants