Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 30, 2024
1 parent bdbb317 commit 71c9706
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions gee/landpks/landpks_landtrend_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@
"import json\n",
"\n",
"import ee\n",
"\n",
"from PIL import Image\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib.gridspec as gridspec\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"from PIL import Image\n",
"\n",
"EE_ACCOUNT = 'gef-ldmp-server@gef-ld-toolbox.iam.gserviceaccount.com'\n",
"EE_ACCOUNT = \"gef-ldmp-server@gef-ld-toolbox.iam.gserviceaccount.com\"\n",
"\n",
"# The private key associated with your service account in JSON format.\n",
"EE_PRIVATE_KEY_FILE = 'C:/Users/azvoleff/Code/LandDegradation/decisiontheater/te_key.json'\n",
"EE_PRIVATE_KEY_FILE = (\n",
" \"C:/Users/azvoleff/Code/LandDegradation/decisiontheater/te_key.json\"\n",
")\n",
"\n",
"EE_CREDENTIALS = ee.ServiceAccountCredentials(EE_ACCOUNT, EE_PRIVATE_KEY_FILE)\n",
"ee.Initialize(EE_CREDENTIALS)\n",
Expand Down
4 changes: 2 additions & 2 deletions gee/landpks/landpks_test_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
],
"source": [
"import json\n",
"import requests\n",
"import time\n",
"from getpass import getpass\n",
"\n",
"import ipyplot\n",
"import requests\n",
"from IPython.display import Image"
]
},
Expand Down Expand Up @@ -66,7 +66,7 @@
],
"source": [
"api_url = \"https://api.trends.earth\"\n",
"#api_url = \"http://localhost:3000\"\n",
"# api_url = \"http://localhost:3000\"\n",
"email, password = input(\"Email: \"), getpass(\"Password: \")\n",
"creds = {\"email\": email, \"password\": password}\n",
"auth_url = api_url + \"/auth\"\n",
Expand Down

0 comments on commit 71c9706

Please sign in to comment.