Replies: 1 comment 11 replies
-
Okay, some questions to debug with...
import os
print(os.environ["DAGSTER_HOME"])
# '/Users/zane/code/catalyst/dagster-home'
print(os.environ["PUDL_OUTPUT"])
# '/Users/zane/code/catalyst/pudl-output' Similarly, from within the notebook are you able to import libraries that should be available in import dagster
import pudl |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I tackled my first PUDL ticket here (relevant issue here). For the most part things went pretty smooth. But I was never able to actually load the asset locally into a notebook with:
So I had to do a sorta clunky workaround (you can see what I mean in
notebooks/work-in-progress/ferc714-core.ipynb
in my merged PR). Doing that unblocked me but I came back afterward to try and figure out how to load assets using the logic posted above. I ended up trying a few things including rebuilding my pudl environment from scratch (which had its own complications) but nothing worked. Am hoping to get some advice/potential solutions here on how I can set up my machine so I can easily load assets into notebooks/scripts for local development.Also, for context, I have all the raw/SQLite PUDL data from the ETL in a directory called
pudl-data
that sits next to thepudl
repo on my machine. So mydagster_home
lives here:And
pudl_output
lives here:And my
pudl
repo lives here:Beta Was this translation helpful? Give feedback.
All reactions