Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Exploring UAVSAR L1B and L2 Interferometric Products

In this tutorial we will explore UAVSAR Level 1B interferometric dataset. The L1B interferometric product is derived from the L1 Single Look Complex (SLC) dataset, collected by Uninhabited Aerial Vehicle Synthetic Aperture Radar (UAVSAR), a polarimetric L-band synthetic aperture radar flown on the NASA Gulfstream-III aircraft as part of NASA Delta-X campaign. This tutorial is modified from a jupyter notebook developed by Talib Oliver-Cabrera of NASA JPL for Delta-X Applications Workshop.

Radar Interferometry

Interferometric synthetic aperture radar (InSAR) is a remote sensing technique that uses the difference of phase return between the SAR acquisitions taken over a same location in different time periods. The InSAR is widely used to observe changes in the Earth’s surface due to geophysical and environmental phenomena. NASA Delta-X campaign takes advantage of the rapid-repeat acquisitions from the UAVSAR to generate interferometric products to provide spatially extensive water level change measurements within areas with emergent vegetation.

Delta-X UAVSAR Interferometric Products

During the spring (2021-03-27 to 2021-04-18) and fall (2021-09-03 to 2021-09-13) Delta-X deployments, UAVSAR flew the same flight lines over the Atchafalaya and Terrebonne Basins in southern Louisiana repeatedly, about every 30 minutes. Nearest-neighbor (NN), NN+1, and NN+2 VV-polarization interferograms were generated from the L1 SLC stacks. Two levels of interferometric products are available:

DatasetDOIGeometry
Delta-X: UAVSAR L1B Interferometric Products, MRD, Louisiana, 2021Jones et al. (2022)Not georeferenced
Delta-X: UAVSAR L2 Interferometric Products, MRD, Louisiana, 2021Jones et al. (2022)Georeferenced

Each interferogram has four products, each in ENVI format (a .dat binary file and a .hdr header) inside a zip file:

ProductDescriptionUnits
intampInterferogram amplitude-
intphaseWrapped interferogram phaseradians
cohInterferometric coherence-
unwphaseUnwrapped interferogram phaseradians

The L2 dataset also includes a quality assurance mask (l2_qa_mask) of areas affected by tropospheric phase delay.

Files are named ssssss_aaaaa_YYLLDDHHMM_yyllddhhmm_vv_product.zip, where ssssss is the site name (atchaf, eterre, or wterre), aaaaa is the flight line ID, YYLLDDHHMM and yyllddhhmm are the start times (UTC) of the first and second acquisitions, and vv is the version number. L2 file names end with .grd.dat.zip for the data files and mask.grd.zip for the mask files.

In this tutorial, we will:

  1. search and download the L1B and L2 products of one interferogram

  2. inspect the coherence, wrapped phase, and unwrapped phase

  3. mask out pixels with low coherence

  4. extract phase profiles

Import Libraries

Authentication

We authenticate with your NASA Earthdata Login (EDL) using the earthaccess python library:

Search Granules

We search the L1B interferometric dataset by its DOI.

Granules found: 1972

Each granule is one product (zip file) of one interferogram. Let’s create a geopandas dataframe of the granules.

We count the files by product type. Besides the four interferometric products of each interferogram, the dataset includes geometry files (.rdr) for each flight line and season, with the latitude (lat), longitude (lon), height (hgt), and incidence angle (inc) of each pixel in the radar geometry. They can be used to georeference the L1B products.

product unwphase 481 intamp 481 coh 481 intphase 481 spring.hgt.rdr 6 spring.lat.rdr 6 spring.inc.rdr 6 spring.lon.rdr 6 fall.hgt.rdr 6 fall.lat.rdr 6 fall.inc.rdr 6 fall.lon.rdr 6 Name: count, dtype: int64

The interferograms cover six flight lines over the Atchafalaya and Terrebonne Basins. We count the interferograms of each flight line.

Loading...

Let’s plot the plot boundaries by the flight_line column.

Loading...

Download Granules

We use the same interferogram as the original workshop tutorial: flight line wterre_34202, from acquisitions on 2021-04-06 at 18:00 and 20:32 UTC. We search both the L1B and L2 products of this interferogram by file name.

Loading...

Note that the L2 unwrapped phase of this interferogram is version 02, while the other products are version 01. We download the nine files (~1 GB) to the local directory data. Files that already exist are skipped.

Loading...

Loading...

Loading...

Part 1: L1B Interferometric Products

Read the ENVI Files headers

Let’s print the content of the interferometric coherence (coh) zip file.

['wterre_34202_2104061800_2104062032_01_coh.hdr', 'wterre_34202_2104061800_2104062032_01_coh.dat']

Each zip file contains the ENVI data file and its header.

We can print the ENVI header file to see the raster size and data type.

ENVI
description = {
./wterre_34202_2104061800_2104062032_01_coh.dat}
samples = 3300
lines   = 10172
bands   = 1
header offset = 0
file type = ENVI Standard
data type = 4
interleave = bsq
byte order = 0

Read the ENVI files

GDAL can read files inside a zip archive directly with the /vsizip/ prefix, so we don’t need to unzip them. The function below opens a product with rioxarray and returns an xarray.DataArray. The no data values are masked.

Read the rasters

The L1B products are in the radar geometry of the acquisition: rows are along the flight direction (azimuth) and columns are across it (range). They have no geographic coordinates but pixel coordinates are provides.

Dimensions (rows, columns): (10172, 3300)

Inspect the interferometric coherence

