|
59 | 59 | {
|
60 | 60 | "data": {
|
61 | 61 | "text/plain": [
|
62 |
| - "<openeo.rest.rest_session.RESTSession at 0x7f3b68185400>" |
| 62 | + "<openeo.rest.rest_session.RESTSession at 0x7ff3b7a6ae48>" |
63 | 63 | ]
|
64 | 64 | },
|
65 | 65 | "execution_count": 3,
|
|
149 | 149 | },
|
150 | 150 | {
|
151 | 151 | "cell_type": "code",
|
152 |
| - "execution_count": 7, |
| 152 | + "execution_count": 5, |
153 | 153 | "metadata": {},
|
154 | 154 | "outputs": [
|
155 | 155 | {
|
156 | 156 | "data": {
|
157 | 157 | "text/plain": [
|
158 |
| - "[{'product_id': 'ASTER/AST_L1T_003',\n", |
159 |
| - " 'description': 'ASTER L1T Radiance',\n", |
160 |
| - " 'source': 'NASA LP DAAC at the USGS EROS Center, https://lpdaac.usgs.gov/dataset_discovery/aster/aster_products_table/ast_l1t'},\n", |
161 |
| - " {'product_id': 'AU/GA/AUSTRALIA_5M_DEM',\n", |
162 |
| - " 'description': 'Australian 5M DEM',\n", |
163 |
| - " 'source': 'Geoscience Australia, https://ecat.ga.gov.au/geonetwork/srv/eng/search#!22be4b55-2465-4320-e053-10a3070a5236'},\n", |
164 |
| - " {'product_id': 'CIESIN/GPWv4/population-count',\n", |
165 |
| - " 'description': 'Gridded Population of the World, Version 4 (GPWv4): Population Count',\n", |
166 |
| - " 'source': 'CIESIN, http://sedac.ciesin.columbia.edu/data/collection/gpw-v4'},\n", |
167 |
| - " {'product_id': 'CIESIN/GPWv4/population-density',\n", |
168 |
| - " 'description': 'Gridded Population of the World, Version 4 (GPWv4): Population Density',\n", |
169 |
| - " 'source': 'CIESIN, http://sedac.ciesin.columbia.edu/data/collection/gpw-v4'},\n", |
170 |
| - " {'product_id': 'CIESIN/GPWv4/unwpp-adjusted-population-count',\n", |
171 |
| - " 'description': 'Gridded Population of the World, Version 4 (GPWv4): UN-Adjusted Population Count',\n", |
172 |
| - " 'source': 'CIESIN, http://sedac.ciesin.columbia.edu/data/collection/gpw-v4'}]" |
| 158 | + "{'product_id': 'COPERNICUS/S2',\n", |
| 159 | + " 'description': 'Sentinel-2 MSI: MultiSpectral Instrument, Level-1C',\n", |
| 160 | + " 'source': 'European Union/ESA/Copernicus, https://sentinel.esa.int/web/sentinel/user-guides/sentinel-2-msi',\n", |
| 161 | + " 'time': {'from': '2015-06-23', 'to': '2018-06-27'},\n", |
| 162 | + " 'bands': [{'band_id': 'B1'},\n", |
| 163 | + " {'band_id': 'B2'},\n", |
| 164 | + " {'band_id': 'B3'},\n", |
| 165 | + " {'band_id': 'B4'},\n", |
| 166 | + " {'band_id': 'B5'},\n", |
| 167 | + " {'band_id': 'B6'},\n", |
| 168 | + " {'band_id': 'B7'},\n", |
| 169 | + " {'band_id': 'B8'},\n", |
| 170 | + " {'band_id': 'B8A'},\n", |
| 171 | + " {'band_id': 'B9'},\n", |
| 172 | + " {'band_id': 'B10'},\n", |
| 173 | + " {'band_id': 'B11'},\n", |
| 174 | + " {'band_id': 'B12'},\n", |
| 175 | + " {'band_id': 'QA10'},\n", |
| 176 | + " {'band_id': 'QA20'},\n", |
| 177 | + " {'band_id': 'QA60'}],\n", |
| 178 | + " 'extent': {'srs': 'EPSG:4326',\n", |
| 179 | + " 'left': -180,\n", |
| 180 | + " 'right': 180,\n", |
| 181 | + " 'bottom': -90,\n", |
| 182 | + " 'top': 90}}" |
173 | 183 | ]
|
174 | 184 | },
|
175 |
| - "execution_count": 7, |
| 185 | + "execution_count": 5, |
176 | 186 | "metadata": {},
|
177 | 187 | "output_type": "execute_result"
|
178 | 188 | }
|
|
181 | 191 | "# Retrieve the list of available collections\n",
|
182 | 192 | "collections = session.list_collections()\n",
|
183 | 193 | "\n",
|
184 |
| - "list(collections)[:5]" |
| 194 | + "list(collections)[:5]\n", |
| 195 | + "session.get_collection(PRODUCT_ID)" |
185 | 196 | ]
|
186 | 197 | },
|
187 | 198 | {
|
|
401 | 412 | "name": "python",
|
402 | 413 | "nbconvert_exporter": "python",
|
403 | 414 | "pygments_lexer": "ipython3",
|
404 |
| - "version": "3.6.5" |
| 415 | + "version": "3.6.4" |
405 | 416 | }
|
406 | 417 | },
|
407 | 418 | "nbformat": 4,
|
|
0 commit comments