-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update pygplates-getting-started.ipynb #7
base: master
Are you sure you want to change the base?
Conversation
in getting started notebook, there is an issue with path name which will result in this error: OpenFileForReadingError: Error opening file 'Data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz' for reading` to get things to run properly, change path name from Data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz to ../data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz
'pwd' can be replaced by user's pwd full path to avoid access errors (HTTP 403: Forbidden). Stating this in the readme might help someone
fix path and add "."
again another issue where "Data/" path needs to be changed to "../data"
It looks like there's already a symlink Data pointing to However, whether or not that git file actually gets converted to a symlink in the filesystem (when you checkout from git) seems to depend on the And so, for me, @michaelchin what are your thoughts on this? Should we remove the symlink (and change |
I vaguely recall that the purpose of "Data" symlink was to workaround a problem. In certain setup(I cannot remember the details now, maybe docker volume mount, maybe something else ...), the "../" is not accessible. So the symlink "Data" was created to workaround the problem. I am OK with changing "Data" to "../data", although I am not sure if we should create a variable "DATA_ROOT" or something alike to allow users to change the path easily. |
And in powershell on Windows, the |
Ah right, I forgot about Docker. I can see that being a problem.
Actually maybe it's easier to keep it as is. But I'm fine either way. If keeping as is, then can just document that if the Things like |
We had a public GPlate tutorial notebook server before. I used '/tmp/tmp.shp' because I mounted the notebook volume in readonly mode to keep the files safe. However, it is very difficult to keep the public server safe no matter what. Later we decided to take down the server. With the public server is gone, we can just create a "tmp" folder in the current working directory. |
in getting started notebook, there is an issue with path name which will result in this error:
OpenFileForReadingError: Error opening file 'Data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz' for reading`
to get things to run properly, change path name from Data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz to ../data/Seton_etal_ESR2012_Coastlines_2012.1_Polygon.gpmlz