Skip to content

Bug: mpas compute_u_with_rbf returns the last ensemble member value for the whole esemble #861

Open
@hkershaw-brown

Description

@hkershaw-brown

Originally noted in #753

In compute_u_with_rbf there is a loop around ens_size, for get_reconstruct but uval(1:ens_size) is set to set to the single value ureconstructzonal/ureconstructmeridional so you are getting the whole ensemble set each step of the loop

whole ensemble == last value from the loop.

do e = 1, ens_size
call get_reconstruct(nedges, lat*deg2rad, lon*deg2rad, &
coeffs_reconstruct, on_a_sphere, veldata(:, e), &
ureconstructx, ureconstructy, ureconstructz, &
ureconstructzonal, ureconstructmeridional)
if (zonal) then
uval = ureconstructzonal
else
uval = ureconstructmeridional
endif
enddo

Originally posted by @hkershaw-brown in #753

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingmpasModel for Prediction Across Scales (MPAS)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions