Skip to content

📝 Tutorial is missing files #245

@frank1010111

Description

@frank1010111

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions