I noticed archive paths for files stored in github were the absolute local path where the files stored on GCS were paths relative to /app/data/data_cache/. This felt awkward so I decided to use the full GCS URI instead for remote files.
There's for sure a more graceful way to handle this caching behavior (PUDL's layered cache or maybe fsspec) but I figured this was good enough for now.
I noticed archive paths for files stored in github were the absolute local path where the files stored on GCS were paths relative to
/app/data/data_cache/
. This felt awkward so I decided to use the full GCS URI instead for remote files.There's for sure a more graceful way to handle this caching behavior (PUDL's layered cache or maybe fsspec) but I figured this was good enough for now.