Skip to content

Demonstrate use of GCS auth helpers #1574

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

raebot
Copy link
Contributor

@raebot raebot commented Jul 19, 2025

This PR demonstrates use of the new GCS auth helpers read_parquet, read_file, and geo_data_frame_to_parquet in a couple files. It removes the need to import gcsfs or google.auth packages and manage auth tokens. The idea here is to provide a few examples and then let analysts begin using these helper functions themselves as they find them useful. I also optimized imports in the files I edited while I was in there.

This PR relates to the helper introduced with this calitp-data-analysis PR.

Resolves #1547

@raebot raebot requested review from amandaha8 and csuyat-dot July 19, 2025 01:11
Copy link

nbviewer URLs for impacted notebooks:

Copy link

nbviewer URLs for impacted notebooks:

Copy link
Contributor

@csuyat-dot csuyat-dot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worked with Rae. Pulled latest commit of explore_sjcog_service.ipynb and was able to read in geojsons from GCS (w/ GCSGeoPandas) and ArcGIS (w/ geopandas). Entire notebook ran with no errors. Good to go.

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

Successfully merging this pull request may close these issues.

Chore - Use the new GCS auth helpers where possible
2 participants