Skip to content

Orders SDK Progress Bar not Wrapped in Jupyter Notebook #942

@mkshah605

Description

@mkshah605
Contributor

Expected behavior
When I download an order using the Orders SDK in a jupyter notebook, I should be able to see the download progress bar (regardless of the filename lengths, especially since this is not something we can specify) to check how far my download has progressed.

Actual behavior (describe the problem)
With the current behavior, I'm not able to see the progress due to the filename length, and it is cut off. This is a problem because I can't tell how far my download has progressed or how much time might be remaining. This is specifically an issue within jupyter notebooks. I've included a screenshot of what this currently looks like on my machine

Workaround
One workaround is not specifying the output directory (as this lengthens the path name), but I need the images ina specific directory so this is not really a workaround.

Screenshot 2023-05-02 at 4 11 02 PM

Activity

added this to the 2.0.x: Bug fixes milestone on May 4, 2023
tbarsballe

tbarsballe commented on Sep 5, 2024

@tbarsballe
Contributor

The most useful solution would be to truncate the path such that the tailing portion fits within some max length

Max length could be configured at a global level so that you don't need to pass in options everywhere?

modified the milestones: 2.0.x: Bug fixes and Docs, 2.x.x: Major improvements on Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jreiberkyle@tbarsballe@mkshah605

        Issue actions

          Orders SDK Progress Bar not Wrapped in Jupyter Notebook · Issue #942 · planetlabs/planet-client-python