aboutsummaryrefslogtreecommitdiffstats
path: root/bin/hpx2healpix
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hpx2healpix')
-rwxr-xr-xbin/hpx2healpix5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/hpx2healpix b/bin/hpx2healpix
index 5d48987..e5460c8 100755
--- a/bin/hpx2healpix
+++ b/bin/hpx2healpix
@@ -16,8 +16,6 @@ import logging
import fg21sim
from fg21sim.configs import configs
from fg21sim.utils import setup_logging
-from fg21sim.utils.healpix import hpx2healpix
-from fg21sim.utils.fits import write_fits_healpix
def main():
@@ -69,6 +67,9 @@ def main():
else:
raise OSError("Output file already exists: %s" % args.outfile)
+ logger.info("Importing modules + Numba JIT, waiting ...")
+ from fg21sim.utils.healpix import hpx2healpix
+ from fg21sim.utils.fits import write_fits_healpix
hp_data, hp_header = hpx2healpix(args.infile,
append_history=history,
append_comment=comments)