-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two time series datalinks for DiaObjects
This adds two service descriptor definitions: one for retrieving a DiaSource time series, and another for retrieving a ForcedSourceOnDiaObject time series, each based on a selected DiaObject.
- Loading branch information
1 parent
0fee0e7
commit ebdcc95
Showing
3 changed files
with
92 additions
and
0 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,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2"> | ||
|
||
<INFO name="$dp02_dc2_catalogs_DiaObject_diaObjectId$" ID="$dp02_dc2_catalogs_DiaObject_diaObjectId$" value="this will be dropped..." /> | ||
|
||
<RESOURCE type="meta" utype="adhoc:service"> | ||
<DESCRIPTION>Retrieve ForcedSourceOnDiaObject time series</DESCRIPTION> | ||
<GROUP name="inputParams"> | ||
<PARAM name="id" datatype="long" ref="$dp02_dc2_catalogs_DiaObject_diaObjectId$" value="" ucd="meta.id"> | ||
<DESCRIPTION>Object ID for time series</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="table" datatype="char" arraysize="*" value="dp02_dc2_catalogs.ForcedSourceOnDiaObject"> | ||
<DESCRIPTION>Table containing time series data</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="id_column" datatype="char" arraysize="*" value="diaObjectId"> | ||
<DESCRIPTION>Foreign key in time series table</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="join_time_column" datatype="char" arraysize="*" value="dp02_dc2_catalogs.CcdVisit.expMidptMJD"> | ||
<DESCRIPTION>Foreign column spec for time retrieval</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="band" datatype="char" arraysize="*" value="all"> | ||
<DESCRIPTION>Filter band to retrieve (default: all)</DESCRIPTION> | ||
<VALUES> | ||
<OPTION value="all"/> | ||
<OPTION value="u"/> | ||
<OPTION value="g"/> | ||
<OPTION value="r"/> | ||
<OPTION value="i"/> | ||
<OPTION value="z"/> | ||
<OPTION value="y"/> | ||
</VALUES> | ||
</PARAM> | ||
<PARAM name="detail" datatype="char" arraysize="*" value="principal"> | ||
<DESCRIPTION>Level of detail for time series (default: principal)</DESCRIPTION> | ||
<VALUES> | ||
<OPTION value="full"/> | ||
<OPTION value="principal"/> | ||
<OPTION value="minimal"/> | ||
</VALUES> | ||
</PARAM> | ||
</GROUP> | ||
<PARAM name="accessURL" datatype="char" arraysize="*" value="$baseUrl$/api/datalink/timeseries"/> | ||
<PARAM name="standardID" datatype="char" arraysize="*" value="lsst://api.data.lsst.cloud/datalink/timeseries#v0.1"/> | ||
</RESOURCE> | ||
</VOTABLE> |
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,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<VOTABLE xmlns="http://www.ivoa.net/xml/VOTable/v1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2"> | ||
|
||
<INFO name="$dp02_dc2_catalogs_DiaObject_diaObjectId$" ID="$dp02_dc2_catalogs_DiaObject_diaObjectId$" value="this will be dropped..." /> | ||
|
||
<RESOURCE type="meta" utype="adhoc:service"> | ||
<DESCRIPTION>Retrieve DiaSource time series</DESCRIPTION> | ||
<GROUP name="inputParams"> | ||
<PARAM name="id" datatype="long" ref="$dp02_dc2_catalogs_DiaObject_diaObjectId$" value="" ucd="meta.id"> | ||
<DESCRIPTION>Object ID for time series</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="table" datatype="char" arraysize="*" value="dp02_dc2_catalogs.DiaSource"> | ||
<DESCRIPTION>Table containing time series data</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="id_column" datatype="char" arraysize="*" value="diaObjectId"> | ||
<DESCRIPTION>Foreign key in time series table</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="join_time_column" datatype="char" arraysize="*" value="dp02_dc2_catalogs.CcdVisit.expMidptMJD"> | ||
<DESCRIPTION>Foreign column spec for time retrieval</DESCRIPTION> | ||
</PARAM> | ||
<PARAM name="band" datatype="char" arraysize="*" value="all"> | ||
<DESCRIPTION>Filter band to retrieve (default: all)</DESCRIPTION> | ||
<VALUES> | ||
<OPTION value="all"/> | ||
<OPTION value="u"/> | ||
<OPTION value="g"/> | ||
<OPTION value="r"/> | ||
<OPTION value="i"/> | ||
<OPTION value="z"/> | ||
<OPTION value="y"/> | ||
</VALUES> | ||
</PARAM> | ||
<PARAM name="detail" datatype="char" arraysize="*" value="principal"> | ||
<DESCRIPTION>Level of detail for time series (default: principal)</DESCRIPTION> | ||
<VALUES> | ||
<OPTION value="full"/> | ||
<OPTION value="principal"/> | ||
<OPTION value="minimal"/> | ||
</VALUES> | ||
</PARAM> | ||
</GROUP> | ||
<PARAM name="accessURL" datatype="char" arraysize="*" value="$baseUrl$/api/datalink/timeseries"/> | ||
<PARAM name="standardID" datatype="char" arraysize="*" value="lsst://api.data.lsst.cloud/datalink/timeseries#v0.1"/> | ||
</RESOURCE> | ||
</VOTABLE> |