Skip to content

CESM2 Noleap Calendar #81

Description

@Z-Richard

With the latest version I will encounter an indexing error with cftime.NoLeap using CESM2 output. The error can be traced back to L155 at read data.py, e.g.,

DATA['data'] = DS.sel({variable_names[2]:str(dt_to_use)},method='nearest')[variable_names[3]].values

which can be fixed by

DATA['data'] = DS.sel({variable_names[2]:dt_to_use},method='nearest')[variable_names[3]].values

Activity

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

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