{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "[](https://colab.research.google.com/github/worldbank/OpenNightLights/blob/master/onl/tutorials/mod3_7_import_export_data.ipynb)\n", "\n", "# Importing and exporting data (5 min)\n", "\n", "We've mostly been working with data on the server side (or \"in the cloud\"), but sometimes you want to import data from your local computing space to GEE, or export data from GEE.\n", "\n", "In this tutorial, we'll import a file (a vector file) and export a clipped VIIRS-DNB image.\n", "\n", "**Our tasks in this exercise:**\n", "1. Convert a local shapefile for Sydney, Australia to ee object for server-side operations\n", "2. Clip a VIIRS-DNB composite for 2018 to the City of Sydney\n", "3. Export the clipped VIIRS image to a GDrive folder\n", "\n", "## Convert local shapefile to Earth Engine object\n", "\n", "Sometimes it's necessary to work with vector data not available in the GEE data catalog. This can often be the case with custom created geometries.\n", "\n", "There's a shapefile for the area of the City of Sydney Australia in the `./files/` folder in this repo. We'll access that file and convert it to an `ee` object.\n", "\n", "