Skip to content

Improve input/output options for blockm* and grdtrack #1099

Closed

Description

@maxrjones

Description of the desired feature

Originally posted by @weiji14 in #1092 (comment)

  • 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

Activity

  1. added
    enhancement
    on Mar 22, 2021
  2. weiji14 commented on Mar 22, 2021

    @weiji14
    Member

    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.

  3. self-assigned this
    on Mar 23, 2021
  4. self-assigned this
    on Apr 6, 2021
  5. changed the title [-]Improve input/output options for blockm*[/-] [+]Improve input/output options for blockm* and grdtrack[/+] on Apr 6, 2021
  6. maxrjones commented on Jun 19, 2021

    @maxrjones
    MemberAuthor

    @weiji14, do you mind if I work on a PR for x/y input for grdtrack?

  7. maxrjones commented on Jun 23, 2021

    @maxrjones
    MemberAuthor

    Just an update - I will hold off until after #1353 and #1336 are completed to submit the x/y input PR for grdtrack.

  8. added this to the 0.6.0 milestone on Oct 31, 2021
  9. modified the milestones: 0.6.0, 0.6.1 on Mar 13, 2022
  10. modified the milestones: 0.6.1, 0.7.0 on Mar 18, 2022
  11. modified the milestones: 0.7.0, 0.8.0 on Jun 23, 2022
  12. modified the milestones: 0.8.0, 0.9.0 on Dec 11, 2022
  13. modified the milestones: 0.9.0, 0.10.0 on Mar 16, 2023
  14. removed this from the 0.10.0 milestone on Aug 29, 2023
  15. seisman commented on Feb 29, 2024

    @seisman
    Member

    The issue will be tracked in #2731 and #1318. Closing.

  16. modified the milestone: 0.12.0 on Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions