From 661e468ee58483a5813488de00b77860dc8fc1ac Mon Sep 17 00:00:00 2001 From: Nadia Dencheva Date: Wed, 10 Jan 2024 10:12:56 -0500 Subject: [PATCH] add WCS to L2 and L3 models --- src/roman_datamodels/maker_utils/_datamodels.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/roman_datamodels/maker_utils/_datamodels.py b/src/roman_datamodels/maker_utils/_datamodels.py index 641f8a26..d626ae82 100644 --- a/src/roman_datamodels/maker_utils/_datamodels.py +++ b/src/roman_datamodels/maker_utils/_datamodels.py @@ -136,6 +136,8 @@ def mk_level2_image(*, shape=(4088, 4088), n_groups=8, filepath=None, **kwargs): ) wfi_image["cal_logs"] = mk_cal_logs(**kwargs) + wfi_image["wcs"] = None + return save_node(wfi_image, filepath=filepath) @@ -189,6 +191,8 @@ def mk_level3_mosaic(*, shape=(4088, 4088), n_images=2, filepath=None, **kwargs) ) wfi_mosaic["cal_logs"] = mk_cal_logs(**kwargs) + wfi_mosaic["wcs"] = None + return save_node(wfi_mosaic, filepath=filepath)