aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/00-general.conf.spec4
-rw-r--r--fg21sim/sky.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec
index 49525d6..fe67d12 100644
--- a/fg21sim/configs/00-general.conf.spec
+++ b/fg21sim/configs/00-general.conf.spec
@@ -87,8 +87,6 @@ step = float(default=None, min=0.0)
# Unit of the sky map pixel value
unit = option("K", default="K")
-# Use single-precision float instead of double (also save spaces)
-use_float = boolean(default=True)
# Filename pattern for the output products, which will be finally
# formatted using `str.format()`.
@@ -98,6 +96,8 @@ filename_pattern = string(default="{prefix}_{frequency:06.2f}.fits")
# keyword in FITS header)?
# NOTE:
# FITS checksum calculation may account for half the time to output the data.
+# Use single-precision float instead of double (to save spaces)
+float32 = boolean(default=True)
checksum = boolean(default=False)
# Whether overwrite existing files
diff --git a/fg21sim/sky.py b/fg21sim/sky.py
index ee5fe82..bae18a6 100644
--- a/fg21sim/sky.py
+++ b/fg21sim/sky.py
@@ -812,7 +812,7 @@ def get_sky(configs):
"""
# Parameters for the base sky class
kwargs = {
- "float32": configs.getn("output/use_float"),
+ "float32": configs.getn("output/float32"),
"clobber": configs.getn("output/clobber"),
"checksum": configs.getn("output/checksum"),
}