Skip to content

How to solve the memory issue while using the concat command? #5966

Answered by andersy005
emaildipen asked this question in Q&A
Discussion options

You must be logged in to vote

@emaildipen, when you get a moment, can you try loading files lazily via open_mfdataset

data = xr.open_mfdataset(ENVIFiles, engine="rasterio", chunks={}, parallel=True, concat_dim='time')

??


Note: if you are using xarray v0.18 or later, xr.open_rasterio has been deprecated: #4697

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
7 replies
@emaildipen
Comment options

@andersy005
Comment options

@andersy005
Comment options

@emaildipen
Comment options

@andersy005
Comment options

Answer selected by andersy005
Comment options

You must be logged in to vote
2 replies
@andersy005
Comment options

@emaildipen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants