Skip to content

one value arrays #61

Open
Open
@MAfarrag

Description

if the array has only one value the tick_spacing will be calculated zero which will give an error

ValueError: The number of ticks exceeded the max allowed size, possible errors is the value of the NodataValue you entered-[-999999.0]

[cleopatra] cleopatra/array.py (Line 104)


self.ticks_spacing = (self._vmax - self._vmin) / 10

Open in IDE · Open on GitHub

Created from JetBrains using CodeStream

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

      one value arrays · Issue #61 · Serapieum-of-alex/cleopatra