Xarray tutorial with custom SSL cert?
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 文件
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
Start with the xarray.tutorial.open_dataset("air_temperature") entry point and the linked urllib3 custom SSL context documentation. Determine whether the tutorial exposes a supported way to use the reported .pem certificate, and document the applicable workaround or limitation so the example works or its requirements are clear.
由索引模型根據 Issue 內容生成。
描述
I'm on a secure NATO system with a custom SSL cert and when I try to load some xarray tutorial data:
import xarray as xr
ds = xr.tutorial.open_dataset("air_temperature").isel(time=slice(0, 100))
I get back:
---------------------------------------------------------------------------
SSLCertVerificationError Traceback (most recent call last)
File ~/miniforge3/envs/pangeo/lib/python3.10/site-packages/urllib3/connectionpool.py:703, in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
702 # Make the request on the httplib connection object.
--> 703 httplib_response = self._make_request(
704 conn,
With other packages I can set an environment variable to point to the custom .pem, like:
os.environ['AWS_CA_BUNDLE']='/home/shared/PA-RootCA-Cert-2023-Pub.pem' # s3
os.environ['REQUESTS_CA_BUNDLE']='/home/shared/PA-RootCA-Cert-2023-Pub.pem' # requests
but there doesn't seem to be such an environment variable for urllib3?
I see this info in the urlib3 docs about custom SSL, but I'm not sure how I could pass this custom context to the xr.tutorial.open_dataset command.
Does anyone know how to overcome this issue?
- 主要語言
- Jupyter Notebook
- 星號
- 204
- 分支
- 122
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
xarray-contrib/xarray-tutorial 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
xarray-contrib/xarray-tutorial#376 · 2 則留言 ·
-
help wanted
難度 4/5 3-5 天 新手友好度 48/100
xarray-contrib/xarray-tutorial#362 · 2 則留言 · 1 個 reaction ·
-
難度 2/5 1-3 小時 新手友好度 55/100
-
難度 5/5 一週以上 新手友好度 35/100
查看 xarray-contrib/xarray-tutorial 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1 小時以內 新手友好度 82/100
awslabs/visual-asset-management-system#413 ·
維護者通常 1 天內回覆
-
good first issue hacktoberfest
難度 2/5 半天 新手友好度 70/100
HelpCode-ai/anythingmcp#996 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
zerocracy/judges-action#2730 ·
維護者通常 8 天內回覆
-
documentation good first issue
難度 1/5 1 小時以內 新手友好度 85/100
afarber/OpenMapView#21 ·
-
feedback simulation workshop
難度 2/5 1-3 小時 新手友好度 62/100
githubnext/gh-aw-workshop#4417 ·
維護者通常 1 天內回覆