Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
# Author: Florian Mayer <florian.mayer@bitsrc.org>
#
# This module was developed with funding provided by
# the ESA Summer of Code (2011).
#
# pylint: disable=C0103,R0903
""" Facilities to interface with the HEK. """
from sunpy.time import parse_time
from astropy.coordinates import SkyCoord
from sunpy.coordinates import frames
from astropy import units as u
from sunpy.net import hek
def coordinate_conversion(query):
if query["hpc_bbox"]:
coordinate_string = query["hpc_bbox"][9:-2]