johntruckenbrodt / pyroSAR

framework for large-scale SAR satellite data processing
MIT License
498 stars 110 forks source link

adjustments to snap product writing mechanism #171

Closed johntruckenbrodt closed 2 years ago

johntruckenbrodt commented 2 years ago

Output backscatter files now carry a suffix gamma0-rtc or sigma0-elp instead of the suffixes of the processing steps.

The name of the temporary directory for writing intermediate files is no longer generated from the output file name defined in a 'Write' node of the workflow but rather specified by the user. Final file conversion has been outsourced into a new function writer and is no longer done in function gpt. This makes the function snap.auxil.gpt much more flexible by making no assumptions on the output file names and formats specified in the workflow.

Intermediate files are now deleted regardless of error type that might occur.

API changes: