Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ASTE-specific observation information #56

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ da = MS.new(
| | telescope_diameter | Attribute | Telescope dish diameter | m | 10.0 | float | - | - |
| | telescope_coordinates | Attribute | Telescope ITRS coordinates | m | (0.0, 0.0, 0.0) | "tuple[float, float, float]" | - | - |
| ASTE specific | aste_cabin_temperature | Coordinate | [ASTE] Cabin temperature | K | 0.0 | numpy.ndarray | (time,) | float64 |
| | aste_obs_group | Attribute | [ASTE] Observation group | - | "" | str | - | - |
| | aste_obs_id | Attribute | [ASTE] Observation ID | - | "" | str | - | - |
| | aste_obs_project | Attribute | [ASTE] Observation project | - | "" | str | - | - |
| | aste_obs_table | Attribute | [ASTE] Observation table (= observation) | - | "" | str | - | - |
| | aste_obs_user | Attribute | [ASTE] Observer (= observer) | - | "" | str | - | - |
| | aste_subref_x | Coordinate | [ASTE] Subreflector offset of X axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |
| | aste_subref_y | Coordinate | [ASTE] Subreflector offset of Y axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |
| | aste_subref_z | Coordinate | [ASTE] Subreflector offset of Z axis | mm | 0.0 | numpy.ndarray | (time,) | float64 |
Expand Down
11 changes: 11 additions & 0 deletions dems/d2.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,11 @@ class MS(AsDataArray):
telescope_coordinates: Attr[Tuple[float, float, float]] = ASTE_ITRS_COORDS
# ASTE specific
aste_cabin_temperature: Coordof[AsteCabinTemperature] = 0.0
aste_obs_group: Attr[str] = ""
aste_obs_id: Attr[str] = ""
aste_obs_project: Attr[str] = ""
aste_obs_table: Attr[str] = ""
aste_obs_user: Attr[str] = ""
aste_subref_x: Coordof[AsteSubrefX] = 0.0
aste_subref_y: Coordof[AsteSubrefY] = 0.0
aste_subref_z: Coordof[AsteSubrefZ] = 0.0
Expand Down Expand Up @@ -410,6 +415,12 @@ class Cube(AsDataArray):
observer: Attr[str] = ""
project: Attr[str] = ""
object: Attr[str] = ""
# ASTE specific
aste_obs_group: Attr[str] = ""
aste_obs_id: Attr[str] = ""
aste_obs_project: Attr[str] = ""
aste_obs_table: Attr[str] = ""
aste_obs_user: Attr[str] = ""
# DESHIMA 2.0 specific
d2_mkid_type: Coordof[D2MkidType] = ""
d2_mkid_frequency: Coordof[D2MkidFrequency] = 0.0
Expand Down