Skip to content

DataRecord Tutorial error raised by xarray module when passing axis to Dataset through the calc_aggregate_value method #87

Description

@sebastien-lenard

In the DataRecord Tutorial, an error is raised in cell 16, when running:

mean_size = dr_2.calc_aggregate_value(func=np.mean,
data_variable='boulder_size')

Error message from the xarray module:
passing 'axis' to Dataset reduce methods is ambiguous. Please use 'dim' instead.

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