Updating notebooks

This commit is contained in:
Allen Downey
2020-10-15 14:35:03 -04:00
parent 2e16d77bc2
commit caa032e8b2
10 changed files with 573 additions and 514 deletions

View File

@@ -4,6 +4,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Astronomical Data in Python\n",
"\n",
"This notebook imports the libraries we need for the workshop.\n",
"\n",
"If any of them are missing, you'll get an error message.\n",
@@ -13,7 +15,16 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"from wget import download"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
@@ -58,7 +69,24 @@
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Created TAP+ (v1.2.1) - Connection:\n",
"\tHost: gea.esac.esa.int\n",
"\tUse HTTPS: True\n",
"\tPort: 443\n",
"\tSSL Port: 443\n",
"Created TAP+ (v1.2.1) - Connection:\n",
"\tHost: geadata.esac.esa.int\n",
"\tUse HTTPS: True\n",
"\tPort: 443\n",
"\tSSL Port: 443\n"
]
}
],
"source": [
"# Note: running this import statement opens a connection\n",
"# to a Gaia server, so it will fail if you are not connected\n",
@@ -67,6 +95,15 @@
"from astroquery.gaia import Gaia"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"During the workshop, we might put some code on Slack and ask you to cut and paste it into the notebook.\n",
"\n",
"If you are on a Mac, you might encounter a problem: "
]
},
{
"cell_type": "code",
"execution_count": null,