|
145 | 145 | },
|
146 | 146 | {
|
147 | 147 | "cell_type": "markdown",
|
148 |
| - "id": "6aad881a", |
| 148 | + "id": "c453800d-d454-4902-8a49-da21883c5920", |
149 | 149 | "metadata": {},
|
150 | 150 | "source": [
|
151 | 151 | "### **Search for data using spatial and temporal filters**\n",
|
|
155 | 155 | "\n",
|
156 | 156 | "* `short_name` - this is the data set ID e.g., NSIDC-0715, NSIDC-0481. It can be found in the data set title on the data set landing page.\n",
|
157 | 157 | "* `version` - data set version number, also included in the data set title.\n",
|
158 |
| - "* `cloud_hosted` - NSIDC is in the process of migrating data sets to the cloud. The data sets we are interested in are currently still archived on-prem so will set this to False.\n", |
159 | 158 | "* `bounding_box` - sets a spatial filter by specifying latitude and longitude in the following order: W, S, E, and N.\n",
|
160 | 159 | "* `temporal` - sets a temporal filter by specifying a start and end date in the format YYYY-MM-DD.\n",
|
161 | 160 | "* `count` - this sets the maximum number of granules that will be returned in the search\n",
|
|
175 | 174 | "results_dem = earthaccess.search_data(\n",
|
176 | 175 | " short_name='NSIDC-0715',\n",
|
177 | 176 | " version='2',\n",
|
178 |
| - " cloud_hosted=False,\n", |
179 | 177 | " bounding_box=(-33.45,68.29,-31.41,69.26),\n",
|
180 | 178 | " temporal=('2015-12-01','2015-12-31'),\n",
|
181 | 179 | " count=100\n",
|
|
186 | 184 | "results_vel = earthaccess.search_data(\n",
|
187 | 185 | " short_name='NSIDC-0481',\n",
|
188 | 186 | " version='4',\n",
|
189 |
| - " cloud_hosted=False,\n", |
190 | 187 | " bounding_box=(-33.45,68.29,-31.41,69.26),\n",
|
191 | 188 | " temporal=('2017-01-01','2017-12-31'),\n",
|
192 | 189 | " count=100\n",
|
|
504 | 501 | "metadata": {},
|
505 | 502 | "outputs": [],
|
506 | 503 | "source": [
|
507 |
| - "#for x in dir_list:\n", |
| 504 | + "# for x in dir_list:\n", |
508 | 505 | "# if x.endswith('.tif'):\n",
|
509 |
| - "# os.remove(os.path.join(path, x))" |
| 506 | + "# os.remove(os.path.join(path, x))" |
510 | 507 | ]
|
511 | 508 | },
|
512 | 509 | {
|
|
557 | 554 | "name": "python",
|
558 | 555 | "nbconvert_exporter": "python",
|
559 | 556 | "pygments_lexer": "ipython3",
|
560 |
| - "version": "3.9.15" |
| 557 | + "version": "3.9.18" |
561 | 558 | }
|
562 | 559 | },
|
563 | 560 | "nbformat": 4,
|
|
0 commit comments