Skip to content

Instantly share code, notes, and snippets.

@Raahul-Singh
Created June 14, 2020 23:27
Show Gist options
  • Save Raahul-Singh/0fd191fafd107e93aae4269fc9745cae to your computer and use it in GitHub Desktop.
Save Raahul-Singh/0fd191fafd107e93aae4269fc9745cae to your computer and use it in GitHub Desktop.
Pythia Examples : get_mdi_map_sequence
def get_mdi_map_sequence(self, start: str, end: str, filepath: str = str(path) + "/fulldisk/"):
"""
Get MDI Map Sequence for observations from given range.
Parameters
----------
start : str
The starting observation time and date.
end : str
The ending observation time and date.
filepath : str, optional
[description], by default str(path)+"/fulldisk/"
Returns
-------
mdi_mapsequence : sunpy.map.MapSequence
Map Sequece of the MDI maps in the given range.
Examples
--------
>>> from pythia.seo import Sunspotter
>>> sunspotter = Sunspotter()
>>> start = '2000-01-01 12:47:02'
>>> end = '2000-01-05 12:51:02'
>>> sunspotter.get_mdi_map_sequence(start, end)
<sunpy.map.mapsequence.MapSequence object at 0x7f2c7b85cda0>
MapSequence of 5 elements, with maps from MDIMap
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment