Skip to content

Skip opening data sets when climatologies (and time series) are already cached #196

Description

@xylar

Presently, we create an xarray data set before caching climatologies in many MPAS-Analysis tasks. If the climatology is already fully cached, opening the xarray data set is a potentially time consuming, unnecessary step.

Presumably, the only information needed to determine whether the cached data is complete is the start and end time of the cached data and the start and end time of the data set to be cached. Reading the full data set (even in xarray, where only a minimum of information is read in from each file in the data set) is potentially a major waste of time.

It would be good to have a method for determining which data is already cached and to ready only those data files that are needed to compute uncached data. If all data is cached, none of the original output files would be read at all.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions