Skip to content
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

Platform Kernels - Geopanda's not working #26

Open
fbaig opened this issue Jun 7, 2024 · 4 comments
Open

Platform Kernels - Geopanda's not working #26

fbaig opened this issue Jun 7, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@fbaig
Copy link
Contributor

fbaig commented Jun 7, 2024

Problem
Default kernel is Python 3 only without any GIS
No GeoPanda's
No Matplotlib

iguide kernel
GeoPanda's is corrupted? Strange

guide-ewd kernel
Geopanda's cannot read from remote URL

Code

r'https://www2.census.gov/geo/tiger/TIGER2019/STATE/tl_2019_us_state.zip	'
states = gpd.read_file(url_states)

Error
DriverError: '/vsizip/vsicurl/https://www2.census.gov/geo/tiger/TIGER2019/STATE/tl_2019_us_state.zip' does not exist in the file system, and is not recognized as a supported dataset name.

Possible Solution:
Instead of creating separate kernels, is it advisable to reuse CyberGISX kernels?
@nosolls
Mount CyberGISX CVMFS kernels. Run script to make those kernels available

@fbaig fbaig added the bug Something isn't working label Jun 7, 2024
@rkalyanapurdue
Copy link
Collaborator

I think the iguide kernel has some custom packages that weren't available in CyberGISX to get some notebooks to run. We may need to compare the two if we want to go down that route.

@fbaig
Copy link
Contributor Author

fbaig commented Jun 7, 2024

Can we have both CyberGISX's kernels and have iguide kernels as well?

@rkalyanapurdue
Copy link
Collaborator

@nosolls we have geopandas v0.13.0 on the platform; i just checked and version 0.13.2 seems to run this code fine. Can you upgrade the geopandas version?

@nosolls
Copy link
Collaborator

nosolls commented Jul 3, 2024

Sorry about the slow update on this one. The bug with geopandas has been fixed. iguide and iguide-ewd will work with that code. We'll have a much faster way of dealing with these issues once we have a repo up for fixing/installing new packages for CVMFS.

I'll comment on a few things here. The default Python 3 kernel was not supposed to have any extra packages installed. We can add packages here, but we'd need a list of GIS packages we would want.

I spoke to Alex about adding the CyberGIS kernels to I-GUIDE. It is possible to add them. But we're wanting to add versions to the I-GUIDE kernels, and those would be the backup kernels. So the CyberGIS kernels would really act as transitions from CyberGIS to I-GUIDE instead of backup kernels.

I plan on adding the CyberGIS kernels in addition to the versioned I-GUIDE kernels. May need to scale up the CVMFS storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants