Commit 669bbf38 authored by Carl Schaffer's avatar Carl Schaffer
Browse files

Merge branch 'translate_header_fix' into 'master'

fixing import

See merge request !164
parents b7084ba2 310c13bd
from kis_tools.gris.headers.observationInfo import ObservationInfo
from kis_tools.gris.headers.translator_classes import *
from .translate_header import run_translate_header
......@@ -30,7 +30,7 @@ from kis_tools.gris.headers.template_builder import (
_dirname,
hyphenated,
)
from kis_tools.gris.wcs import GrisWCSGenerator, reorder_gris_data
from kis_tools.gris.headers.wcs import GrisWCSGenerator, reorder_gris_data
from kis_tools.util.gitinfo import get_git_info
from kis_tools.util.util import (
gen_history_time,
......
......@@ -8,9 +8,9 @@ import numpy as np
from astropy.io.fits import Card
from scipy.io.idl import readsav
from kis_tools.gris.GrisFitsFile import GrisFitsFile
from kis_tools.gris.headers.template_builder import HEADER_TEMPLATE
from kis_tools.util.calculations import rotate_around_first_coord
from .GrisFitsFile import GrisFitsFile
from .headers.template_builder import HEADER_TEMPLATE
class GrisWCSGenerator(object):
......
......@@ -23,7 +23,7 @@ from kis_tools.gris.calib_settings.parsing import (
get_gris_calib_scripts,
parse_file,
)
from kis_tools.gris.wcs import reorder_gris_data
from kis_tools.gris.headers.wcs import reorder_gris_data
from kis_tools.util.util import groupby_gris_run
_testdata = "/dat/sdc/testing_data_for_importer/gris/"
......
......@@ -12,7 +12,7 @@ from sunpy.map import Map
from kis_tools.gris.headers.template_builder import HEADER_TEMPLATE
from kis_tools.gris.headers.translate_header import main
from kis_tools.gris.wcs import GrisWCSGenerator
from kis_tools.gris.headers.wcs import GrisWCSGenerator
class TestTranslation(unittest.TestCase):
......
......@@ -6,12 +6,13 @@ from os.path import basename, join
from tempfile import TemporaryDirectory
from astropy.wcs import WCS
from importer_test_data import gris_folder
from importer_test_data import gris_structure
from kis_tools.gris.GrisFitsFile import GrisFitsFile
from kis_tools.gris.GrisMapExtractor import run_gris_gen_maps
from kis_tools.gris.wcs import GrisWCSGenerator
from kis_tools.gris.headers.translate_header import main
from importer_test_data import gris_folder
from kis_tools.gris.headers.wcs import GrisWCSGenerator
class TestHighLevel(unittest.TestCase):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment