Map could read remote file from result of Fido.search(), without downloading file explicitly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
Research direction
Start by tracing the object returned by Fido.search() and how Fido.fetch() passes its URL to parfive.Downloader.download(), then compare that with Map()'s existing URL handling. Done means Map() accepts a Fido.search() result, obtains its remote file URL, and behaves as it does for a directly supplied URL.
Written by the indexing model from the issue text.
Description
Describe the feature
The Map() constructor can read a local file, e.g. after download by Fido.search(). It can also read a remote file, specified by its URL.
The idea would be to allow reading a remote file specified as an item of the result from Fido.search().
Rationale:
- one step less for simple, quick tasks
- no need for the code to manage file names
- no need to store files used only once
- (maybe there is still caching?)
Proposed solution
The URL of the file must be somewhere in the Fido.search() result (although I couldn't find it), as it is used by parfive.Downloader.download() called by Fido.fetch().
When Map() is called with a Fido.search() result, the proposed solution is to take this URL, then behave exactly how Map() behaves when called with an URL.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 682
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 17
Contributor 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 sunpy/sunpy
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Feature Request net
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
net
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Documentation Effort Low Package Novice Priority Medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Effort Medium map Package Intermediate Priority Medium
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100