You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the Scene objects save_datasets method defaults to saving all currently loaded/existing datasets. This means that if a composite hasn't been generated yet, either by generate=False or IncompatibleAreas or some unexpected failure then scn.save_datasets() will save dependency datasets that weren't actually requested by the user. This can be very confusing.
Only true_color would be saved if it exists or it won't be saved. Optionally it could raise an exception if none of the requested datasets (Scene.wishlist) are available to save.
Actual results
C01, C02, C03, etc. geotiffs will be saved.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info:
OS: [e.g. OSX, Windows, Linux]
SatPy Version: [e.g. 0.9.0]
PyResample Version:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Right now the
Scene
objectssave_datasets
method defaults to saving all currently loaded/existing datasets. This means that if a composite hasn't been generated yet, either bygenerate=False
or IncompatibleAreas or some unexpected failure thenscn.save_datasets()
will save dependency datasets that weren't actually requested by the user. This can be very confusing.To Reproduce
Expected behavior
Only true_color would be saved if it exists or it won't be saved. Optionally it could raise an exception if none of the requested datasets (
Scene.wishlist
) are available to save.Actual results
C01, C02, C03, etc. geotiffs will be saved.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: