def input_params(votbl=None):
"""
Parameters
----------
votbl
Returns
-------
"""
if votbl is None:
votbl = empty_vo(rtype='meta')
all_params = []
# POS
pos = Param(votbl, name="INPUT:POS", value="", datatype="char", arraysize="*")
pos.description = ('The center of the region of interest. The coordinate values are '+
'specified in list format (comma separated) in decimal degrees with '+
'no embedded white space followed by an optional coord. system. '+
'Allowed systems are (ICRS) and the default is ICRS.')
all_params.append(pos)
# SIZE
size = Param(votbl, name="INPUT:SIZE", value="0.1", datatype="double", unit="deg")
size.description = ('The radius of the circular region of interest in decimal degrees.'+
'Default sized radius is 0.001 degrees')
all_params.append(size)
# BAND
band = Param(votbl, name="INPUT:BAND", value="ALL", datatype="char", arraysize="*")
band.description = 'Not currently implemented'
all_params.append(band)
# TIME
ptime = Param(votbl, name="INPUT:TIME", value="", datatype="char", arraysize="*")
ptime.description = 'Not currently implemented'
all_params.append(ptime)
# FORMAT
format = Param(votbl, name="INPUT:FORMAT", value="ALL", datatype="char", arraysize="*")
format.description = ('Desired format of retrieved data. \n'+
'Allowed values are HDF5, METADATA')
all_params.append(format)
# Return
return all_params
评论列表
文章目录