PDAFomi_get_local_ids_obs_f Subroutine

public subroutine PDAFomi_get_local_ids_obs_f(dim_obs_g, lradius, oc_f, cnt_lim, id_lim, disttype, domainsize)

Find observations inside or close to process domain

This routine finds observations that lie inside the local process sub-domain or within the distance LRADIUS around it. The observations are counted and an index array is initialized storing the indices of the process-local relevant full observations in the global full observation vector.

The routine has to be called by all filter processes

Revision history: * 2019-06 - Lars Nerger - Initial code * Later revisions - see repository log

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: dim_obs_g
real, intent(in) :: lradius
real, intent(in) :: oc_f(:,:)
integer, intent(out) :: cnt_lim
integer, intent(out) :: id_lim(:)
integer, intent(in) :: disttype
real, intent(in), optional :: domainsize(:)