Update pygplates-getting-started.ipynb#7
Update pygplates-getting-started.ipynb#7foreverStudent001 wants to merge 4 commits intoGPlates:masterfrom
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. |
|
Hi @bsim8882, Please see the conversation in this PR regarding the "Data" folder, especially the comment by John #7 (comment) I think we should do what John said
|
|
Hi @jcannon-gplates, Our RA is working on the pygplates notebooks. I think the RA can take care of this issue. |
That'd be great!
That sounds good (to solve the issue of |
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