From 5e2839300d81f6883ba174d433bdc53a71d8fbd8 Mon Sep 17 00:00:00 2001 From: Akio Taniguchi Date: Sat, 28 Oct 2023 12:28:45 +0000 Subject: [PATCH] =?UTF-8?q?#33=20Fix=20dtype=20of=20d2=5Fmkid=5Ftype=20(st?= =?UTF-8?q?r=20=E2=86=92=20int)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dems/d2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dems/d2.py b/dems/d2.py index 4ffe8a1..529301e 100644 --- a/dems/d2.py +++ b/dems/d2.py @@ -234,8 +234,8 @@ class D2MkidID: @dataclass class D2MkidType: - data: Data[Ch, str] - long_name: Attr[str] = "[DESHIMA 2.0] MKID type" + data: Data[Ch, int] + long_name: Attr[int] = "[DESHIMA 2.0] MKID type" @dataclass @@ -308,7 +308,7 @@ class MS(AsDataArray): aste_misti_frame: Coordof[AsteMistiFrame] = "altaz" # DESHIMA 2.0 specific d2_mkid_id: Coordof[D2MkidID] = 0 - d2_mkid_type: Coordof[D2MkidType] = "" + d2_mkid_type: Coordof[D2MkidType] = 0 d2_mkid_frequency: Coordof[D2MkidFrequency] = 0.0 d2_roomchopper_isblocking: Coordof[D2RoomchopperIsblocking] = False d2_skychopper_isblocking: Coordof[D2SkychopperIsblocking] = False