punchbowl.data.fido#

Submodules#

Classes#

PUNCHClient

Fido client for fetching PUNCH data from the SDAC.

Package Contents#

class punchbowl.data.fido.PUNCHClient[source]#

Bases: sunpy.net.dataretriever.client.GenericClient

Fido client for fetching PUNCH data from the SDAC.

fits_rootdir = 'https://umbra.nascom.nasa.gov/punch'#
jp2_rootdir = 'https://umbra.nascom.nasa.gov/punch/L'#
pattern = '{rootdir}/{Level}/{ProductCode}{Instrument}/{{year:4d}}/{{month:2d}}/{{day:2d}}/PUNCH_L{Level}_{...#
classmethod _attrs_module() tuple[str, str][source]#

Tell Fido where our custom attributes are.

classmethod register_values() dict[source]#

Register supported attrs with Fido.

classmethod _get_match_dict(*args: tuple, **kwargs: dict) dict[source]#

Override of class method to support default value for FileType and DataVersion.

Constructs a dictionary using the query and registered Attrs that represents all possible values of the extracted metadata for files that matches the query. The returned dictionary is used to validate the metadata of searched files in _extract_files_meta().

Parameters:
  • args (tuple) – sunpy.net.attrs objects representing the query.

  • kwargs (dict) – Any extra keywords to refine the search.

Returns:

matchdict – A dictionary having a list of all possible Attr values corresponding to an Attr.

Return type:

dict

search(*args: tuple, **kwargs: dict) sunpy.net.dataretriever.client.QueryResponse[source]#

Override of base class method to run the search, handling PUNCH attrs.