From 489ebbb2c8713b5e19d3ed1af07c26943cd385b5 Mon Sep 17 00:00:00 2001 From: PaulHuwe Date: Sat, 14 Oct 2023 18:44:33 -0400 Subject: [PATCH 1/2] Added truncation to exposure. --- src/roman_datamodels/maker_utils/_common_meta.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/roman_datamodels/maker_utils/_common_meta.py b/src/roman_datamodels/maker_utils/_common_meta.py index a56dbefa..15fca3df 100644 --- a/src/roman_datamodels/maker_utils/_common_meta.py +++ b/src/roman_datamodels/maker_utils/_common_meta.py @@ -47,6 +47,7 @@ def mk_exposure(**kwargs): exp["ma_table_number"] = kwargs.get("ma_table_number", NONUM) exp["level0_compressed"] = kwargs.get("level0_compressed", True) exp["read_pattern"] = kwargs.get("read_pattern", [[1], [2, 3], [4], [5, 6, 7, 8], [9, 10], [11]]) + exp["truncated"] = kwargs.get("truncated", False) return exp From 88c22385fc510bff1326fcdcf21c5f050ae7ac2d Mon Sep 17 00:00:00 2001 From: PaulHuwe Date: Sat, 14 Oct 2023 18:54:09 -0400 Subject: [PATCH 2/2] Updated changelog --- CHANGES.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index d2bf92e3..c92171c7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,8 @@ - Add slope and error to dark RefModel and tests. [#280] +- Added truncation to exposure. [#283] + 0.17.1 (2023-08-03) ===================