Skip to content

Commit

Permalink
#33 Fix dtype of d2_mkid_type (str → int)
Browse files Browse the repository at this point in the history
  • Loading branch information
astropenguin committed Oct 28, 2023
1 parent d6b974d commit 5e28393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dems/d2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5e28393

Please sign in to comment.