Skip to content

Commit 0236a50

Browse files
authored
#56 Merge pull request from deshima-dev/astropenguin/issue53
Add ASTE-specific observation information
2 parents 750a066 + 8cc6f93 commit 0236a50

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ da = MS.new(
6868
| | telescope_diameter | Attribute | Telescope dish diameter | m | 10.0 | float | - | - |
6969
| | telescope_coordinates | Attribute | Telescope ITRS coordinates | m | (0.0, 0.0, 0.0) | "tuple[float, float, float]" | - | - |
7070
| ASTE specific | aste_cabin_temperature | Coordinate | [ASTE] Cabin temperature | K | 0.0 | numpy.ndarray | (time,) | float64 |
71+
| | aste_obs_group | Attribute | [ASTE] Observation group | - | "" | str | - | - |
72+
| | aste_obs_id | Attribute | [ASTE] Observation ID | - | "" | str | - | - |
73+
| | aste_obs_project | Attribute | [ASTE] Observation project | - | "" | str | - | - |
74+
| | aste_obs_table | Attribute | [ASTE] Observation table (= observation) | - | "" | str | - | - |
75+
| | aste_obs_user | Attribute | [ASTE] Observer (= observer) | - | "" | str | - | - |
7176
| | aste_subref_x | Coordinate | [ASTE] Subreflector offset of X axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |
7277
| | aste_subref_y | Coordinate | [ASTE] Subreflector offset of Y axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |
7378
| | aste_subref_z | Coordinate | [ASTE] Subreflector offset of Z axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |

dems/d2.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ class MS(AsDataArray):
359359
telescope_coordinates: Attr[Tuple[float, float, float]] = ASTE_ITRS_COORDS
360360
# ASTE specific
361361
aste_cabin_temperature: Coordof[AsteCabinTemperature] = 0.0
362+
aste_obs_group: Attr[str] = ""
363+
aste_obs_id: Attr[str] = ""
364+
aste_obs_project: Attr[str] = ""
365+
aste_obs_table: Attr[str] = ""
366+
aste_obs_user: Attr[str] = ""
362367
aste_subref_x: Coordof[AsteSubrefX] = 0.0
363368
aste_subref_y: Coordof[AsteSubrefY] = 0.0
364369
aste_subref_z: Coordof[AsteSubrefZ] = 0.0
@@ -410,6 +415,12 @@ class Cube(AsDataArray):
410415
observer: Attr[str] = ""
411416
project: Attr[str] = ""
412417
object: Attr[str] = ""
418+
# ASTE specific
419+
aste_obs_group: Attr[str] = ""
420+
aste_obs_id: Attr[str] = ""
421+
aste_obs_project: Attr[str] = ""
422+
aste_obs_table: Attr[str] = ""
423+
aste_obs_user: Attr[str] = ""
413424
# DESHIMA 2.0 specific
414425
d2_mkid_type: Coordof[D2MkidType] = ""
415426
d2_mkid_frequency: Coordof[D2MkidFrequency] = 0.0

0 commit comments

Comments
 (0)