Open richardgmcmahon opened 6 years ago
You can do this:
import hips
p = hips.HipsSurveyProperties.from_name('CDS/P/DSS2/red')
print(p.data)
Or to fetch the list of all HiPS at CDS and then use lookup by name:
h = hips.HipsSurveyPropertiesList.fetch()
p = h.from_name('CDS/P/DSS2/red')
print(p.data)
@tboch - Is the implementation / URLs we query good? Or is there a better way?
And probably this isn't mentioned in the high-level docs yet, should be explained there.
@cdeil:
@tboch - Is the implementation / URLs we query good? Or is there a better way?
The implementation queries the MocServer on alasky, that's the best/most consistent way to do it.
Hello,
I am using this syntax to get the properties for the VLASS1.1 survey
url = "http://archive-new.nrao.edu/vlass/HiPS/VLASS1.1/Quicklook/properties" hips_survey_properties = HipsSurveyProperties.fetch(url)
How do I get the properties for some the CDS surveys used in https://hips.readthedocs.io/en/latest/getting_started.html starting from the survey ID
e.g. hips_survey = 'CDS/P/DSS2/red'