check_n_observationfile Subroutine

public subroutine check_n_observationfile(fn, nn)

Uses

    • netcdf

@author Wolfgang Kurtz, Guowei He @date 21.03.2022 @brief Return number of observations from file @param[in] fn Filename of the observation file @param[out] nn number of observations in fn @details Reads the content of the variable (!) named no_obs from NetCDF file fn.

Uses  subroutines from the NetCDF module.

The result is returned in `nn`.

The result is used to decide if the next observation file is
used or not.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fn
integer, intent(out) :: nn