Skip to content

Unitialized pet_param member in BMI #27

@hellkite500

Description

@hellkite500

A member of the pet_param struct, heat_transfer_roughness_length_m is NOT initialized in the BMI code. The related momentum_transfer_roughness_length_m is initialized in the BMI code, but BOTH of these parameters are used to determine (this condtional branch)[https://github.com/NOAA-OWP/evapotranspiration/blob/1df115fdd5376fe37be8ceafcb5df3b2dd0577e4/include/pet_tools.h#L408]. This value needs some initial value (0 based on the code in the pet_tools.h) before used in this function!

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