-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b6318d
commit e168e7a
Showing
7 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
""" | ||
Module for querying ZTF using Kowalski | ||
""" | ||
|
||
from mirar.catalog.kowalski.base_kowalski_catalog import BaseKowalskiXMatch | ||
|
||
|
||
class ZTF(BaseKowalskiXMatch): | ||
""" | ||
ZTF Kowalski catalog | ||
""" | ||
|
||
catalog_name = "ZTF_alerts" | ||
abbreviation = "ztf" | ||
projection = { | ||
"objectId": 1, | ||
"ra": 1, | ||
"dec": 1, | ||
} | ||
|
||
column_names = { | ||
"objectId": "ztfname", | ||
"ra": f"{abbreviation}ra", | ||
"dec": f"{abbreviation}dec", | ||
} | ||
|
||
column_dtypes = { | ||
"ztfname": str, | ||
"ztfra": float, | ||
"ztfdec": float, | ||
} | ||
|
||
ra_column_name = f"{abbreviation}ra" | ||
dec_column_name = f"{abbreviation}dec" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters