Skip to content

Commit 7a75b29

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e74d40f commit 7a75b29

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

gee/landpks/landpks_landtrend_plot.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99
"import json\n",
1010
"\n",
1111
"import ee\n",
12-
"\n",
13-
"from PIL import Image\n",
14-
"import numpy as np\n",
15-
"import matplotlib.pyplot as plt\n",
1612
"import matplotlib.gridspec as gridspec\n",
13+
"import matplotlib.pyplot as plt\n",
14+
"import numpy as np\n",
1715
"import pandas as pd\n",
16+
"from PIL import Image\n",
1817
"\n",
19-
"EE_ACCOUNT = '[email protected]'\n",
18+
"EE_ACCOUNT = \"[email protected]\"\n",
2019
"\n",
2120
"# The private key associated with your service account in JSON format.\n",
22-
"EE_PRIVATE_KEY_FILE = 'C:/Users/azvoleff/Code/LandDegradation/decisiontheater/te_key.json'\n",
21+
"EE_PRIVATE_KEY_FILE = (\n",
22+
" \"C:/Users/azvoleff/Code/LandDegradation/decisiontheater/te_key.json\"\n",
23+
")\n",
2324
"\n",
2425
"EE_CREDENTIALS = ee.ServiceAccountCredentials(EE_ACCOUNT, EE_PRIVATE_KEY_FILE)\n",
2526
"ee.Initialize(EE_CREDENTIALS)\n",

gee/landpks/landpks_test_api.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
],
2929
"source": [
3030
"import json\n",
31-
"import requests\n",
3231
"import time\n",
3332
"from getpass import getpass\n",
3433
"\n",
3534
"import ipyplot\n",
35+
"import requests\n",
3636
"from IPython.display import Image"
3737
]
3838
},
@@ -66,7 +66,7 @@
6666
],
6767
"source": [
6868
"api_url = \"https://api.trends.earth\"\n",
69-
"#api_url = \"http://localhost:3000\"\n",
69+
"# api_url = \"http://localhost:3000\"\n",
7070
"email, password = input(\"Email: \"), getpass(\"Password: \")\n",
7171
"creds = {\"email\": email, \"password\": password}\n",
7272
"auth_url = api_url + \"/auth\"\n",

0 commit comments

Comments
 (0)