Skip to content

irradiadiance.extraradiation() clarification #216

Closed

Description

@adriesse

The code contains the following cryptic comment:

Notes
-----
The Spencer method contains a minus sign discrepancy between
equation 12 of [1]. It's unclear what the correct formula is.

I found the minus sign in reference [1], ran both versions of the formula, and found the plus version to give the smaller error with respect to pyephem. The plus version is also given in Duffie and Beckman, so this comment can be safely removed.

Activity

  1. wholmgren commented on Jul 14, 2016

    @wholmgren
    Member

    I'm fine with removing it. I always assumed that it was from the matlab toolbox, but I searched for it and didn't find it in the latest version. Thanks for doing the test, too. Want to make a pull request?

  2. added this to the 0.4.0 milestone on Jul 14, 2016
  3. adriesse commented on Jul 15, 2016

    @adriesse
    MemberAuthor

    I'm not set up to do that (yet).

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions