Basic GCP Utils

flood_forecast.gcp_integration.basic_utils.get_storage_client() → google.cloud.storage.client.Client[source]

Utility function to return a properly authenticated GCS storage client whether working in Colab, CircleCI, or other environment.

flood_forecast.gcp_integration.basic_utils.upload_file(bucket_name: str, file_name: str, upload_name: str, client: google.cloud.storage.client.Client)[source]
flood_forecast.gcp_integration.basic_utils.create_file_environ()[source]