ASF Search Python Package¶
ASF’s asf_search Python package enables quick and customizable programmatic access to NISAR data.
ASF Search Version¶
The asf_search package is always under development to add functionality in support of new platforms and products, to manage dependencies, and to comply with security best practices. In particular, NISAR support in asf_search will be evolving as more data products are added to the archive and preferred search patterns emerge.
As such, we recommend using the latest release of the package whenever possible. You can update your installation of asf_search via pip with:
python -m pip install --upgrade asf_searchor via conda with:
conda update asf_searchSearch for NISAR Data¶
To quickly begin exploring NISAR data, search by setting the dataset parameter to 'NISAR' and the processingLevel parameter to the four-letter acronym corresponding to your desired product. For example, to search for NISAR GCOV products, use the following Python code:
import asf_search as asf
results = asf.search(dataset='NISAR', processingLevel='GCOV')A list of accepted processingLevel constants for data from all missions hosted by ASF, including NISAR, is available here.
Refer to the Searching page of the ASF Data Search Manual for more details on available search filters and their possible values.