Skip to content

mfdataset compat and memory explosion #9172

Answered by keewis
lbesnard asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks a lot for the clear questions, @lbesnard!

question 1: the decoding is applied to each individual dataset separately before concatenating, so unless you pass decode_cf=False that's correct. In general, we'd be happy to merge a PR that makes the documentation clearer!

question 2: the defaults are compat="equals", coords="different", data_vars="different". This means that if you switch to compat="override", you also have to change coords and data_vars (annoying, I know. See #8778 for a proposal to change this)

question 3: not sure about the actual reason, but could you try with compat="override", coords="minimal", data_vars="minimal"? At least on my machine that completes without memo…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lbesnard
Comment options

Answer selected by dcherian
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