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

VIIRS SDR DNB units and file_units are conflicting #2325

Closed
TAlonglong opened this issue Dec 13, 2022 · 2 comments
Closed

VIIRS SDR DNB units and file_units are conflicting #2325

TAlonglong opened this issue Dec 13, 2022 · 2 comments

Comments

@TAlonglong
Copy link
Collaborator

Describe the bug

Missmatch between file_units and units for VIIRS SDR DNB
https://github.com/pytroll/satpy/blob/main/satpy/etc/readers/viirs_sdr.yaml#L464-L475

Don't know which is right.

Additional context
I user using the VIIRS SDR data is confused by the conflicting file_units and units.

These should be the same?

@djhoese
Copy link
Member

djhoese commented Dec 13, 2022

Yes, they are different because the units are converted. The file_units are the units of the data in the file. The units are what you should get when you load it with Satpy. Sorry if I'm missing the question.

@TAlonglong
Copy link
Collaborator Author

Ah, ok. I expected them to be equal. Now I understand.

Thanks!

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

No branches or pull requests

2 participants