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

Bug: Log files can become too large #207

Closed
10 tasks done
2320sharon opened this issue Dec 11, 2023 · 2 comments
Closed
10 tasks done

Bug: Log files can become too large #207

2320sharon opened this issue Dec 11, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@2320sharon
Copy link
Collaborator

2320sharon commented Dec 11, 2023

A user recently reported that their log file was over 3GB large when they used the zoo workflow. This is not acceptable.
I suspect the fact that the reference shorelines are printed to the log file is partially to blame. Try to ensure the log file doesn't get too large by doing the following:

  • Don't print the reference shorelines

  • Remove unneeded logs

  • print a summary of the shoreline dictionary instead of the entire thing

  • print a summary of the transect dictionary instead of the entire thing
    -- print unique sats
    -- length of each array
    -- 10 unique elements of each array

  • fix the repr for the ROI, Shoreline, Transect

  • minimize prints on the on_click handlers

  • dont print .update_roi_html

  • fix on click handler to not print entire gdf just the roi id clicked

  • fix load feature and add_feature_on_map on map to print just the head and the types of geometries

  • have set settings print the kwargs printed in

@2320sharon 2320sharon added the bug Something isn't working label Dec 11, 2023
@2320sharon 2320sharon self-assigned this Dec 11, 2023
2320sharon added a commit that referenced this issue Dec 12, 2023
2320sharon added a commit that referenced this issue Dec 13, 2023
2320sharon added a commit that referenced this issue Dec 13, 2023
2320sharon added a commit that referenced this issue Dec 13, 2023
@2320sharon
Copy link
Collaborator Author

2320sharon commented Dec 14, 2023

Other Maintenance Tasks

  • No longer download tier 2 imagery

  • No longer save blank transect shoreline intersections to time series csv files

@2320sharon
Copy link
Collaborator Author

Closed in version 1.1.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant