urls#

hinode.xrt.urls(time_start, time_stop, filter='Al_poly', axis_time='time', num_retry=5)[source]#

Find the URLs of the Level 1 XRT images in the archive of the Solar Data Analysis Center which began during a given time range and were taken through a given filter.

The archive does not say which filter each image was taken through, so the start of each file is downloaded to read its header, and the headers are cached in hinode.memory. Only the images whose type, EC_IMTY_, is normal are found, which leaves out the dark frames. A file whose header cannot be read, such as one removed from the archive after its directory was listed, is left out with a warning.

Parameters:
  • time_start (str | Time) – The earliest start time of the images.

  • time_stop (str | Time) – The time before which an image must begin.

  • filter (str) – The filters in the two filter wheels of XRT, named as in the EC_FW1_ and EC_FW2_ header keywords, with the open positions left out and the filters joined by a slash. For example "Al_poly", "Ti_poly", "Al_poly/Ti_poly", "Gband", or "Open" if both wheels are open.

  • axis_time (str) – The logical axis corresponding to changes in time.

  • num_retry (int) – The number of times to try to connect to the server.

Return type:

ScalarArray

Examples

Find the Al_poly images captured while the EUV Snapshot Imaging Spectrograph (ESIS) was observing the Sun on 2019 September 30.

import hinode

hinode.xrt.urls(
    time_start="2019-09-30T18:06:11",
    time_stop="2019-09-30T18:11:01",
    filter="Al_poly",
)
ScalarArray(
    ndarray=['https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180628.0.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180646.5.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180705.0.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180723.5.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180742.0.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180800.5.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180819.0.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180837.5.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180856.0.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_180914.6.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_181011.1.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_181029.6.fits',
             'https://umbra.nascom.nasa.gov/hinode/xrt/level1/2019/09/30/H1800/L1_XRT20190930_181048.1.fits'],
    shape={'time': 13},
)