Skip to content

Commit

Permalink
Added append option to writefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-h-david committed Jun 11, 2020
1 parent 1d3ea5e commit 0e1f1e0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions TUTORIAL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"If you have not done so already, you need to create an account at ",
"https://urs.earthdata.nasa.gov/ in order to access the data used in this ",
"tutorial. Once the account is created, your information has to be ",
"included in this tutorial. To do so, we will include them in a file ",
"included in this notebook. To do so, we will include them in a file ",
"that is called `.netrc` and that is located in the home directory `~/`. ",
"In the cell below, please replace `YourLogin` and `YourPassword` by your ",
"own NASA EarthData credentials."
Expand All @@ -22,22 +22,22 @@
"metadata": {},
"outputs": [],
"source": [
"%%writefile ~/.netrc\n",
"%%writefile -a ~/.netrc\n",
"machine urs.earthdata.nasa.gov login YourLogin password YourPassword"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Likewise, this tutorial uses data that are freely available from PO.DAAC, "
"one of NASA's Distributed Active Archive Centers. You do not need to "
"create a new account as the EarthData credentials give you access to "
"PO.DAAC, but you'll need to know your Access API Credentials in order to "
"automatically download data. To obtain them, go to "
"https://podaac-tools.jpl.nasa.gov/drive/ and click Access API credentials."
"In the cell below, please replace `YourLogin` and `YourPassword` by your ",
"own PO.DAAC Access API credentials."
"Likewise, this tutorial uses data that are freely available from PO.DAAC,",
" one of NASA's Distributed Active Archive Centers. You do not need to ",
"create a new account as the EarthData credentials give you access to ",
"PO.DAAC, but you'll need to know your Access API Credentials in order to ",
"automatically download data. To obtain them, go to ",
"https://podaac-tools.jpl.nasa.gov/drive/ and click Access API credentials",
". In the cell below, please replace `YourLogin` and `YourPassword` by ",
"your own PO.DAAC Access API credentials."
]
},
{
Expand All @@ -46,7 +46,7 @@
"metadata": {},
"outputs": [],
"source": [
"%%writefile ~/.netrc\n",
"%%writefile -a ~/.netrc\n",
"machine podaac-tools.jpl.nasa.gov login YourLogin password YourPassword"
]
},
Expand Down

0 comments on commit 0e1f1e0

Please sign in to comment.