Skip to content

Error when dimension and variable names clash #19

@gmacgilchrist

Description

@gmacgilchrist

This works well, but I'm getting an error from xarray when I use a static file in which the dimensions (nominal coordinates) are called lon and lat, which creates a clash between dimension and variable names. Things work just fine when I rename the dimensions to xh and yh. Is there something I am doing wrong here (I can't imagine I'm the first to run into this)? If this is indeed a bug, presumably an easy fix to just name lon and lat within cmip_basins to something different, and something that is unlikely to be used for nominal coordinate names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions