aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-10 21:12:18 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-10 21:12:18 +0800
commit0c5f23a6c830649437b73e350aedc9a5f7225af6 (patch)
treebee1201578c97b3fb82cd8cfdd87cd3479befd26 /fg21sim/utils
parent38089c981dde76dca05856b262322f17777dc7e3 (diff)
downloadfg21sim-0c5f23a6c830649437b73e350aedc9a5f7225af6.tar.bz2
utils/healpix.py: log that HPX indices calculation may take a while.
Diffstat (limited to 'fg21sim/utils')
-rw-r--r--fg21sim/utils/healpix.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/utils/healpix.py b/fg21sim/utils/healpix.py
index ef1bd22..23562f7 100644
--- a/fg21sim/utils/healpix.py
+++ b/fg21sim/utils/healpix.py
@@ -178,6 +178,7 @@ def _calc_hpx_indices(nside):
shape = (nfacet*nside, nfacet*nside)
indices = -np.ones(shape).astype(np.int)
logger.info("HPX indices matrix shape: {0}".format(shape))
+ logger.info("Calculating the HPX indices ... (may take a while ...)")
#
# Loop vertically facet-by-facet
for jfacet in range(nfacet):