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 beta VIIRS L1B reader #5

Merged
merged 9 commits into from
Mar 4, 2016
Merged

Conversation

djhoese
Copy link
Member

@djhoese djhoese commented Mar 2, 2016

I've created a preliminary version of the VIIRS L1B format. A lot of the code was copied from the VIIRS SDR reader. I ended up having to modify a few important things to get stuff to work (see RawConfigParser to ConfigParser). The config file also got kind of long, but I think all data loading works as expected.

@djhoese djhoese added the enhancement code enhancements, features, improvements label Mar 2, 2016
@djhoese
Copy link
Member Author

djhoese commented Mar 2, 2016

Alright well it looks like my change for ConfigParser doesn't work in python 3. I guess I'll have to do this the "long" way.

I tried to make typing easier by using interpolation (substitution) in the VIIRS L1B reader config, but changing from RawConfigParser to ConfigParser breaks things in python 3. I changed it back in this commit and did the config the "long way" with some find and replace.
The default for FileKey objects was None for "units". This means that `setdefault` would never work properly.
To make certain DNB composites available I added DNB solar and lunar zenith angle as well as moon illumination fraction. This also required detecting units in the ERF DNB composite since it assumes a 0-1 range for the input DNB data.
djhoese added a commit that referenced this pull request Mar 4, 2016
@djhoese djhoese merged commit 1398796 into pytroll:develop Mar 4, 2016
djhoese pushed a commit that referenced this pull request Apr 11, 2019
Bring my fork up to date with the main repo
djhoese pushed a commit to djhoese/satpy that referenced this pull request Sep 17, 2019
mraspaud pushed a commit that referenced this pull request Apr 20, 2023
Refactor viirs composite module to be a little less complex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement code enhancements, features, improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant