INTERFACE:
subroutine get_2d_field_ncdf_by_name(fn,varname,il,ih,jl,jh,break_on_missing,field)USES:
IMPLICIT NONEDESCRIPTION:
A two-dimensional netCDF variable with specified global range il < i < ih and jl < j < jh is read into field. It is checked if the sizes of the fields correspond exactly. When calling this funtions, remember that FORTRAN netCDF variables start with index 1. INPUT PARAMETERS:
character(len=*), intent(in) :: fn,varname integer, intent(in) :: il,ih,jl,jh logical, intent(in) :: break_on_missingOUTPUT PARAMETERS:
REALTYPE, intent(out) :: field(:,:)REVISION HISTORY:
Original author(s): Karsten Bolding, Lars UmlaufLOCAL VARIABLES:
integer, dimension(2) :: start integer, dimension(2) :: edges integer, dimension(2) :: ubounds integer :: status,ncid,varid