In [1]:
%store -r

You will also need to import any libraries you are using in this notebook, since they won’t carry over from the previous notebook:

In [2]:
# Import libraries
import json
import os
import pathlib
import shutil
from glob import glob

import earthpy.api.appeears as eaapp
import earthpy
import geopandas as gpd
import hvplot.pandas
import hvplot.xarray
import pandas as pd
import rioxarray as rxr
import xarray as xr

YOUR ANSWER HERE

In [3]:
# Load in the boundary data
boundary_gdf = gpd.read_file(
    project.project_dir / 'tubarjal-valley')
boundary_gdf
Out[3]:
element id GNS_dsg_co GNS_dsg_na GNS_id int_name intermitte name name_ar name_en natural waterway geometry
0 way 1017205033 WAD wadi 184246 Wādī Ţubarjal yes وادي طبرجل وادي طبرجل Wadi Tubarjal valley river LINESTRING (37.87449 30.1571, 37.87669 30.1579...
In [ ]:
# Plot the results with web tile images
boundary_gdf.hvplot(geo=True,tiles='EsriImagery')

STEP -1: Wrap up¶

Don’t forget to store your variables so you can use them in other notebooks! Replace var1 and var2 with the variable you want to save, separated by spaces.

In [ ]:
%store boundary_gdf
Stored 'boundary_gdf' (GeoDataFrame)

Finally, be sure to Restart and Run all to make sure your notebook works all the way through!

In [ ]:
%%capture
%%bash
#Coverting to HTML
jupyter nbconvert vegetation-01-site-map-osm.ipynb --to html