Skip to content

Opening multifile dataset with separate_times=True drops coordinates on particles #13

@ZedThree

Description

@ZedThree

Opening single file:

<xarray.DataArray 'Particles/Px/proton' (ID_proton: 249998)> Size: 2MB
[249998 values with dtype=float64]
Coordinates:
    X_Particles/proton  (ID_proton) float64 2MB ...
    Y_Particles/proton  (ID_proton) float64 2MB ...
Dimensions without coordinates: ID_proton
Attributes:
    units:       kg.m/s
    point_data:  True

Multifiles:

<xarray.DataArray 'Particles/Px/proton' (time2: 1, ID_proton: 249998)> Size: 2MB
array([[2.97315578e-24, 1.60333919e-24, 1.94945397e-24, ...,
        2.13845478e-25, 1.39796206e-24, 4.85421167e-24]])
Coordinates:
  * time2    (time2) float64 8B 5.001e-14
Dimensions without coordinates: ID_proton
Attributes:
    units:       kg.m/s
    point_data:  True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions