mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Consistently use $SCIHUB_USERNAME and $SCIHUB_PASSWORD
This commit is contained in:
parent
5d4d870bb4
commit
c82fd70914
6 changed files with 370 additions and 1422 deletions
|
|
@ -130,7 +130,8 @@
|
|||
"outputs": [],
|
||||
"source": [
|
||||
"from sentinelsat import SentinelAPI\n",
|
||||
"from datetime import date"
|
||||
"from datetime import date\n",
|
||||
"import os"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -139,7 +140,7 @@
|
|||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"api = SentinelAPI(None, None)"
|
||||
"api = SentinelAPI(os.getenv('SCIHUB_USERNAME'), os.getenv('SCIHUB_PASSWORD'))"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -829,7 +830,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.8.5"
|
||||
"version": "3.8.6"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue