diff --git a/gee/landpks/landpks_landtrend_plot.ipynb b/gee/landpks/landpks_landtrend_plot.ipynb index a5179bf97..8eadcc375 100644 --- a/gee/landpks/landpks_landtrend_plot.ipynb +++ b/gee/landpks/landpks_landtrend_plot.ipynb @@ -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", diff --git a/gee/landpks/landpks_test_api.ipynb b/gee/landpks/landpks_test_api.ipynb index c26972283..d46df3351 100644 --- a/gee/landpks/landpks_test_api.ipynb +++ b/gee/landpks/landpks_test_api.ipynb @@ -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" ] }, @@ -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",