Skip to article frontmatterSkip to article content

Setup for EarthSense 2025 workshop

import os

try:
    import google.colab
    IN_COLAB = True
except:
    IN_COLAB = False

if IN_COLAB:
    # Clone repository
    !git clone https://github.com/developmentseed/ingarss-workshop-2024.git
    %cd ingarss-workshop-2024
    
    # Create persistent storage in Drive for data and venv
    from google.colab import drive
    drive.mount('/content/drive')
    !mkdir -p "/content/drive/MyDrive/ingarss_workshop_2024"
    
    # Unzip data to Drive
    !unzip -q book/docs/data/india_crop_boundary.zip -d "/content/drive/MyDrive/ingarss_workshop_2024"
    !unzip -q book/docs/data/karnataka_district.zip -d "/content/drive/MyDrive/ingarss_workshop_2024"
    
    print("✅ Setup complete! data is ready.")