File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change 6868 },
6969 "outputs" : [],
7070 "source" : [
71- " !python -m pip install pypgstac==0.8.1"
71+ " !python -m pip install \" pypgstac[psycopg] ==0.8.1\" "
7272 ]
7373 },
7474 {
7979 "outputs" : [],
8080 "source" : [
8181 " # Download the collections file\n " ,
82- " !curl https://raw.githubusercontent. com/vincentsarago/MAXAR_opendata_to_pgstac/main/collections_assets.json > collections.json"
82+ " !wget https://github. com/vincentsarago/MAXAR_opendata_to_pgstac/raw/ main/Maxar/ collections.json"
8383 ]
8484 },
8585 {
9090 "outputs" : [],
9191 "source" : [
9292 " # Download the items file\n " ,
93- " !curl https://raw.githubusercontent. com/vincentsarago/MAXAR_opendata_to_pgstac/main/items_s3 .json > items.json"
93+ " ! wget https://github. com/vincentsarago/MAXAR_opendata_to_pgstac/raw/ main/Maxar/items .json.zip && unzip items.json.zip && rm -rf items.json.zip "
9494 ]
9595 },
9696 {
103103 },
104104 {
105105 "cell_type" : " code" ,
106- "execution_count" : null ,
106+ "execution_count" : 10 ,
107107 "id" : " af16cb95" ,
108108 "metadata" : {},
109109 "outputs" : [],
114114 },
115115 {
116116 "cell_type" : " code" ,
117- "execution_count" : null ,
117+ "execution_count" : 11 ,
118118 "id" : " f7ded3bc" ,
119119 "metadata" : {
120120 "scrolled" : true
134134 " \n " ,
135135 " See https://github.com/stac-utils/pgstac/blob/main/docs/src/pgstac.md#pgstac-settings-variables\n " ,
136136 " \n " ,
137- " The PgSTAC Context extension is not enabled by default because it's \" slows\" down the `/search` request but for this Demo we want it enabled.\n " ,
138- " \n " ,
139- " **Requirements**: `psycopg[binary]`"
140- ]
141- },
142- {
143- "cell_type" : " code" ,
144- "execution_count" : null ,
145- "id" : " 11c68484" ,
146- "metadata" : {},
147- "outputs" : [],
148- "source" : [
149- " !python -m pip install psycopg[binary]"
137+ " The PgSTAC Context extension is not enabled by default because it's \" slows\" down the `/search` request but for this Demo we want it enabled."
150138 ]
151139 },
152140 {
153141 "cell_type" : " code" ,
154- "execution_count" : null ,
142+ "execution_count" : 12 ,
155143 "id" : " dc3fa136" ,
156144 "metadata" : {},
157145 "outputs" : [],
10391027 "name" : " python" ,
10401028 "nbconvert_exporter" : " python" ,
10411029 "pygments_lexer" : " ipython3" ,
1042- "version" : " 3.9.17 "
1030+ "version" : " 3.11.7 "
10431031 }
10441032 },
10451033 "nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments