-
-
Notifications
You must be signed in to change notification settings - Fork 582
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 unit detection for XRT data #6725
Conversation
We should add the reference information as to how we know what the unit is in the unit code. |
does the message work? The XRT Analysis Guide is already (indirectly) linked to in the main doc string |
Reads fine to me. It will need a bugfix changelog. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have to wait on #6728. This should also get a test for the unit property.
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
i've made the changes, should I get to writing a test for it now? |
Yes please. |
there's currently only a header file in the examples, can you link to one? |
You mean to a file that has the correct history text? |
yes, i'm unsure of where I can get a file to test on since as of now we have an XRT header file and we do a |
Why would we not use that test header? |
oh no i was mistaken, i confused things with some stuff i did while testing locally 😅. yes we can do just that 👍 |
is a changelog message like this one fine? 😬 👀 |
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
should be good to go now, i think |
It will need a review before but yes I think its ready to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, just a few last things that I should've caught previously.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant to request changes, not approve.
check for capitalization issues Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
thanks for catching these! |
Since Will's comments are addressed, I will dismiss and merge this PR. |
Thanks again @exitflynn |
Thank you so much for the reviews @nabobalis and @wtbarnes! 😁 |
PR Description
XRT data is now given the
unit
property which isDN
by default andDN/sec
if it's been renormalized. Addresses and closes #6716