init_meteo_input_ncdf -

INTERFACE:

    subroutine init_meteo_input_ncdf(fn,nstart)
    IMPLICIT NONE
DESCRIPTION:

Prepares reading meteorological forcing from a NetCDF formatted file. Based on names of various variables the corresponding variable ids are obtained from the NetCDF file. The dimensions of the meteological grid is read (x,y,t). If the southpole is not (0,-90,0) a rotated grid is assumed and coefficients for interpolation between the meteorological grid and the model grid are calculated. The arry met_times are filled with the times where forcing is available. Finally, meteorological fields are initialised by a call to get_meteo_data_ncdf. INPUT PARAMETERS:

    character(len=*), intent(in)        :: fn
    integer, intent(in)                 :: nstart
REVISION HISTORY:
    See module for log.
LOCAL VARIABLES:
    integer         :: i,j,n
    integer         :: err
    logical         :: ok=.true.
    REALTYPE        :: olon,olat,rlon,rlat,x
    character(len=10) :: name_thisvar



kklingbe 2017-10-02