Skip to content

TDSCatalog has no datasets #114

Closed
Closed

Description

I am trying to use siphon for a simple case: seeing all datasets in a THREDDS catalog.
http://oceandata.sci.gsfc.nasa.gov/opendap/SeaWiFS/L3SMI/2000/001/contents.html

But it is not returning any datasets.

Example:

from siphon.catalog import TDSCatalog
catalog = 'http://oceandata.sci.gsfc.nasa.gov/opendap/SeaWiFS/L3SMI/2001/001/catalog.xml'
cat = TDSCatalog(catalog)
print(cat.catalog_refs)
print(cat.datasets)

This gives two empty OrderedDicts:

OrderedDict()
OrderedDict()

What am I doing wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions