-
Notifications
You must be signed in to change notification settings - Fork 3
Behavior across env builds #46
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
Comments
trying to get
Using env built from
|
I'm trying to reprodiuce with |
Shoot sorry, I didn't push an updated file of that but I had to add aiohttp, requests, pyarrow.parquet, geoviews-core and xvec. |
Opened dask/dask#11853 |
I don't understand how this ever worked but if there's an env that works, can we just move forward with that? |
i'm confused on this too; it seems to work for envs built from https://github.com/e-marshall/cloud-open-source-geospatial-datacube-workflows/blob/main/book/geospatial_datacube_tutorial_env.yaml and https://github.com/e-marshall/cloud-open-source-geospatial-datacube-workflows/blob/main/book/tutorial_environment_book.yaml but these are messes of env files. i've tried to create fresh envs matching the version of relevant pkgs from those files and haven't been able to produce the 'working' behavior. i'll keep troubleshooting this tomorrow |
very weird, another pragmatic approach would be to subset to the variables that you need for the notebook. THat may help |
^ that sounds good, i didn't get a chance to work on this today but i'll try to tomorrow |
So if I'm following the discussion and linked dask issue correctly, it seems that:
With these changes notebook 5 is running well for me! Apologies for missing flox originally when copying the old environments over here @e-marshall! I'll open a PR with an update. I believe notebook 4 could still require significantly less RAM in a few ways: Just removing dask completely :)(#38 (comment)), subset to only the variables you're working with, or reduce figure resolution. |
🤦Sorry @e-marshall I just pushed to main accidentally, I thought I was on a fork/separate branch 8cdb6af . I can revert it but maybe it's OK? Since this is nearing completion might be time to protect the main branch https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule (require pull request)
Notebook 4 starts with a compressed subset of the full version: https://e-marshall.github.io/cloud-open-source-geospatial-datacube-workflows/itslive/nbs/4_exploratory_data_analysis_single.html#load-raster-data-and-visualize-with-vector-data |
thanks @scottyhq !! I had missed flox too when trying to recreate it! thanks for the tips re nb 4. friday i played around with saving the figure to file rather than showing the figure output and clearing the variables, i'll also make sure to subset to just a few variables / remove dask. thank you both for your help with this! |
nb4 ram should be fixed in #49 which removes dask and unnecessary variables. using 'jupyter-resource-usage' extension looks like this should now use < 5 gb ram. going to close this issue for now unless something else comes up. thank you all for your help! |
Expanding on discussion from #44
Have tried running the book in 3 different envs:
Behavior of different envs
xr.resample()
operations in tutorial 1, nb 5.pixi.toml
has xr 2025.1.2The text was updated successfully, but these errors were encountered: