Skip to content

Commit

Permalink
Fix collecion patch
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubawy-ama committed Feb 5, 2021
1 parent 198745b commit c808656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_notebooks
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ for notebook in $(ls ./notebooks/DCAL | grep .ipynb); do
else
header3 "Patching $notebook..."
patch ./notebooks/DCAL/$notebook ../patches/aws_patch.diff
sed -i "s/from datacube.utils.aws/# from datacube.utils.aws/g" ./notebooks/DCAL/$notebook
sed -i "s/configure_s3_access(/# configure_s3_access/g" ./notebooks/DCAL/$notebook
sed -i "s/from datacube.utils.aws/# from datacube.utils.aws/g" ./notebooks/DCAL/$notebook
sed -i "s/configure_s3_access(/# configure_s3_access/g" ./notebooks/DCAL/$notebook
sed -i "s@<URI_PLACEHOLDER>@$colab_uri/$notebook@g" ./notebooks/DCAL/$notebook
sed -i "s/ls8_l2_c2/ls8_usgs_sr_scene/g" ./notebooks/DCAL/$notebook
sed -i "s/ls8_lasrc[_a-z]*/ls8_usgs_sr_scene/g" ./notebooks/DCAL/$notebook
Expand Down

0 comments on commit c808656

Please sign in to comment.