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

Why is trim_missing=True the default method read_ts ? #40

Open
danhamill opened this issue May 10, 2022 · 2 comments
Open

Why is trim_missing=True the default method read_ts ? #40

danhamill opened this issue May 10, 2022 · 2 comments

Comments

@danhamill
Copy link

Having been caught up on this in several projects, what is the rational for having trim_missing=True in the read_ts method as the default behavior?

In my mind, zero is a valid measurement.

@MikeNeilson
Copy link

MikeNeilson commented May 13, 2022 via email

@danhamill
Copy link
Author

I will have to work out an example to show the unexpected behavior, but I am seeing zeros (not noData or -901.0) being dropped from the beginning or end of a time series with the default trim_missing=True argument.

If a user goes through the effort to provide and exact window to read_ts, I also think the default behavior should be to return everything contained in the window.

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