Coherence measures how similar the radar signal of a pixel is between the two acquisitions, from 0 (no similarity) to 1 (identical). Open water changes between acquisitions and has low coherence. Wetlands with vegetation keep a high coherence due to the double-bounce scattering between the water surface and the vegetation structure.

<Figure size 1200x1000 with 3 Axes>

Inspect the wrapped phase

The interferometric phase (intphase) is the difference in phase between the two acquisitions. It wraps between -pi and pi. We plot the amplitude in decibels (dB) next to the phase for reference.

<Figure size 1000x200 with 1 Axes>
<Figure size 1000x1000 with 4 Axes>

Inspect the unwrapped phase

Phase unwrapping unwphase estimates the number of 2pi cycles in the wrapped phase, which gives a continuous phase change. The unwrapped phase is proportional to the surface change along the radar line of sight, such as a change in water level in vegetated wetlands.

<Figure size 1000x200 with 1 Axes>
<Figure size 1000x1000 with 4 Axes>

Coherence masks

We create three masks from the coherence - pixels with high coherence (≥ 0.9), pixels with low coherence (≤ 0.3), and pixels with a coherence ≥ 0.5. The last mask keeps the coherent wetland and land pixels and removes open water and other pixels with unreliable phase. We will use it to mask the phase.

<Figure size 1500x1000 with 3 Axes>

Mask the phase

We set the pixels with a coherence below 0.5 to NaN in the wrapped and unwrapped phase.

<Figure size 1000x1000 with 4 Axes>

Phase profiles

We extract the masked phase along two profiles: a vertical (azimuth) profile at column 1700 from row 2000 to 4000, and a horizontal (range) profile at row 5000 from column 0 to 2500. The wrapped phase jumps between -pi and pi, while the unwrapped phase changes continuously.

<Figure size 1000x1000 with 4 Axes>
<Figure size 1000x800 with 4 Axes>

Part 2: L2 Georeferenced Interferometric Products

Read the rasters

The L2 products are the L1B products georeferenced to a latitude/longitude grid (WGS 84). L2 rasters can be read by rioxarray when needed.

CRS: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST]]
Dimensions (rows, columns): (12732, 8008)
Pixel size (degrees): (5.556e-05, -5.556e-05)
Bounds (west, south, east, north): (-91.3517976749, 29.0725211089, -90.9068731949, 29.7799110289)
ERROR 1: PROJ: internal_proj_identify: /opt/homebrew/Caskroom/miniforge/base/share/proj/proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 5 whereas a number >= 6 is expected. It comes from another PROJ installation.

To plot the whole scene quickly, we read every 4th pixel in each direction (step = 4), which is enough for an overview. We use the bounds of the raster as the plot extent.

<Figure size 1400x800 with 3 Axes>

Inspect the wrapped and unwrapped phase

<Figure size 1800x800 with 6 Axes>

Quality assurance mask

The L2 dataset includes a quality assurance (QA) mask for each interferogram. The masks were made by comparing the interferometric phase with NOAA NEXRAD weather radar images, and have three values:

ValueMeaning
0Clear sky
1Weather feature present, with possible tropospheric phase delay
2Tropospheric phase delay consistently detected in all interferograms of the acquisition

Water vapor in the atmosphere delays the radar signal, which adds a phase change that is not caused by the surface. We plot the QA mask next to the unwrapped phase, within the swath.

{0: '44%', 1: '56%'}
<Figure size 1400x800 with 4 Axes>

In this interferogram, many pixels are flagged as possibly affected by tropospheric delay (value 1). No area is flagged as consistently affected (value 2). To be conservative, we can keep only the pixels where geo_qa == 0.

Mask the phase

As for L1B, we mask out pixels with a coherence below 0.5.

<Figure size 1400x800 with 4 Axes>

Phase profile

With georeferenced data, we can define a profile by its coordinates. We extract a north-south profile. With rioxarray, we select the pixels by coordinates, and only the pixels of the profile are read from the file at full resolution.

Pixels along the profile: 1800, with coherence ≥ 0.5: 840
<Figure size 1200x800 with 4 Axes>
<Figure size 1200x400 with 2 Axes>

Along the profile, the phase is masked where the coherence is below 0.5, which leaves segments of wetland pixels separated by gaps, for example at channels and open water. More information on InSAR phase unwrapping error correction in wetlands, refer to this pubication.

References
  1. Jones, C., Oliver-Cabrera, T., Simard, M., & Lou, Y. (2022). Delta-X: UAVSAR L1B Interferometric Products, MRD, Louisiana, 2021. ORNL Distributed Active Archive Center. 10.3334/ORNLDAAC/1979
  2. Jones, C., Simard, M., Lou, Y., & Oliver-Cabrera, T. (2022). Delta-X: UAVSAR L1 Single Look Complex (SLC) Stack Products, MRD, Louisiana, 2021. ORNL Distributed Active Archive Center. 10.3334/ORNLDAAC/1984
  3. Jones, C., Oliver-Cabrera, T., Simard, M., & Lou, Y. (2022). Delta-X: UAVSAR L2 Interferometric Products, MRD, Louisiana, 2021. ORNL Distributed Active Archive Center. 10.3334/ORNLDAAC/2057
  4. Oliver-Cabrera, T., Jones, C. E., Yunjun, Z., & Simard, M. (2022). InSAR Phase Unwrapping Error Correction for Rapid Repeat Measurements of Water Level Change in Wetlands. IEEE Transactions on Geoscience and Remote Sensing, 60, 1–15. 10.1109/tgrs.2021.3108751