Skip to content

Commit

Permalink
updates example notebook constant imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kim committed Nov 15, 2023
1 parent f44549b commit 3c8dc3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/1-Basic_Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
"source": [
"# asf-search queries CMR with page sizes of 500, \n",
"# so setting maxResults=1000 means asf-search will have to query cmr twice, each time returning 500 products\n",
"large_results_generator = asf.search_generator(maxResults=1000, platform=asf.SENTINEL1A)\n",
"large_results_generator = asf.search_generator(maxResults=1000, platform=asf.PLATFORM.SENTINEL1A)\n",
"\n",
"with open(\"search_results.metalink\", \"w\") as f:\n",
" f.writelines(asf.export.results_to_metalink(large_results_generator))"
Expand Down
2 changes: 1 addition & 1 deletion examples/5-Download.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"metadata": {},
"outputs": [],
"source": [
"results_with_zips = asf.search(platform=asf.constants.PLATFORM.SENTINEL1, processingLevel=asf.constants.PRODUCT_TYPE.GRD_HD, maxResults=250)\n",
"results_with_zips = asf.search(platform=asf.PLATFORM.SENTINEL1, processingLevel=asf.PRODUCT_TYPE.GRD_HD, maxResults=250)\n",
"\n",
"with results_with_zips[0].remotezip(session=user_pass_session) as z:\n",
" file_paths = [file.filename for file in z.filelist if file.filename.endswith('.tiff')]\n",
Expand Down

0 comments on commit 3c8dc3f

Please sign in to comment.