Skip to content

Commit

Permalink
Merge pull request #76 from NASA-Openscapes/amf_reviews_2
Browse files Browse the repository at this point in the history
Amf reviews 2
  • Loading branch information
jules32 authored Nov 14, 2021
2 parents 2431899 + 4321489 commit 70b3b9c
Show file tree
Hide file tree
Showing 3 changed files with 5,879 additions and 294 deletions.
2,124 changes: 2,003 additions & 121 deletions tutorials/02_Data_Discovery_CMR-STAC_API.ipynb

Large diffs are not rendered by default.

58 changes: 6 additions & 52 deletions tutorials/04_NASA_Earthdata_Authentication.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"id": "bright-oregon",
"metadata": {},
"source": [
"# 04. Authentication for NASA Earthdata "
"# Authentication for NASA Earthdata "
]
},
{
Expand All @@ -14,7 +14,7 @@
"metadata": {},
"source": [
"## Summary\n",
"This notebook creates a hidden `.netrc` file (`_netrc` for Window OS) with Earthdata login credentials in your home directory. This file is need to access NASA Earthdata assets from a scripting environment like Python.\n",
"This notebook creates a hidden `.netrc` file (`_netrc` for Window OS) with Earthdata login credentials in your home directory. This file is needed to access NASA Earthdata assets from a scripting environment like Python.\n",
"\n",
"### Earthdata Login\n",
"\n",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "induced-shell",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -72,15 +72,7 @@
"execution_count": null,
"id": "signal-slide",
"metadata": {},
"outputs": [
{
"name": "stdin",
"output_type": "stream",
"text": [
"Enter NASA Earthdata Login Username: ·······\n"
]
}
],
"outputs": [],
"source": [
"urs = 'urs.earthdata.nasa.gov' # Earthdata URL endpoint for authentication\n",
"prompts = ['Enter NASA Earthdata Login Username: ',\n",
Expand Down Expand Up @@ -131,51 +123,13 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "adjusted-render",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"total 928\n",
"drwxr-xr-x 14 jovyan jovyan 6144 Nov 4 19:11 .\n",
"drwxr-xr-x 1 root root 4096 Oct 4 16:21 ..\n",
"-rw------- 1 jovyan jovyan 7738 Nov 4 17:43 .bash_history\n",
"drwxr-xr-x 8 jovyan jovyan 6144 Nov 2 17:49 .cache\n",
"drwxrwsr-x 2 jovyan jovyan 6144 Jun 11 16:31 .conda\n",
"drwxr-xr-x 4 jovyan jovyan 6144 Nov 2 17:37 .config\n",
"drwxr-xr-x 2 jovyan jovyan 6144 Jun 11 16:31 .empty\n",
"-rw-r--r-- 1 jovyan jovyan 52 Oct 19 20:19 .gitconfig\n",
"drwxr-xr-x 2 jovyan jovyan 6144 Nov 3 12:58 .ipynb_checkpoints\n",
"drwxr-xr-x 5 jovyan jovyan 6144 May 13 19:04 .ipython\n",
"drwxr-xr-x 3 jovyan jovyan 6144 Jun 11 13:09 .jupyter\n",
"-rw-r--r-- 1 jovyan jovyan 183 Oct 28 21:32 .jupyter-server-log.txt\n",
"drwxr-xr-x 3 jovyan jovyan 6144 May 13 19:04 .local\n",
"-rw------- 1 jovyan jovyan 67 Nov 4 19:11 .netrc\n",
"drwxr-xr-x 10 jovyan jovyan 6144 Nov 4 17:29 2021-Cloud-Hackathon\n",
"-rw-r--r-- 1 jovyan jovyan 119 Nov 3 18:07 additional_packages.txt\n",
"-rw-r--r-- 1 jovyan jovyan 131 Nov 4 15:55 cookies.txt\n",
"drwxr-xr-x 5 jovyan jovyan 6144 Nov 4 15:03 corn\n",
"-rw-r--r-- 1 jovyan jovyan 11709 Nov 4 14:48 environment.yml\n",
"-rw-r--r-- 1 jovyan jovyan 847997 Nov 3 13:35 s6a_atrack_altimetry_demo.ipynb\n",
"drwxr-xr-x 2 root root 6144 May 11 19:41 shared\n",
"drwxr-xr-x 2 root root 6144 May 11 19:41 shared-readwrite\n"
]
}
],
"outputs": [],
"source": [
"!ls -al ~/"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "93dee735-3c64-426e-b130-dc4706491842",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
3,991 changes: 3,870 additions & 121 deletions tutorials/05_Data_Access_Direct_S3.ipynb

Large diffs are not rendered by default.

0 comments on commit 70b3b9c

Please sign in to comment.