Skip to content

insert_scattering_quantity check valid arrays and xtypes #200

Description

@yucongalicechen

Problem

Proposed solution

In the insert_scattering_quantity function, we want to add these features: (1) check if xarray is empty or not, if not check that yarray has the same length as xarray and xtype is valid (one of XQUANTITIES), (2) set attribute so that we don't allow setting an invalid xtype.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions