Skip to content

Commit 060a40b

Browse files
committed
fix: review edits to section 2
1 parent 04496bf commit 060a40b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/02-database.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"source": [
88
"# 2. The Database: pgstac\n",
99
"\n",
10-
"pgstac is a PostgreSQL extension that enables STAC metadata management in a PostgreSQL database.\n",
10+
"**pgstac** is a PostgreSQL extension that enables STAC metadata management in a PostgreSQL database.\n",
1111
"eoAPI is useful to many organizations because the other components are configured to work seamlessly with STAC metadata that is stored in your pgstac database.\n",
1212
"\n",
13-
"**pypgstac** is a Python package for interacting with a pgstac database. You will learn how to use pypgstac to perform the following operations on a pgstac database:\n",
13+
"**pypgstac** is a Python package for interacting with a pgstac database. You will learn how to use pypgstac to perform the following operations on a pgstac database:\n",
1414
"1. Generate STAC collection record\n",
1515
"2. Add the record to the `collections` table with `Loader.load_collections`\n",
1616
"3. Generate STAC item records\n",
@@ -30,7 +30,7 @@
3030
"id": "jivtk3bczsd",
3131
"metadata": {},
3232
"source": [
33-
"# Workshop Setup\n",
33+
"## Workshop Setup\n",
3434
"\n",
3535
"Run this cell to fetch database credentials. You'll be prompted to enter the workshop access token provided by your instructor.\n",
3636
"\n",
@@ -117,7 +117,7 @@
117117
"source": [
118118
"## 2.1 Load a collection object\n",
119119
"\n",
120-
"Start by creating a collection that will contain items within ~2 degrees of your provided location between January 1 2025 and April 18 2025."
120+
"We'll start by creating a collection, that will eventually contain items, within ~2 degrees of your provided location between January 1 2025 and April 18 2025."
121121
]
122122
},
123123
{
@@ -178,7 +178,7 @@
178178
"id": "af1fa92d-97b3-4b70-b7b9-b371a06741a3",
179179
"metadata": {},
180180
"source": [
181-
"The `load_collections` method accepts an iterable of STAC collection dictionaries or a file path to a collection.json file or a .ndjson file with multiple collection records. You already have your `pystac.Collection` in memory in this session so you can just write it to a dictionary and upload it (in a list). \n",
181+
"The `load_collections` method accepts an iterable of STAC collection dictionaries, a file path to a collection.json file, or a [.ndjson](https://en.wikipedia.org/wiki/JSON_streaming#Newline-delimited_JSON) file with multiple collection records. You already have your `pystac.Collection` in memory in this session so you can just write it to a dictionary and upload it (in a list, i.e. iterable object). \n",
182182
"\n",
183183
"The `upsert` method will add your collection to the `collections` table if it does not exist and update any fields with new values if the record does already exist."
184184
]
@@ -466,7 +466,7 @@
466466
"name": "python",
467467
"nbconvert_exporter": "python",
468468
"pygments_lexer": "ipython3",
469-
"version": "3.12.12"
469+
"version": "3.12.11"
470470
}
471471
},
472472
"nbformat": 4,

0 commit comments

Comments
 (0)