Skip to content

Feature Request: Be able to stop CONCISE from adding a new dimension to coordinate variables #131

Open
@danielfromearth

Description

Getting a new error in the regression test notebook for the SAMBAH service chain.... An error when trying to open an output dataset using xarray — I think this is likely because of how CONCISE is producing the result (i.e., stacking layers):

MissingDimensionsError: 'xtrack' has more than 1-dimension and the same name as one of its dimensions ('subset_index', 'xtrack'). xarray disallows such variables because they conflict with the coordinates used to label dimensions.

Perhaps we can add a way to tell CONCISE that a variable or variables—in this case, xtrack— is a coordinate variable that should not have a new subset_index dimension added to it. In other words, keep the 1D coordinate variable as a 1D variable in CONCISE's output.

Activity

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

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