Skip to content

Commit

Permalink
Merge pull request #296 from NASA-Openscapes/V006
Browse files Browse the repository at this point in the history
Resolves #295
  • Loading branch information
jules32 authored Feb 14, 2024
2 parents b91bdcd + 2d17b79 commit 20cd033
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions how-tos/access-data/access-cloud-python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {
"tags": []
},
Expand All @@ -36,29 +36,19 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 3,
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"You're now authenticated with NASA Earthdata Login\n",
"Using token with expiration date: 10/30/2023\n",
"Using .netrc file for EDL\n"
]
}
],
"outputs": [],
"source": [
"#Authentication with Earthdata Login\n",
"auth = earthaccess.login(strategy=\"netrc\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 4,
"metadata": {
"tags": []
},
Expand All @@ -75,7 +65,7 @@
"#Access land ice height from ATLAS/ICESat-2 V005 (10.5067/ATLAS/ATL06.005), searching for data over western Greenland coast over two weeks in July 2022. The data are provided as HDF5 granules (files) that span about 1/14th of an orbit.\n",
"\n",
"results = earthaccess.search_data(short_name=\"ATL06\",\n",
" version=\"005\",\n",
" version=\"006\",\n",
" cloud_hosted=True,\n",
" temporal = (\"2022-07-17\",\"2022-07-31\"),\n",
" bounding_box = (-51.96423,68.10554,-48.71969,70.70529))"
Expand Down Expand Up @@ -1020,7 +1010,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 20cd033

Please sign in to comment.