Skip to content

mpp_get_global_domains does not output expected results #1835

@uramirez8707

Description

@uramirez8707

Describe the bug
The output to calls to mpp_get_global_domains is all zeroes instead of the expected results.

To Reproduce
The following code can reproduce the behavior:

call mpp_define_domains( (/1,nlon,1,nlat/), layout, Domain, xhalo=2, yhalo=2)

call mpp_get_global_domains(Domain,  xbegin=indices (:,1), xend=indices (:,2), &
                                     & ybegin=indices (:,3), yend=indices (:,4), &
                                     & xsize =indices (:,5), ysize=indices(:,6))

print *, "Indices:", indices

The output is all zeroes

Expected behavior
Either the output to mpp_get_global_domains should be correct, or the function should be deprecated and not used.

System Environment
This happens in any system

Additional context
N/A

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