Skip to content

DISC algorithm modifies input zenith series #24

Closed
@wholmgren

Description

@wholmgren

Here's the offending lines:

    Ztemp=SunZen
    Ztemp[SunZen > 87]=87

Ztemp references the same object as the input SunZen, so the 87 assignment rudely modifies the input object.

This can be fixed by using Ztemp=SunZen.copy().

Can be closed in the same PR as #6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions