opera-adt / DSWX-SAR

Dynamic Surface Water Extent from Synthetic Aperture Radar
Apache License 2.0
9 stars 6 forks source link

NISAR HDF5 RTC Read annd Write #62

Closed hb6688 closed 3 months ago

hb6688 commented 5 months ago

This script can be applied to read NISAR level-2 GCOV Product that has RTC enabled in HDF5 format in blocks with dimensions defined by the user, and subsequently be written out in blocks with same dimensions in GeoTIFF format.

An example to process the NISAR Level-2 GCOV product is in the main.

hb6688 commented 4 months ago

NISAR Mosaic Steps:

  1. Read data in blocks as shown below: image

  2. The plan was to directly write to an output Geotiff if EPSGs are the same between all inputs. However this portion of the code is not working as expected, so for the time being, all NISAR RTC inputs are converted into intermediate Geotiffs and mosaicked into an output Geotiff as follows. A future update will fix this issue. image

  3. Additional parameters to the runconfig are needed with new parameters row_blk_size, and col_blk_size.