Skip to content

vlsvReader get_variable_length consolidation #249

Open
@alhom

Description

@alhom

Several functions use a test-variable read or such to check the length of a variable (1 for scalar, n for n-vector..). This is not entirely trivial when accounting for numpy maskedarrays:
#247

There exists a function that checks the vector length from file reads:

def read_variable_vectorsize(self, name):

Consolidating such checks to a single function, with datareducer support, and applying that function wherever required would do good.

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