Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional segment information to query results #4

Open
kbg opened this issue Oct 10, 2016 · 0 comments
Open

Add additional segment information to query results #4

kbg opened this issue Oct 10, 2016 · 0 comments
Labels
Feature Request New feature wanted!

Comments

@kbg
Copy link
Member

kbg commented Oct 10, 2016

The Client.query() method currently only returns segment locations. It would be useful in some cases to also have access to additional by-record segment information (like image dimensions) using the public drms interface.

At the moment this feature is only available using the internal HttpJsonClient instance, e.g.:

>>> import drms
>>> c = drms.Client()
>>> res = c._json.rs_list('hmi.sharp_cea_720s[][2012.03.06_TAI]', seg='magnetogram')
>>> res['segments'][0]['dims']
['705x387', '1006x434', '304x231', '163x105', '429x248', '553x375', '1167x460',
 '500x240', '248x117', '760x413']
@kbg kbg added the Feature Request New feature wanted! label Oct 10, 2016
@kbg kbg self-assigned this Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature wanted!
Projects
None yet
Development

No branches or pull requests

1 participant