suncasa.eovsa.eovsa_fitsutils

Attributes

imgfitsdir

parser

Functions

rewriteImageFits(datestr[, verbose, writejp2, ...])

main([dateobj, ndays, overwritejp2, overwritefits])

Main pipeline for creating compressed FITS and JP2 files of EOVSA daily full-disk images.

Module Contents

suncasa.eovsa.eovsa_fitsutils.imgfitsdir = '/data1/eovsa/fits/synoptic/'[source]
suncasa.eovsa.eovsa_fitsutils.rewriteImageFits(datestr, verbose=False, writejp2=False, overwritejp2=False, overwritefits=False)[source]
suncasa.eovsa.eovsa_fitsutils.main(dateobj=None, ndays=1, overwritejp2=False, overwritefits=False)[source]

Main pipeline for creating compressed FITS and JP2 files of EOVSA daily full-disk images.

Parameters:
  • dateobj (datetime, optional) – The starting datetime for processing. If None, defaults to two days before now.

  • ndays (int, optional) – Number of days to process (spanning from dateobj - ndays + 1 to dateobj), defaults to 1.

  • overwritejp2 (bool, optional) – If True, overwrite existing EOVSA JP2 files, defaults to False.

  • overwritefits (bool, optional) – If True, overwrite existing EOVSA FITS files, defaults to False.

Raises:

Exception – If an error occurs during processing.

Returns:

None

Return type:

None

suncasa.eovsa.eovsa_fitsutils.parser[source]