Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ parts:
- file: notebooks/multi_mission/missions_mast_search/missions_mast_search.ipynb
- file: notebooks/multi_mission/galex_panstarrs_bulk_download/galex_panstarrs_bulk_download.ipynb
- file: notebooks/multi_mission/resolve_targets/resolve_targets.ipynb
- file: notebooks/multi_mission/cloud_data_access/cloud_data_access.ipynb
- file: notebooks/multi_mission/display_footprints/display_footprints.ipynb

- caption: PanSTARRS
Expand Down
5 changes: 4 additions & 1 deletion notebooks/HSC/HSCV3_API/hscv3_api.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@
" badcols = []\n",
" for col in columns:\n",
" if col.lower().strip() not in dcols:\n",
" badcols.append(col)\n",
" if col.lower().strip().endswith('_mad'):\n",
" dcols[col.lower().replace('_mad', '_sigma')] = 1\n",
" else:\n",
" badcols.append(col)\n",
" if badcols:\n",
" raise ValueError(f\"Some columns not found in table: {', '.join(badcols)}\")\n",
" # two different ways to specify a list of column values in the API\n",
Expand Down
3 changes: 2 additions & 1 deletion notebooks/multi_mission/astroquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ The [`astroquery.mast` readthedocs](https://astroquery.readthedocs.io/en/latest/
| Large Downloads | When downloading large datasets, you may encounter timeout errors. This Notebook demonstrates robust queries that are less likely to encounter these issues. |
| Historic Quasar Observations | Much of the data in MAST is archival; from no longer operational missions. Learn to check for archival coverage of your target and analyze the results. |
| Searching for Mission-Specific Data with Astroquery | Learn the basic workflow for searching mission datasets, retrieving data products, and downloading data products with the `MastMissions` class, a wrapper around the [MAST Search API.](https://mast.stsci.edu/search/docs/) |
| Resolving Named Objects with Astroquery | Learn how to resolve named objects using the `astroquery.mast` module and specify which resolver to use in queries. |
| Resolving Named Objects with Astroquery | Learn how to resolve named objects using the `astroquery.mast` module and specify which resolver to use in queries. |
| Accessing Cloud-Hosted Data with Astroquery | Learn how to discover and access cloud-hosted data from cloud-hosted repositories using the `astroquery.mast` module. |
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# **Large downloads in astroquery.mast from AWS to local storage**"
"# Large Downloads in `astroquery.mast` from AWS to Local Storage"
]
},
{
Expand Down Expand Up @@ -105,8 +105,8 @@
"metadata": {},
"outputs": [],
"source": [
"obs = Observations.query_criteria(s_ra=[30.2, 31.2], s_dec=[-10.25, -9.25]\n",
" , obs_collection=[\"GALEX\", \"PS1\"])\n",
"obs = Observations.query_criteria(s_ra=[30.2, 31.2], s_dec=[-10.25, -9.25], \n",
" obs_collection=[\"GALEX\", \"PS1\"])\n",
"print(f'We retrieved {len(obs)} observations.')"
]
},
Expand Down
Loading