get_obsindex_currentobsfile Subroutine

public subroutine get_obsindex_currentobsfile(no_obs) bind(c,name='get_obsindex_currentobsfile')

@author Wolfgang Kurtz, Guowei He, Mukund Pondkule @date 03.03.2023 @brief Read observation index arrays for C-code @param[out] no_obs Number of observations @details This subroutine reads the observation index arrays for usage in the enkf_parflow.c for groundwater masking.

Only used, when ParFlow is one of the component models.

Index is for ParFlow-type observations

Only used in enkf_parflow.c with pf_gwmasking=2.

Outputs:

Number of observations in no_obs.

Index arrays that are set from NetCDF observation file: - tidx_obs - xidx_obs - yidx_obs - zidx_obs - ind_obs

Arguments

Type IntentOptional Attributes Name
integer, intent(out) :: no_obs