Skip to contents

Replaces lazy (altarr) data with an ordinary in-memory array, reading it with one planned read. Objects whose data is already in memory are returned unchanged.

Usage

collect(x, ...)

Arguments

x

A Variable, DataArray or Dataset.

...

Unused.

Value

An object of the same class with data in memory.

See also