You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve input/output options for blockm* and grdtrack #1099
Improve the input options for blockmedian, blockmode, and blockmean from only supporting pandas.DataFrame or file to supporting a file, matrix, pandas.DataFrame, or x/y/z.
Improve the output options to support pandas.DataFrame or a file, independent of the input choice (current implementation requires outfile if a data file is provided as the input).
Are you willing to help implement and maintain this feature? Yes
I'll take the blame for this one. Just for context, the " pd.DataFrame in, pd.DataFrame out; filename in, filename out" restriction was added in a37fb0a when I was wrapping the grdtrack function at #308. Some of the blockmedian code was based on grdtrack, and was not really questioned ever since.
So we should also update the grdtrack code as well to have the same I/O design. I actually had a friend using grdtrack last week who would have loved to have file-in and pandas.DataFrame-out for grdtrack so I'll work on refactoring grdtrack while @meghanrjones can work on the blockm* I/O refactor.
Activity
weiji14 commentedon Mar 22, 2021
I'll take the blame for this one. Just for context, the " pd.DataFrame in, pd.DataFrame out; filename in, filename out" restriction was added in a37fb0a when I was wrapping the
grdtrackfunction at #308. Some of theblockmediancode was based ongrdtrack, and was not really questioned ever since.So we should also update the
grdtrackcode as well to have the same I/O design. I actually had a friend usinggrdtracklast week who would have loved to have file-in and pandas.DataFrame-out forgrdtrackso I'll work on refactoringgrdtrackwhile @meghanrjones can work on theblockm*I/O refactor.[-]Improve input/output options for blockm*[/-][+]Improve input/output options for blockm* and grdtrack[/+]maxrjones commentedon Jun 19, 2021
@weiji14, do you mind if I work on a PR for x/y input for grdtrack?
maxrjones commentedon Jun 23, 2021
Just an update - I will hold off until after #1353 and #1336 are completed to submit the x/y input PR for grdtrack.
seisman commentedon Feb 29, 2024
The issue will be tracked in #2731 and #1318. Closing.