Skip to content

Error in BMI implementation for get_grid_origin function #11

Description

@mdpiper

The implementation of the get_grid_origin function contains this block:

select case(grid_id)
case(0)
grid_origin = [0.d0, 0.d0]
bmi_status = BMI_SUCCESS
case default
grid_origin = [-1.d0]
bmi_status = BMI_FAILURE
end select

The matching case should be case(1) instead of case(0), since all of the exchange items listed in the get_var_grid function are assigned grid id 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions