-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathIntroduccion_GEE.txt
More file actions
55 lines (37 loc) · 1.94 KB
/
Introduccion_GEE.txt
File metadata and controls
55 lines (37 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
INTRODUCCION GOOGLE EARTH ENGINE
1. REGISTRO
Registrarse con el correo en el siguiente link:
https://earthengine.google.com/new_signup/
2. INSTALAR PYTHON Y ANACONDA
3. PREPARAR EL ENTORNO DE DESARROLLO
2.1 Crear un entorno de desarrollo en anaconda:
Abrir anaconda Promnt
>>conda create -n "Environment name" python
2.2 Instalar los entornos de desarrollo necesarios:
>> conda activate "Environment name"
>> pip install jupyterlab
>> pip install notebook
2.2.1 Abrir App Anaconda (linux: ´$ anaconda-navigator´), situarse en el nuevo entorno de desarrollo (base(root) -> "Environment name")
para verificar la instalación de los programas, si no se ha completado hacerlo manualmente desde anaconda navigator
Oprimiendo install en los programas que se necesitan en este caso JuputerLab y JupyterNotebook
2.3 Instalar las las librerias necesarias
Para la GEE-api la documentacion es: https://developers.google.com/earth-engine/guides/python_install
Pasos:
>> pip install earthengine-api --upgrade
>> pip install geemap
>> pip install chardet
instalar Gcloud en la siguiente documentación se encuentra el procedimiento para windows:
https://cloud.google.com/sdk/docs/install-sdk?hl=es-419
Linux:
>> sudo apt-get install apt-transport-https ca-certificates gnupg
>> echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
>> curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
>> sudo apt-get update
>> sudo apt-get install google-cloud-cli
>> gcloud init # Verificar que las credenciales esten correctas y cerrar terminal
2.4 Autentificacion
en la terminal:
>> python
>>import ee
>>ee.Authenticate() # iniciar sesion en la pagina que reedirige
>>ee.Initialize()