Skip to content

insertTavAmp function has an issue #3

@ghost

Description

The tav and amp computation have been swapped. Tav is instead the mean of the averaged temperature and amp the range of the averaged temperature. so it should be the following
met@tav <- mean(mmt$V1)
met@amp <- max(mmt$V1) - min(mmt$V1)

instead of
met@tav <- max(mmt$V1) - min(mmt$V1)
met@amp <- mean(mmt$V1)

The Nasa Power data has similar issue as it uses this APSIM package to generate the .met files.

I tried to edit the script "MetFunctions.R" a week ago, but it was changed.

Thanks,
Andy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions