René's URL Explorer Experiment


Title: Python pdal reader driver inference failure with filespec · Issue #197 · PDAL/python · GitHub

Open Graph Title: Python pdal reader driver inference failure with filespec · Issue #197 · PDAL/python

X Title: Python pdal reader driver inference failure with filespec · Issue #197 · PDAL/python

Description: Describe the bug Using python pdal, the Reader automatic driver inference based on the input filename fails using filespec. Sample code: pipeline = pdal.Reader( filename={ "path": "https://some_api.com/path/to/file.laz", "headers": {'Aut...

Open Graph Description: Describe the bug Using python pdal, the Reader automatic driver inference based on the input filename fails using filespec. Sample code: pipeline = pdal.Reader( filename={ "path": "https://some_api...

X Description: Describe the bug Using python pdal, the Reader automatic driver inference based on the input filename fails using filespec. Sample code: pipeline = pdal.Reader( filename={ "path": "h...

Opengraph URL: https://github.com/PDAL/python/issues/197

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python pdal reader driver inference failure with filespec","articleBody":"**Describe the bug**\nUsing python pdal, the `Reader` automatic driver inference based on the input filename fails using filespec.\n\nSample code:\n```python\npipeline = pdal.Reader(\n    filename={\n        \"path\": \"https://some_api.com/path/to/file.laz\",\n        \"headers\": {'Authorization': 'Bearer XXX'}\n    }\n).pipeline()\n```\n\nError message:\n\n> infer_reader_driver(): incompatible function arguments. The following argument types are supported:\n>    1. (arg0: os.PathLike | str | bytes) -> str\n> \n>Invoked with: {'path': 'https://some_api.com/path/to/file.laz', 'headers': {'Authorization': 'Bearer XXX'}}\n\n**Expected behavior**\nThe driver inference should be made on `filename[\"path\"]` instead of the whole filespec `filename` and thus be able to guess that the LAS reader is needed.\n\nNote that the behavior is correct when using command line `pdal pipeline`.\n\n**System/installation information:**\n\u003cdetails>\n\n`$ uname -a`:\n```\nLinux ALTALPT119 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun  5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux\n```\n\n`$ pdal --version`:\n```\npdal 2.9.3 (git-version: 8c2e7d)\n```\n  \n`$ conda list`:\n```\nlibpdal                    2.9.3            h260171b_0          conda-forge\nlibpdal-arrow              2.9.3            hdea062b_0          conda-forge\nlibpdal-core               2.9.3            h9d23c72_0          conda-forge\nlibpdal-cpd                2.9.3            h2e8a393_0          conda-forge\nlibpdal-draco              2.9.3            h2e8a393_0          conda-forge\nlibpdal-e57                2.9.3            h1f3591b_0          conda-forge\nlibpdal-hdf                2.9.3            h01cf3b3_0          conda-forge\nlibpdal-icebridge          2.9.3            h01cf3b3_0          conda-forge\nlibpdal-nitf               2.9.3            h811f341_0          conda-forge\nlibpdal-pgpointcloud       2.9.3            hb16824e_0          conda-forge\nlibpdal-tiledb             2.9.3            h99d2d8e_0          conda-forge\nlibpdal-trajectory         2.9.3            h1ebb429_0          conda-forge\npdal                       2.9.3            he7fbf59_0          conda-forge\npdal-plugins               1.6.6            pypi_0              pypi\npython-pdal                3.5.3            np2py312hc4b51ad_2  conda-forge\n```\n\n`$ conda info`: \n```\n     active environment : suite\n    active env location : /home/mgenet/miniconda3/envs/suite\n            shell level : 2\n       user config file : /home/mgenet/.condarc\n populated config files : /home/mgenet/.condarc\n          conda version : 25.11.1\n    conda-build version : not installed\n         python version : 3.11.11.final.0\n                 solver : libmamba (default)\n       virtual packages : __archspec=1=skylake\n                          __conda=25.11.1=0\n                          __cuda=12.2=0\n                          __glibc=2.39=0\n                          __linux=6.6.87.2=0\n                          __unix=0=0\n       base environment : /home/mgenet/miniconda3  (writable)\n      conda av data dir : /home/mgenet/miniconda3/etc/conda\n  conda av metadata url : None\n           channel URLs : https://conda.anaconda.org/conda-forge/linux-64\n                          https://conda.anaconda.org/conda-forge/noarch\n                          https://repo.anaconda.com/pkgs/main/linux-64\n                          https://repo.anaconda.com/pkgs/main/noarch\n                          https://repo.anaconda.com/pkgs/r/linux-64\n                          https://repo.anaconda.com/pkgs/r/noarch\n          package cache : /home/mgenet/miniconda3/pkgs\n                          /home/mgenet/.conda/pkgs\n       envs directories : /home/mgenet/miniconda3/envs\n                          /home/mgenet/.conda/envs\n               platform : linux-64\n             user-agent : conda/25.11.1 requests/2.32.5 CPython/3.11.11 Linux/6.6.87.2-microsoft-standard-WSL2 ubuntu/24.04.3 glibc/2.39 solver/libmamba conda-libmamba-solver/25.11.0 libmambapy/2.4.0 aau/0.7.4 c/. s/. e/.\n                UID:GID : 1000:1000\n             netrc file : None\n           offline mode : False\n```\n\n\u003c/details>\n\n","author":{"url":"https://github.com/mrtgenet","@type":"Person","name":"mrtgenet"},"datePublished":"2026-01-28T07:19:29Z","url":"https://github.com/PDAL/python/issues/197"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b88bbba1-42dc-18cd-4524-b5a908c7830b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA70:211F05:1303EFD:17EE647:6B026666
html-safe-nonce7e7616d8d0b40a3b95a045564d575433572578af1695b98b1c018b91831e4b7e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTcwOjIxMUYwNToxMzAzRUZEOjE3RUU2NDc6NkIwMjY2NjYiLCJ2aXNpdG9yX2lkIjoiMzg2MjgwNjEyOTM5ODY3MDk1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1debd6336ddbdb5b8f8e9ce52a6773cbe305f2d3a71fa5b4e486157b228e5952
hovercard-subject-tagissue:3863963280
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PDAL/python/197/issue_layout
twitter:imagehttps://opengraph.githubassets.com/993d20823a467f7dbb1413912c53eae568df6cbd0525bfcc49aa9b7cdf98475a/PDAL/python/issues/197
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/993d20823a467f7dbb1413912c53eae568df6cbd0525bfcc49aa9b7cdf98475a/PDAL/python/issues/197
og:image:altDescribe the bug Using python pdal, the Reader automatic driver inference based on the input filename fails using filespec. Sample code: pipeline = pdal.Reader( filename={ "path": "https://some_api...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemrtgenet
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/PDAL/python git https://github.com/PDAL/python.git
octolytics-dimension-user_id859797
octolytics-dimension-user_loginPDAL
octolytics-dimension-repository_id125232078
octolytics-dimension-repository_nwoPDAL/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id125232078
octolytics-dimension-repository_network_root_nwoPDAL/python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PDAL/python/issues/197#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPDAL%2Fpython%2Fissues%2F197
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPDAL%2Fpython%2Fissues%2F197
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PDAL%2Fpython
Reloadhttps://github.com/PDAL/python/issues/197
Reloadhttps://github.com/PDAL/python/issues/197
Reloadhttps://github.com/PDAL/python/issues/197
PDALhttps://github.com/PDAL
pythonhttps://github.com/PDAL/python
Codehttps://github.com/PDAL/python
Issues8 (8)https://github.com/PDAL/python/issues
Pull requestshttps://github.com/PDAL/python/pulls
Actionshttps://github.com/PDAL/python/actions
Security and qualityhttps://github.com/PDAL/python/security
Insightshttps://github.com/PDAL/python/insights
https://github.com/PDAL/python
New issuehttps://github.com/login?return_to=https://github.com/PDAL/python/issues/197
New issuehttps://github.com/login?return_to=https://github.com/PDAL/python/issues/197
#198https://github.com/PDAL/python/pull/198
Python pdal reader driver inference failure with filespechttps://github.com/PDAL/python/issues/197#top
#198https://github.com/PDAL/python/pull/198
https://github.com/mrtgenet
mrtgenethttps://github.com/mrtgenet
on Jan 28, 2026https://github.com/PDAL/python/issues/197#issue-3863963280
hobuhttps://github.com/hobu
Update filename handling in InferableTypeStage for filespec #198https://github.com/PDAL/python/pull/198
on Jul 9, 2026https://github.com/PDAL/python/issues/197#event-27771888204
hobuhttps://github.com/hobu
completedhttps://github.com/PDAL/python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#198https://github.com/PDAL/python/pull/198
on Jul 9, 2026https://github.com/PDAL/python/issues/197#event-27785806630
Sign up for freehttps://github.com/signup?return_to=https://github.com/PDAL/python/issues/197
Sign in to commenthttps://github.com/login?return_to=https://github.com/PDAL/python/issues/197
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.