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 the save_scene function to output back to disk #19

Merged
merged 15 commits into from
Jan 20, 2023
Merged

Add the save_scene function to output back to disk #19

merged 15 commits into from
Jan 20, 2023

Conversation

leouieda
Copy link
Member

@leouieda leouieda commented Jan 19, 2023

This function can be used to same a scene back into the EarthExplorer format. The output is written directly to a tar file (with or without compression). Needed to add imageio and tifffile dependencies. While we're at it, might as well use imageio instead of scikit-image for reading the tiff files. It could be useful when cropping a scene for a class or the docs. Add a warning that for general storage after a scene is loaded, using xarray.Dataset.to_netcdf is better.

@leouieda leouieda marked this pull request as ready for review January 20, 2023 09:45
@leouieda leouieda merged commit e665576 into main Jan 20, 2023
@leouieda leouieda deleted the writer branch January 20, 2023 09: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.

1 participant