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

DM-9371 Display cutouts in LSST timeseries viewer #323

Merged
merged 2 commits into from Mar 1, 2017
Merged

Conversation

tgoldina
Copy link
Contributor

@tgoldina tgoldina commented Mar 1, 2017

https://jira.lsstcorp.org/browse/DM-9371

  • Display image cutouts in LSST TS viewer
    To test, http://localhost:8080/firefly/ts.html, use LSST_SDSS and raw file attached to DM-9348

  • Enable option to return cutouts on image search (at the moment, DAX supports cutouts image cutouts only Science CCD Exposure table, not yet for Deep Coadd)
    To test, http://localhost:8080/firefly/lsst-pdac-triview.html, select Images, set Return Image Size or leave it blank for full image.

  • Updated SizeInputField to allow empty values.

}
return (sizestr) ? convertAngle(((unit) ? unit : 'deg'), 'deg', sizestr).toString() : '';
return (sizestr) ? toMaxFixed(convertAngle(((unit) ? unit : 'deg'), 'deg', sizestr), DECDIGIT).toString() : '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change will lose the fidelity of user's entry. ex. if user enters 5.0000006 in unit 'deg', when user changes the unit to be 'arcmin', I think it is preferred to do the conversion based on 5.0000006 instead of 5.000001.

@cwang2016
Copy link
Contributor

Review completes. All is good except the concern for SizeInfputField.jsx.

@tgoldina
Copy link
Contributor Author

tgoldina commented Mar 1, 2017

The latest commit addressed Cindy's concern: back to no formatting when size is converted to degrees in SizeInputField.jsx.

@tgoldina tgoldina merged commit e8e633a into dev Mar 1, 2017
@robyww robyww deleted the DM-9371_cutouts branch March 2, 2017 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants