A little feature request for ncbo.
How about adding a flag to ncbo that modifies the behaviour so that where a dimension exists in both input files but has size 1 in one file and size >1 in the other file, then the size 1 dimension will be broadcast? This would save the step of having to create a separate input file in which the size 1 dimension has been removed (e.g. with ncwa).
Where running ncbo without such a flag currently gives an error message about variables not conforming, it could perhaps test whether the operation would have succeeded with that flag, and if so then include as part of the error message something like "maybe try with '--broadcast_size_1'".
Thank you for your suggestion.
Yes, this would be a helpful feature for many users.
I've added it as TODO nco1109 and will post again if we make progress on this.
Log in to post a comment.