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 68
68
},
69
69
"outputs" : [],
70
70
"source" : [
71
- " !python -m pip install pypgstac==0.8.1"
71
+ " !python -m pip install \" pypgstac[psycopg] ==0.8.1\" "
72
72
]
73
73
},
74
74
{
79
79
"outputs" : [],
80
80
"source" : [
81
81
" # 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"
83
83
]
84
84
},
85
85
{
90
90
"outputs" : [],
91
91
"source" : [
92
92
" # 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 "
94
94
]
95
95
},
96
96
{
103
103
},
104
104
{
105
105
"cell_type" : " code" ,
106
- "execution_count" : null ,
106
+ "execution_count" : 10 ,
107
107
"id" : " af16cb95" ,
108
108
"metadata" : {},
109
109
"outputs" : [],
114
114
},
115
115
{
116
116
"cell_type" : " code" ,
117
- "execution_count" : null ,
117
+ "execution_count" : 11 ,
118
118
"id" : " f7ded3bc" ,
119
119
"metadata" : {
120
120
"scrolled" : true
134
134
" \n " ,
135
135
" See https://github.com/stac-utils/pgstac/blob/main/docs/src/pgstac.md#pgstac-settings-variables\n " ,
136
136
" \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."
150
138
]
151
139
},
152
140
{
153
141
"cell_type" : " code" ,
154
- "execution_count" : null ,
142
+ "execution_count" : 12 ,
155
143
"id" : " dc3fa136" ,
156
144
"metadata" : {},
157
145
"outputs" : [],
1039
1027
"name" : " python" ,
1040
1028
"nbconvert_exporter" : " python" ,
1041
1029
"pygments_lexer" : " ipython3" ,
1042
- "version" : " 3.9.17 "
1030
+ "version" : " 3.11.7 "
1043
1031
}
1044
1032
},
1045
1033
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments