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

[Help]: Loading in backup folder mid-processing #141

Open
J-OFarrell opened this issue Jun 27, 2024 · 1 comment
Open

[Help]: Loading in backup folder mid-processing #141

J-OFarrell opened this issue Jun 27, 2024 · 1 comment

Comments

@J-OFarrell
Copy link

I am running an InSAR time-series script for about 50 S1 scenes and have hit memory issues once or twice. After aligning the images, there is a line that reads sbas.backup(FILEDIR+'backup') and saves everything I have done up to that point. However, I can't find a way to load that data back into sbas to continue from there and not have to rerun the whole script.

I have tried using the AI assistant to no avail as they suggest using a load_data function which doesn't appear to exist. Any advice would save me a lot of time and memory, thank you!

@AlexeyPechnikov
Copy link
Owner

The backup refers to a compact, stitched, and cropped Sentinel-1 GeoTiFF dataset that can be used instead of the potentially much larger original scenes. You may restart the processing by targeting the data directory to the backup directory. If you need to save your current state to continue processing later, you can use the Stack.dump() and Stack.restore() functions.

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