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

Faster version of cropped loading using less RAM #28

Merged
merged 1 commit into from
Feb 26, 2023
Merged

Conversation

leouieda
Copy link
Member

Crop the scene using numpy slicing of the raw data instead of relying on xarray. This uses less memory since don't make a full version of the float data. Also runs faster since we don't do the scaling operations on the full data.

Crop the scene using numpy slicing of the raw data instead of relying on
xarray. This uses less memory since don't make a full version of the
float data. Also runs faster since we don't do the scaling operations on
the full data.
@leouieda leouieda merged commit 741f1a9 into main Feb 26, 2023
@leouieda leouieda deleted the crop-memory branch February 26, 2023 16:45
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

1 participant