|
88 | 88 | "source": [ |
89 | 89 | "# First test if scene file exists, if not, use the Planet commandline tool to download the image, metadata, and udm.\n", |
90 | 90 | "# This command assumes a bash shell, available in Unix-based operating systems.\n", |
91 | | - "!test -f $train_scene || \\\n", |
92 | | - " planet data download \\\n", |
| 91 | + "!test -f $train_scene\n", |
| 92 | + "\n", |
| 93 | + "!planet data download \\\n", |
93 | 94 | " --item-type PSOrthoTile \\\n", |
94 | 95 | " --dest $train_dir \\\n", |
95 | 96 | " --asset-type analytic,analytic_xml \\\n", |
96 | | - " --string-in id $train_scene_id" |
| 97 | + " --string-in id $train_scene_id \\\n", |
| 98 | + " --quiet" |
97 | 99 | ] |
98 | 100 | }, |
99 | 101 | { |
|
136 | 138 | "source": [ |
137 | 139 | "# First test if scene file exists, if not, use the Planet commandline tool to download the image, metadata, and udm.\n", |
138 | 140 | "# This command assumes a bash shell, available in Unix-based operating systems.\n", |
139 | | - "!test -f $test_scene || \\\n", |
| 141 | + "!test -f $test_scene |\n", |
140 | 142 | " planet data download \\\n", |
141 | 143 | " --item-type PSOrthoTile \\\n", |
142 | 144 | " --dest $test_dir \\\n", |
|
802 | 804 | ], |
803 | 805 | "metadata": { |
804 | 806 | "kernelspec": { |
805 | | - "display_name": "Python 3", |
| 807 | + "display_name": "Python 3 (ipykernel)", |
806 | 808 | "language": "python", |
807 | 809 | "name": "python3" |
808 | 810 | }, |
|
816 | 818 | "name": "python", |
817 | 819 | "nbconvert_exporter": "python", |
818 | 820 | "pygments_lexer": "ipython3", |
819 | | - "version": "3.6.6" |
| 821 | + "version": "3.8.13" |
820 | 822 | } |
821 | 823 | }, |
822 | 824 | "nbformat": 4, |
|
0 commit comments