Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 2.58 KB

README.md

File metadata and controls

37 lines (31 loc) · 2.58 KB

geo4dev-ct-map

Creative Commons License
Atlas AI Geo4Dev Crop Type Mapping Tutorial by Atlas AI P.B.C. and the World Bank's Development Data Group is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Environment set-up

GEE account

  • You will need to sign up to the GEE platform with a Google account. Google Earth Engine remains free of charge for academic institutions, so you can sign up for free with your berkeley.edu email. Google usually gives access to new users within 24 hours.
  • Data in GEE can be analyzed in two ways:
    • through the Javascript API via the GEE code editor, or
    • through the Python API, that can be accessed through any Python environment, such as Jupyter notebooks.

Python

  • Make sure you have Python 3.7+ installed on your computer
    • Also install conda for package management
  • Set up a different environment for this workshop - let’s call it ct_map. You can use conda to do that as follows:
    • conda create --name ct_map python=3.7.10
    • conda activate ct_map
  • Install some requirements in your environment:
    • conda install jupyter
    • conda install gdal
    • pip install git+https://github.com/shrutijain90/[email protected]
      • You may need to run conda install git before running the above command.
      • If you are unable to install the gee-tools repo using the above command, try installing it in edit mode as follows:
        • Clone the repo: git clone https://github.com/shrutijain90/eetc.git
        • cd into the repo directory
        • pip install -e .
    • conda install pandas
    • conda install geopandas
    • conda install geemap -c conda-forge
    • conda install -c anaconda scikit-learn
    • pip install eeconvert
    • conda install -c anaconda seaborn
  • Authenticate earth engine. You may need to have gcloud installed before using the authenticate command. You can follow these instructions to do so.
    • earthengine authenticate