get_nout Subroutine

public subroutine get_nout(tstart, nout)

Uses

    • netcdf
    • neasyf

Get the index of the time dimension in the netCDF file that corresponds to a time no larger than tstart

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: tstart

Simulation time to find

integer, intent(out) :: nout

Index of time dimension