Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ website:
href: notebooks/datasets/SWOT_PIXC_Area_localmachine.ipynb
- text: "PIXC Phase Unwrap"
href: notebooks/datasets/SWOT_PIXC_PhaseUnwrap_localmachine.ipynb
- text: "PIXC Pixel Assignment"
href: notebooks/datasets/SWOT_Pixel_Assignment_Example.ipynb
- section: "SWOT Raster Multifile Access & Quality Flag Application"
contents:
- text: "Cloud"
Expand Down
7,232 changes: 3,252 additions & 3,980 deletions notebooks/DataStories/SWOTHR_Science_Application.ipynb

Large diffs are not rendered by default.

3,584 changes: 2,192 additions & 1,392 deletions notebooks/DataStories/SWOTHR_Science_Application_localmachine.ipynb

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions notebooks/GIS/SWOT_GISshapefiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
"\n",
"> From the PO.DAAC Cookbook, to access the GitHub version of the notebook, follow [this link](https://github.com/podaac/tutorials/blob/master/notebooks/GIS/SWOT_GISshapefiles.ipynb).\n",
"\n",
"_Note: This notebook uses Version C (2.0) of SWOT data that was available at the time of this notebook's development. The most recent data is now available as Version D for SWOT collections._\n",
"_The last Version C measurement will be until May 3rd, 2025. The first Version D measurement starts on May 5th, 2025._\n",
"\n",
"# SWOT North American Continent Hydrology Dataset\n",
"\n",
"## Finding ways to visualize SWOT Hydrology River Shapefile Dataset\n",
"\n",
"Authored by Nicholas Tarpinian, *PO.DAAC*\n",
"\n",
"*Last Updated: October 2026*\n",
"\n",
"## Summary\n",
"\n",
"The following tutorial is looking to explore geospatial libraries and visualizing vector datasets without the use of a GIS desktop software. Specifically looking at the latest Surface Water and Ocean Topography (SWOT) river reach hydrology dataset.\n",
Expand Down Expand Up @@ -106,12 +105,12 @@
"source": [
"### Search using `earthaccess` for SWOT River Reaches\n",
"\n",
"Each dataset has it's own unique collection concept ID. For this dataset it is SWOT_L2_HR_RiverSP_2.0. We don't need 1000+ files, we just want the river reach files over North America. SWOT files come in \"reach\" and \"node\" versions in the same collection, here we want the 10km reaches rather than the nodes. We will also only get files for North America, or 'NA' via wildcard search."
"Each dataset has it's own unique collection concept ID. For this dataset it is the SWOT_L2_HR_RiverSP_D collection. We don't need 1000+ files, we just want the river reach files over North America. SWOT files come in \"reach\" and \"node\" versions in the same collection, here we want the 10km reaches rather than the nodes. We will also only get files for North America, or 'NA' via wildcard search."
]
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -123,9 +122,10 @@
}
],
"source": [
"results = earthaccess.search_data(short_name = 'SWOT_L2_HR_RIVERSP_2.0', \n",
"results = earthaccess.search_data(short_name = 'SWOT_L2_HR_RiverSP_D', \n",
" temporal = ('2024-02-01 00:00:00', '2024-02-29 23:59:59'), # can also specify by time\n",
" granule_name = '*Reach*_NA_*') # here we filter by Reach files (not node), continent code=NA"
" granule_name = '*Reach*_NA_*') # here we filter by Reach files (not node), continent code=NA\n",
"print(f\"Found {len(results)} granules\")"
]
},
{
Expand Down Expand Up @@ -176,7 +176,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -568,7 +568,7 @@
}
],
"source": [
"River = gpd.read_file(folder / 'SWOT_L2_HR_RiverSP_Reach_010_380_NA_20240207T132630_20240207T132640_PIC0_01.shp')\n",
"River = gpd.read_file(folder / 'SWOT_L2_HR_RiverSP_Reach_010_380_NA_20240207T132630_20240207T132941_PGD0_01.shp')\n",
"River"
]
},
Expand Down
16 changes: 8 additions & 8 deletions notebooks/GIS/SWOT_datetime_GIS.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@
"\n",
"> From the PO.DAAC Cookbook, to access the GitHub version of the notebook, follow [this link](https://github.com/podaac/tutorials/blob/master/notebooks/GIS/SWOT_datetime_GIS.ipynb).\n",
"\n",
"_Note: This notebook uses Version C (2.0) of SWOT data that was available at the time of this notebook's development. The most recent data is now available as Version D for SWOT collections._\n",
"_The last Version C measurement will be until May 3rd, 2025. The first Version D measurement starts on May 5th, 2025._\n",
"\n",
"# SWOT Date/Time Transformation\n",
"\n",
"Authored by Nicholas Tarpinian, *PO.DAAC*\n",
"\n",
"*Last Updated: October 2026*\n",
"\n",
"## Summary\n",
"\n",
"The following workflow lets you create time series plots with various Geographical Information System (GIS) Desktop softwares by transforming SWOT_L2_HR_RiverSP_2.0 Shapefile vector datasets.\n",
"The following workflow lets you create time series plots with various Geographical Information System (GIS) Desktop softwares by transforming SWOT_L2_HR_RiverSP_D Shapefile vector datasets.\n",
"\n",
"------"
]
Expand Down Expand Up @@ -101,12 +100,12 @@
"source": [
"### Search using `earthaccess` for SWOT River Reaches\n",
"\n",
"Each dataset has it's own unique collection concept ID. For this dataset it is SWOT_L2_HR_RiverSP_2.0. SWOT files come in \"reach\" and \"node\" versions in this same collection, here we want the 10km reaches rather than the nodes. We will also only get files for North America, or 'NA'. "
"Each dataset has it's own unique collection concept ID. For this dataset it is SWOT_L2_HR_RiverSP_D collection. SWOT files come in \"reach\" and \"node\" versions in this same collection, here we want the 10km reaches rather than the nodes. We will also only get files for North America, or 'NA'. "
]
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -118,9 +117,10 @@
}
],
"source": [
"results = earthaccess.search_data(short_name = 'SWOT_L2_HR_RIVERSP_2.0', \n",
"results = earthaccess.search_data(short_name = 'SWOT_L2_HR_RiverSP_D', \n",
" temporal = ('2024-02-01 00:00:00', '2024-02-29 23:59:59'), # can also specify by time\n",
" granule_name = '*Reach*_NA_*') # here we filter by Reach files (not node), continent code=NA"
" granule_name = '*Reach*_NA_*') # here we filter by Reach files (not node), continent code=NA\n",
"print(f\"Found {len(results)} granules\")"
]
},
{
Expand Down
Loading
Loading