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.

Estimating Faraday Rotation from NISAR GSLC Data


Faraday rotation is the rotation of a radar signal’s polarization that occurs as it passes through the ionosphere. The magnitude of the rotation depends on the local geomagnetic field and the total electron content (TEC) along the signal’s path. TEC also impacts phase, so a Faraday rotation estimate can indicate which acquisitions may be prone to ionospheric phase delay.

Faraday rotation in the ionosphere scales with the square of a SAR signal’s wavelength (λ2\lambda^2). Therefore, polarization rotation is much more pronounced in NISAR’s ~25cm L-band data than in Sentinel-1’s ~5cm C-band data.

This notebook loads NISAR L-band GSLC data and performs a Faraday rotation estimation using the circular-basis method described in equation 14 of F. J. Meyer and J. B. Nicoll’s, “Prediction, detection, and correction of Faraday rotation in full-polarimetric L-band SAR data”.


Overview

  1. Prerequisites

  2. Search for data

  3. Load a single GSLC with HTTPS

  4. Perform a Faraday Rotation estimation and calculate a quality metric

  5. Convert the Faraday Rotation Estimate from radians to degrees, mask based on a quality threshold, and project to Web-Mercator

  6. Plot the Faraday rotation over a basemap

  7. Summary

  8. Resources and references


1. Prerequisites

  • Rough Notebook Time Estimate: 10 minutes


Quad-pol data are only acquired in some areas, so it may be helpful to use Vertex to visually identify suitable AOIs prior to searching programmatically.

Image of a quad-pol GSLC search on Vertex

Quad-pol GSLC search on Vertex

Example quad-pol GSLC search on Vertex.

Select “Quad Pol” from the L-Band Polarization filter.

Adjust the search parameters below to find a quad-pol GSLC product.

WARNING:asf_search:WKT REPAIR/VALIDATION: The following repairs were performed on the provided AOI:
["'type': 'WRAP': 'report': 'Wrapped 1 value(s) to +/-180 longitude'"]
Found 4 GSLC products:
['https://nisar.asf.earthdatacloud.nasa.gov/NISAR/NISAR_L2_GSLC_PROVISIONAL_V1/NISAR_L2_PR_GSLC_028_120_D_076_2005_QPDH_A_20260821T125100_20260821T125134_P05023_N_F_J_001/NISAR_L2_PR_GSLC_028_120_D_076_2005_QPDH_A_20260821T125100_20260821T125134_P05023_N_F_J_001.h5', 'https://nisar.asf.earthdatacloud.nasa.gov/NISAR/NISAR_L2_GSLC_PROVISIONAL_V1/NISAR_L2_PR_GSLC_029_120_D_076_2005_QPDH_A_20260902T125059_20260902T125134_P05023_N_F_J_001/NISAR_L2_PR_GSLC_029_120_D_076_2005_QPDH_A_20260902T125059_20260902T125134_P05023_N_F_J_001.h5', 'https://nisar.asf.earthdatacloud.nasa.gov/NISAR/NISAR_L2_GSLC_PROVISIONAL_V1/NISAR_L2_PR_GSLC_030_120_D_076_2005_QPDH_A_20260914T125059_20260914T125134_P05023_N_F_J_001/NISAR_L2_PR_GSLC_030_120_D_076_2005_QPDH_A_20260914T125059_20260914T125134_P05023_N_F_J_001.h5', 'https://nisar.asf.earthdatacloud.nasa.gov/NISAR/NISAR_L2_GSLC_PROVISIONAL_V1/NISAR_L2_PR_GSLC_031_120_D_076_2005_QPDH_A_20260926T125059_20260926T125134_P05023_N_F_J_001/NISAR_L2_PR_GSLC_031_120_D_076_2005_QPDH_A_20260926T125059_20260926T125134_P05023_N_F_J_001.h5']

2b. Select a url from the search results

'https://nisar.asf.earthdatacloud.nasa.gov/NISAR/NISAR_L2_GSLC_PROVISIONAL_V1/NISAR_L2_PR_GSLC_028_120_D_076_2005_QPDH_A_20260821T125100_20260821T125134_P05023_N_F_J_001/NISAR_L2_PR_GSLC_028_120_D_076_2005_QPDH_A_20260821T125100_20260821T125134_P05023_N_F_J_001.h5'

2c. Provide your Earthdata Login (EDL) Bearer Token

Both HTTPS and S3 access require an EDL Bearer Token

Image of the Earthdata Login Generate Token web page

View or generate a Bearer Token in “Generate Token” tab of the Profile page in your Earthdata Login account: https://urs.earthdata.nasa.gov/profile

Enter your EDL Bearer Token ········

3. Stream and subset a GSLC with HTTP

3a. Lazily load a GSLC dataset with xarray

Loading...
CPU times: user 651 ms, sys: 121 ms, total: 772 ms
Wall time: 7.25 s

3b. Create a spatial subset

Loading...

4. Perform a Faraday Rotation estimation and calculate a quality metric

4a. Define functions to perform a Faraday Rotation estimation over an optionally multilooked GSLC

Use the circular-basis method for Faraday rotation estimation described in equation 14 of F. J. Meyer and J. B. Nicoll’s, “Prediction, detection, and correction of Faraday rotation in full-polarimetric L-band SAR data”

4b. Calculate the circular basis, Faraday Rotation estimate, and quality metric


5. Convert the Faraday Rotation Estimate from radians to degrees, mask based on a quality threshold, and project to Web-Mercator (EPSG:3857)

5a. Set a quality threshold for masking the Faraday Rotation estimation

5b. Convert the Faraday Rotation estimate from radians to degrees and mask it based on the quality threshold defined in Step 5a

5c. Reproject the Faraday Rotation estimate and quality metric rasters to Web-Mercator (EPSG:3857) for plotting

FR min/max: -11.224892616271973, 28.431591033935547
Mean abs FR: 4.801558947807341
Median abs FR: 4.902161121368408
Std FR: 1.9307295003239537
Quality min/max: 0.1773519217967987, 0.9962980151176453
Quality valid pixels: 53357
CPU times: user 4.54 s, sys: 1.12 s, total: 5.66 s
Wall time: 1min 8s

6. Plot the Faraday rotation over a basemap

“Faraday rotation (FR) angles of less than 5∘5^\circ are generally considered acceptable for many commonly used SAR parameter extraction methods. Higher levels of FR can introduce significant errors in SAR image interpretation and analysis, particularly for polarimetric decompositions that rely on channel ratios.”

Meyer, F. J., and J. B. Nicoll (2008), “Prediction, detection, and correction of Faraday rotation in full-polarimetric L-band SAR data,” IEEE Transactions on Geoscience and Remote Sensing, 46(10), 3076–3086

Loading...
Loading...
Loading...
Loading...
Loading...

7. Summary

You now have the tools and knowledge that you need to search GSLC data with asf_search, stream it with ffspec and xarray, and estimate Faraday rotation caused by passage of the signal through the ionosphere.