Opendap

Docstrings for the Opendap class

Objects

OpendapInfo()
OpendapInfo.get_store()
OpendapInfo.open_dataset()
OpendapInfo.from_cas()

Functionality for accessing OPeNDAP datasets.

OpendapInfo()

class OpendapInfo():
A class for accessing streamable OPeNDAP data.
OpendapInfo.get_store()

def OpendapInfo.get_store(self):

Access an OPeNDAP data store.

Returns:
                The OPeNDAP data store accessed from the instance's URL.

OpendapInfo.open_dataset()

def OpendapInfo.open_dataset(self, chunks=None):

Open the remote XArray dataset for streaming.

Args:
                chunks: Chunks to use in Dask.

Returns:
                The opened XArray dataset.

OpendapInfo.from_cas()
@classmethod
def OpendapInfo.from_cas(cls, url, cas_url, username, password):

Instantiate OpendapInfo with a session authenticated against CAS.

Args:
                url: The OPeNDAP dataset URL.
                cas_url: The CAS login URL.
                username: The username to authenticate with.
                password: The password to authenticate with.

Returns:
                The instantiated OPeNDAP accessor.


Last modified November 23, 2022: Updated docstrings from coast repo. (9daee18)