\n",
"
Note: Not all TDS catalogs are intended to be browsed directly: Occasionally, the TDS is used purely as \"middleware\", and the catalogs are not setup for users to easily browse directly.\n",
"An example of this would be the catalogs produced by the TDS serving data for the
North
America component of the
Coordinated
Regional
Downscaling
Experiment ([NA-CORDEX](https://na-cordex.org/index.html)).\n",
"The intent of the data providers is for users to search for datasets using the
NA-CORDEX search page on the
NCAR Climate Data Gateway, which allows for one to search for datasets by variable type, experiment, driver, model, etc.\n",
"Although the NA-CORDEX datasets are hosted on a TDS, they are all contained in one catalog, and their names are defined using a combination of the parameters used in the NA-CORDEX search page.\n",
"For example, one of the over 62,000 NA-CORDEX datasets is named
cordex.raw.NAM-44.seas.RCA4.EC-EARTH.rcp26.prec.v20180914.\n",
"When you see a THREDDS Catalog in which the datasets have opaque names like this, that's your clue that the catalogs are probably not intended to be browsed directly by users, but rather accessed through another service (such as the NA-CORDEX search interface on the Climate Data Gateway).\n",
"
\n",
"\n",
" looks like a good place to start, as it points to catalogs named by date (`yyyyMMdd`).\n",
"\n",
"\n",
"Real-time data availability: In general, the datasets available on the demonstration TDS managed by Unidata are updated in real time.\n",
"Data are removed from the server after a certain period of time, typically between three days and one month (depending on the size of the data files).\n",
"This collection contains, roughly, the most recent 14 days of data.\n",
"
\n",
"\n",
"As mentioned at the beginning of this notebook, catalogs can expose metadata about a dataset.\n",
"The `metadata` instance variable holds any metadata defined by the catalog, such as `dataFormat`, `documentation`, etc.\n",
"For example, the metadata associated with `date_catalog` looks like:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"date_catalog.metadata"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"The amount of metadata contained within a catalog depends on how much effort has been put into currating the collection."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Top\n",
"\n",
"---\n",
"\n",
"## Working with a TDS Catalog Dataset \n",
"Once we have found a catalog with datasets, we can access once of the datasets using its name:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"dataset = date_catalog.datasets['OR_ABI-L1b-RadC-M6C01_G16_s20210100156163_e20210100158536_c20210100158591.nc']"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now that we have a dataset, we can see in what ways we can access the dataset using the `access_urls` instance variable:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"dataset.access_urls"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Each service provides a unique way of accessing the metadata or actual data contained within the dataset.\n",
"Other Siphon notebooks explore ways in which the services can be used, but at this point, you are ready to begin your data analysis journey!"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Top\n",
"\n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## See also\n",
"* [Siphon documentation](https://unidata.github.io/siphon/latest/index.html)\n",
"* [Siphon TdsCatalog class documentation](https://unidata.github.io/siphon/latest/api/catalog.html#siphon.catalog.TDSCatalog)\n",
"\n",
"## Related Notebooks\n",
"* [Siphon (catalog filtering)](https://nbviewer.jupyter.org/github/Unidata/pyaos-ams-2021/blob/master/notebooks/dataAccess/siphon-catalog-filtering.ipynb)\n",
"* [Siphon (remote_access)](https://nbviewer.jupyter.org/github/Unidata/pyaos-ams-2021/blob/master/notebooks/dataAccess/siphon-RemoteOpen.ipynb)\n",
"* [Siphon (remote_open)](https://nbviewer.jupyter.org/github/Unidata/pyaos-ams-2021/blob/master/notebooks/dataAccess/siphon-RemoteAccess.ipynb)\n",
"* [Siphon (subset)](https://nbviewer.jupyter.org/github/Unidata/pyaos-ams-2021/blob/master/notebooks/dataAccess/siphon-Subset.ipynb)\n",
"\n",
"## Example TDS instances\n",
"* [Unidata Demonstration TDS](https://thredds.ucar.edu/thredds/catalog/catalog.html)\n",
"* [Department of Atmospheric and Oceanic Sciences - University of Wisconsin – Madison](https://thredds.aos.wisc.edu/thredds/catalog/catalog.html)\n",
"* [Northwest Knowledge Network (NKN) - University of Idaho](https://www.reacchpna.org/thredds/catalog/catalog.html)\n",
"* [Coastal Data Information Program (CDIP) - University of California San Diego](https://thredds.cdip.ucsd.edu/thredds/catalog/catalog.html)\n",
"* NOAA Servers\n",
" * [National Centers for Environmental Information (NCEI)](https://www.ncei.noaa.gov/thredds/catalog/catalog.html)\n",
" * [Center for Satellite Applications and Research (STAR)](https://www.star.nesdis.noaa.gov/thredds/catalog/catalog.html)\n",
" * [Environmental Research Division (ERD) - Southwest Fisheries Science Center](https://oceanwatch.pfeg.noaa.gov/thredds/catalog.html)\n",
" * [Center for Operational Oceanographic Products and Services (CO-OPS)](https://opendap.co-ops.nos.noaa.gov/thredds/catalog/catalog.html)\n",
"* NASA Servers\n",
" * [Jet Propulsion Laboratory (JPL) Physical Oceanography Distributed Active Archive Center (PO.DAAC)\n",
"](https://thredds.jpl.nasa.gov/thredds/catalog/catalog.html)\n",
" * [Oak Ridge National Laboratory (ORNL) DAAC](https://thredds.daac.ornl.gov/thredds/catalogs/ornldaac/ornldaac.html)\n",
"* USGS Servers\n",
" * [Center for Integrated Data Analytics](https://cida.usgs.gov/thredds/catalog/catalog.html)\n",
" * [Woods Hole Coastal and Marine Science Center](https://geoport.whoi.edu/thredds/bathy_catalog.html) (Topography/Bathymetry)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Top\n",
"\n",
"---"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python [conda env:pyaos-ams-2021]",
"language": "python",
"name": "conda-env-pyaos-ams-2021-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.9"
}
},
"nbformat": 4,
"nbformat_minor": 4
}