searvey
searvey copied to clipboard
`pandas.Timestamp` with `ns` precision for `endtime` returns empty datasets
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
Can I get assigned this please?
Feel free to make a PR. We will be happy to review it