Skip to content

Query about concat #349

Closed
Closed
@JoyMonteiro

Description

@JoyMonteiro

Hello,

I have multiple nc files, and I want to pick one variable from all of them to
write to a separate file, and if possible pick one vertical level. The issue
is that it has no aggregation dimension, so MFDataset does not work.

The idea is to get all data about one variable from one vertical level into
a single file.

When I use the example in the netCDF4-python website, concat merges
all variables along all dimensions, making the in-memory size really large.

I'm new to xray, and I was hoping something of this sort can be done.
In fact, I don't really need to write it to a new file. Even if I can get
one "descriptor" (instead of an array of Dataset objects) to access my data, I will be quite
happy!

TIA,
Joy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions