read_profiles


INTERFACE:

    subroutine read_profiles(unit,nlev,cols,yy,mm,dd,hh,min,ss,z, &
                             profiles,lines,ierr)
DESCRIPTION:

Similar to read_obs() but used for reading profiles instead of scalar data. The data will be interpolated on the grid specified by nlev and z. The data can be read 'from the top' or 'from the bottom' depending on a flag in the actual file.


USES:

    IMPLICIT NONE
INPUT PARAMETERS:
    integer, intent(in)                 :: unit
    integer, intent(in)                 :: nlev,cols
    REALTYPE, intent(in)                :: z(:)
INPUT/OUTPUT PARAMETERS:
    integer, intent(inout)              :: lines
OUTPUT PARAMETERS:
    integer, intent(out)                :: yy,mm,dd,hh,min,ss
    REALTYPE, intent(out)               :: profiles(:,:)
    integer, intent(out)                :: ierr
REVISION HISTORY:
    Original author(s): Karsten Bolding & Hans Burchard
    See observation module



Karsten Bolding 2012-01-24