Ejemplo n.º 1
0
def open_url(url):
    dataset = DAPHandler(url).dataset

    # attach server-side functions
    dataset.functions = Functions(url)

    return dataset
Ejemplo n.º 2
0
def open_url(url, application=None, session=None):
    """Open a remote URL, returning a dataset."""
    dataset = DAPHandler(url, application, session).dataset

    # attach server-side functions
    dataset.functions = Functions(url, application, session)

    return dataset
Ejemplo n.º 3
0
def open_url(url, application=None, session=None, output_grid=True):
    """
    Open a remote URL, returning a dataset.

    set output_grid to False to retrieve only main arrays and
    never retrieve coordinate axes.
    """
    dataset = DAPHandler(url, application, session, output_grid).dataset

    # attach server-side functions
    dataset.functions = Functions(url, application, session)

    return dataset
Ejemplo n.º 4
0
def open_url(url, application=None, session=None, output_grid=True):
    """
    Open a remote URL, returning a dataset.

    set output_grid to False to retrieve only main arrays and
    never retrieve coordinate axes.
    """
    dataset = DAPHandler(url, application, session, output_grid).dataset

    # attach server-side functions
    dataset.functions = Functions(url, application, session)

    return dataset