PyPSA / PyPSA/pypsa-usa

DuckDB compatibility with HPC resources

Open
#768 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
148
Forks
55
Avg merge
2d 11h
Merged PRs (30d)
18

Description

Not all HPCs (ex. ZIB) are set up to work with DuckDB download settings. Proposed fix TBD

Current temp fixes are:

  1. Manual download and snakemake --touch to force use of manually downloaded files
  2. Adding proxy settings. Specifically for ZIB cluster:
duckdb.query("SET http_proxy='squid.zib.de:3128';")```

http_proxy could be parameterized from the environment variable `http_proxy` and this is probably the best long term solution to be implemented in a PR

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the DuckDB download setup and the workflow entry point that currently requires manual downloads or snakemake --touch; no file or test is named in the issue. Read how proxy settings are passed to DuckDB, then verify that the relevant HPC download path can use the http_proxy environment variable without manual intervention.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.