benjimin / s1prepro

Automated pre-processing of Sentinel 1 (satellite radar imagery)
12 stars 9 forks source link

Custom DEM #1

Closed benjimin closed 6 years ago

benjimin commented 7 years ago

Do not wish to auto-download default (3 arc second) DEM.

Instead, wish to use better local DSM (for higher quality product), and with more-appropriate no-data specifications (so that ocean is not masked out).

May be complications depending on file format (e.g. might need to subset DSM, for efficient performance of gpt).

benjimin commented 6 years ago

This is now resolved, and ocean is now visible.

Had to implement subsetting (as otherwise runtime increased to ~1hr10min/scene). Unfortunately, runtime still increased from ~10min/scene toward ~20min/scene.

A more efficient implementation would be conceivable (e.g. subsetting should not impact performance, and terrain flattening and ortho should be a single step). Also, since the satellite is constrained to about a 50m tube, should not need to fully recompute layover masks either.

The (hereby obsolete) version with auto-download DEM is still available as a separate branch in the repo. (Because it is nice to have fewer requirements.)