Skip to content

Commit

Permalink
Fix data downloads and update gds_env for Binder backend
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas committed Sep 19, 2020
1 parent a194128 commit 0e0afe3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM darribas/gds_py:4.1
FROM darribas/gds_py:5.0

# Local docs
RUN rm -R work/
COPY ./README.md ${HOME}/README.md
RUN mkdir ${HOME}/content
COPY ./notebooks ${HOME}/content/notebooks
COPY ./figures ${HOME}/content/figures
COPY ./data ${HOME}/content/data
COPY ./notebooks ${HOME}/notebooks
COPY ./figures ${HOME}/figures
COPY ./data ${HOME}/data
# Fix permissions
USER root
RUN chown -R ${NB_UID} ${HOME}
Expand Down
3 changes: 2 additions & 1 deletion data/airbnb/regression_cleaning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,8 @@
"\n",
"## Download Link\n",
"\n",
"[[Download the `regression_db.geojson` file]](regression_db.geojson)"
"{download}`Download the *regression_db.geojson* file <regression_db.geojson>`\n",
"\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/countries/countries_cleaning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
"\n",
"## Donwload link\n",
"\n",
"[[Download the `countries_clean.gpkg` file]](countries_clean.gpkg)"
"{download}`[Download the *countries_clean.gpkg* file] <countries_clean.gpkg>`"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/h3_grid/build_sd_h3_grid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@
"\n",
"## Download link\n",
"\n",
"[[Download the `sd_h3_grid.gpkg` file]](sd_h3_grid.gpkg)"
"{download}`[Download the *sd_h3_grid.gpkg* file] <sd_h3_grid.gpkg>`"
]
}
],
Expand Down
4 changes: 2 additions & 2 deletions data/nasadem/build_nasadem_sd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Build the `nasadem_sd` extract\n",
"## Build the `nasadem_sd` extract\n",
"\n",
"This notebook documents the acquisition and extraction of the San Diego region from the global [NASADEM dataset](https://lpdaac.usgs.gov/news/release-nasadem-data-products/)."
]
Expand Down Expand Up @@ -334,7 +334,7 @@
"\n",
"## Download link\n",
"\n",
"[[Download the `nasadem_sd.tif` file]](nasadem_sd.tif)"
"{download}`[Download the *nasadem_sd.tif* file] <./nasadem_sd.tif>`\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion data/tokyo/tokyo_cleaning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
"\n",
"## Download link\n",
"\n",
"[[Download the `tokyo_clean.csv` file]](tokyo_clean.csv)"
"{download}`[Download the *tokyo_clean.csv* file] <tokyo_clean.csv>`"
]
}
],
Expand Down

0 comments on commit 0e0afe3

Please sign in to comment.