Skip to content

xarray cacheing NetCDF files #277

@bendudson

Description

@bendudson

When reading data xarray uses a cache. This can cause problems because xarray doesn't check if the file has changed on disk. The result is either reading out-of-date data, or errors about array sizes not matching.

There is some discussion here: pydata/xarray#4240

From that discussion: Closing datasets with the ds.close() method may work. Clear the file cache with: xarray.backends.file_manager.FILE_CACHE.clear()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions