Use Pooch to handle file downloads in exampledata.py
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Look at exampledata.py to find where urllib is used for downloading example datasets. Read the Pooch docs (fatiando.org/pooch) for its retrieve/caching API, then replace the download logic so files are cached and optionally unzipped via Pooch. Done when the example-data tests pass and downloads work with caching in place. Note: the issue is over a year old with no comments, so confirm with maintainers it's still wanted before starting.
Written by the indexing model from the issue text.
Description
The Pooch package (https://www.fatiando.org/pooch/latest/index.html) provides some useful features for downloading files including caching, version check and unzipping. We could simplify and make more robust the exampledata module by using Pooch instead of urllib.
- Dominant language
- Jupyter Notebook
- Stars
- 19
- Forks
- 7
- Avg merge
- 10d 11h
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SINTEF/pyopia
-
Guard clean_bw against the scikit-image remove_small_objects change before lifting the <0.25 pinMay be free again @riyagoyal01 claimed this 12 days ago, and no pull request is open. Openpatch / enhancement testing
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Use explicit, per-instrument-configurable timestamp format when parsing filenames (SilCam/Holo/UVP)Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
-
patch / enhancement priority-medium
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Document running Python directly in the Docker image, and which functions are publicPossibly taken @emlynjdavies claimed this 17 days ago. Opendocumentation question
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
Несуществующий домOpenbug external
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OvertureMaps/data#611 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
emeryberger/CSrankings#15792 ·
Maintainers usually reply within 11 days
-
good first issue help wanted melhorar fonte
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
phsa7/feriados-municipais-br#66 ·
Maintainers usually reply within 1 day
-
memmapped_arange ignores the start value and drops the last point above the memmap thresholdPossibly taken @prathameshfuke claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
StingraySoftware/HENDRICS#213 ·