Coder Social home page Coder Social logo

Comments (9)

eteq avatar eteq commented on July 20, 2024

(Oh, and to be clear, the IRSA SFD already seems to have an interface here... I'm suggesting in this issue that it be pulled into a unified framework that supports other sources.)

from astroquery.

keflavich avatar keflavich commented on July 20, 2024

👍 This is exactly what is intended in the API - the result objects should be identical if the data are. There is still debate to be had over whether to do query_ebmv_SFD vs query_ebmv(coords, 'SFD'), but perhaps both can be supported.

from astroquery.

autocorr avatar autocorr commented on July 20, 2024

Since the API for the IPAC Galactic dust extinction service (the SFD maps in the first bullet) is the pretty much the same as the IPAC Spitzer Heritage Archive added in astroquery.sha I was thinking of adding it in. Are there anymore thoughts that people have on this?

from astroquery.

eteq avatar eteq commented on July 20, 2024

You mean adding it in as in adding it to astroquery.sha somehow, or cloning the implementation of astroquery.sha?

from astroquery.

autocorr avatar autocorr commented on July 20, 2024

Sorry, poor wording on my part. My plan was to make a astroquery.dust module or something similar and have a core.py contain the base functions with modules for each queryable, eg ipac_gdes.py, ogle.py, etc. and just specify the service with a parameter like you have above with query_ebmv(coordinates, 'SFD').

I saw the previous discussion on astropy/astropy#733 and the interpolation and right products will be complex, but sending the queries, parsing the tables, and fetching the fits images, should be do-able. Then we can think about what to do with the data products once we have them. I brought up astroquery.sha because IPAC has the same site interface for each.

from astroquery.

eteq avatar eteq commented on July 20, 2024

Ok, yeah, that sounds reasonable. The interpolation business is only necessary for some use cases of the dustmaps - many of the others the straightforward query is perfectly sufficient, and is easier, so it's the better place to start.

from astroquery.

autocorr avatar autocorr commented on July 20, 2024

Just as an update, the OGLE-III extinction map queries have been added in PR #124 where different options for interpolation are done on the server.

I've found this nice query interface for the LAB/GASS HI surveys:
http://www.astro.uni-bonn.de/hisurvey/profile/
It returns interpolated column densities and HI profiles (see the "download this data as ASCII" at the bottom after running a query for data that would be easiest for a query module to parse.)

Would an interface/query for this service be something people would like included in astroquery? I could add it in if so, it looks like mostly a problem of getting the HTTP post right and parsing the output ASCII file.

from astroquery.

keflavich avatar keflavich commented on July 20, 2024

@autocorr - I think LAB/GASS access would be great. If you go ahead with this, make sure to include a means of getting the spectrum (which is delivered as an ASCII file).

from astroquery.

keflavich avatar keflavich commented on July 20, 2024

#138 and #124 solve this, I think

from astroquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.