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

📝 Tutorial is missing files #245

Open
frank1010111 opened this issue Jan 17, 2025 · 1 comment
Open

📝 Tutorial is missing files #245

frank1010111 opened this issue Jan 17, 2025 · 1 comment

Comments

@frank1010111
Copy link
Collaborator

Testing out the tutorial,

from welly import Well

well = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS')

returns an HTTP error:

File ~/.local/share/uv/python/cpython-3.13.0-linux-x86_64-gnu/lib/python3.13/urllib/request.py:533, in OpenerDirector.error(self, proto, *args)
    [532](https://file+.vscode-resource.vscode-cdn.net/home/frank/github/welly/tutorial/~/.local/share/uv/python/cpython-3.13.0-linux-x86_64-gnu/lib/python3.13/urllib/request.py:532) args = (dict, 'default', 'http_error_default') + orig_args
--> [533](https://file+.vscode-resource.vscode-cdn.net/home/frank/github/welly/tutorial/~/.local/share/uv/python/cpython-3.13.0-linux-x86_64-gnu/lib/python3.13/urllib/request.py:533) return self._call_chain(*args)
...
    [486](https://file+.vscode-resource.vscode-cdn.net/home/frank/github/welly/tutorial/~/github/welly/welly/las.py:486) except error.HTTPError as e:
--> [487](https://file+.vscode-resource.vscode-cdn.net/home/frank/github/welly/tutorial/~/github/welly/welly/las.py:487)     raise Exception('Could not retrieve url: ', e)
    [489](https://file+.vscode-resource.vscode-cdn.net/home/frank/github/welly/tutorial/~/github/welly/welly/las.py:489) return text_file

Exception: ('Could not retrieve url: ', <HTTPError 403: 'Forbidden'>)

The geocomp AWS URL is used in the following places

❯ rg geocomp.s3.amazonaws.com
docs/_userguide/Wells.ipynb
95:    "p129 = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS')\n",
150:    "p129 = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS', remap=remap)\n",
453:    "p130 = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-130.LAS')\n",
455:    "dev = np.loadtxt('https://geocomp.s3.amazonaws.com/data/P-130_deviation_survey.csv',\n",

docs/_userguide/Projects.ipynb
121:    "                    'https://geocomp.s3.amazonaws.com/data/P-130.LAS',\n",
122:    "                    'https://geocomp.s3.amazonaws.com/data/R-39.las',\n",

docs/_userguide/Quick_start.ipynb
77:    "project = welly.read_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS')\n",
1559:    "strip = Striplog.from_image('https://geocomp.s3.amazonaws.com/data/P-129_280_1935.png', 280, 1935, legend=legend)\n",

docs/_userguide/Curves.ipynb
70:    "p129 = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS')"

tutorial/01_Well.ipynb
89:    "well = Well.from_las('https://geocomp.s3.amazonaws.com/data/P-129.LAS')\n",

None of these files seem to be available in the github repo, with the exception of P-129_280_1935.png and P-130_deviation_survey.csv.

@frank1010111
Copy link
Collaborator Author

I've found P-129, I think, at https://raw.githubusercontent.com/agilescientific/xlines/refs/heads/master/data/P-129.LAS
No sign of P-130 yet.

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

No branches or pull requests

1 participant