Skip to content

use latest pangeo docker image - #59

Open
rabernat wants to merge 2 commits into
masterfrom
use-latest-docker
Open

use latest pangeo docker image#59
rabernat wants to merge 2 commits into
masterfrom
use-latest-docker

Conversation

@rabernat

Copy link
Copy Markdown
Member

Attempting to resolve the catalog build error in #58.

@rabernat

Copy link
Copy Markdown
Member Author

@davidbrochart & @martindurant - I tried updating the docker image we are using to validate our intake catalog, and I am now getting some errors with the hydrosheds catalogs.

Any chance you can look into this and figure out why they are failing?

@davidbrochart

Copy link
Copy Markdown
Contributor

Trying to create a fresh conda environment, rasterio doesn't seem to install anymore.

@davidbrochart

Copy link
Copy Markdown
Contributor

Might be related to conda-forge switching to Python 3.8.

@davidbrochart

Copy link
Copy Markdown
Contributor

With the following environment:

conda install python=3.7 ipython intake intake-xarray rasterio gcsfs

That works:

import intake
cat_url = 'https://raw.githubusercontent.com/pangeo-data/pangeo-datastore/master/intake-catalogs/master.yaml' 
cat = intake.Catalog(cat_url)
cat.hydro.hydrosheds_acc.to_dask()

@davidbrochart

Copy link
Copy Markdown
Contributor

Looks like a (temporary) Google authentication problem to me.

@davidbrochart davidbrochart mentioned this pull request Dec 2, 2019
@jhamman

jhamman commented Dec 2, 2019

Copy link
Copy Markdown
Member

I restarted the build here (and updated to the latest image). Neither worked to resolve this. I'm leaning against the temporary auth problem but I don't know where else to look.

@davidbrochart

Copy link
Copy Markdown
Contributor

The tests that are failing are related to the rasterio driver. Back then we worked around the issue by caching the data locally: intake/intake-xarray#31 (comment)
Maybe this doesn't work any more?

@martindurant

Copy link
Copy Markdown

There is no particular reason caching by intake doesn't won't work, although you may find things simpler when using the whole-file caching interface of fsspec directly "filecache".

@davidbrochart

Copy link
Copy Markdown
Contributor

It would be nice to have the pinned version of packages to be able to reproduce.

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.

4 participants