Skip to content

Fido Scraper Client #75

@nabobalis

Description

@nabobalis

We can create a Fido (https://docs.sunpy.org/en/stable/generated/api/sunpy.net.Fido.html?highlight=fido) client that would let people search and fetch the full images that are stored in JPEG2000 or PNG formats.

Implementing the Client

The client would use the URL scraper to find files on the remote server.
The three components that are needed to make the client are:

  • Attribute Base URL: https://api.helioviewer.org/jp2/
  • Attribute Pattern: This is a template that is used to extract the metadata from urls matched by base url.

For example, https://api.helioviewer.org/jp2/AIA/335/2012/01/29/ this URL can be used to make a request, breaking it down we have this template:

Untitled

  • Define the method register_value() which registers attributes supported by the client.
    The attrs returned by this method are used to match the client search attrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions