Comments (8)
It is convenient to have python interface to the LegacySurvey data, in a way similar to already existing SDSS astroquery interface. For the moment the data are publicly accessible, but through wget. Accessing them through astroquery provides better traceability of the data and supplements them with metadata useful for reproducibility / traceability of results obtained with the data.
from astroquery.
https://github.com/oda-hub/astroquery
from astroquery.
we could try to see if we can use TAP https://github.com/oda-hub/oda-sdss/issues/11
It's not guaranteed it will have the necessary data exposed.
from astroquery.
the request can be made as so:
# see details in https://datalab.noirlab.edu/query.php?name=ls_dr9.tractor_n
from astroquery.utils.tap.core import Tap
datalab = Tap(url="https://datalab.noirlab.edu/tap")
#tables = gaia.load_tables(only_names=True)
job = datalab.launch_job('''
select top 10 ra,dec from ls_dr8.tractor_n where
ra > 100
'''
)
I did not follow what exactly you request, but this seems somewhere around what is needed.
Note that TAP does not exclude an dedicated astroquery module.
In fact, a number of common astroquery modules use TAP.
I guess it is because TAP and ADQL are too detailed and powerful for many purposes.
So it is often useful to reduce complexity to "query_object" and "query_target".
Not coincidentially, it is also easier to build our ontology from these requests than from generic TAP.
So my suggestion now would be:
- try to use TAP as shown above instead of simple GET. It's not guaranteed to be any easier, but it could be good to get familiar with TAP, and TAP interface is likely to persist/easily-relocate while files are less predictable.
- if TAP works instead of GET, use legacysurvey module over TAP (like many modules do).
- if TAP does NOT work instead of GET, continue using GET or TAP + GET
- come up with suggestion taking into account TAP suggestion from LS and contact them again.
from astroquery.
I've just given a first try to TAP, and it looks really interesting and powerful indeed.
It could actually help us a lot
from astroquery.
query_region
has now been fully implemented using TAP.
from astroquery.
this is needed before the PR to astroquery @andriineronov
from astroquery.
possibly should be renamed! Need to consult JP Kneib
from astroquery.
Related Issues (11)
- finish first implementation of the legacysurvey module HOT 3
- consider adding km3net/antares? HOT 1
- legacysurvey: fails for some input (Mrk 422) HOT 3
- Extend legacysurvey to consider wider set of coordinates HOT 4
- complete oda-api module
- heasarc stopped working?.. HOT 1
- maybe an issue in astroquery module? HOT 4
- Documentation DESILegacySurvey
- import `pyvo` causes error during tests HOT 4
- andrii noticed that fermi astroquery may fail if maintainance is happening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astroquery.