Changeset 8a65cb0 in flexpart.git for src/gridcheck.f90


Ignore:
Timestamp:
Mar 2, 2015, 3:11:55 PM (9 years ago)
Author:
Espen Sollum ATMOS <espen@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
1d207bb
Parents:
60403cd
Message:

Added code, makefile for dev branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gridcheck.f90

    rb7ae015 r8a65cb0  
    105105  character(len=20) :: gribFunction = 'gridcheck'
    106106
     107  !NIK 16.02.2015
     108  tot_blc_count=0 !count for total number of occurences of below cloud scavenging
     109  tot_inc_count=0 !count for total number of occurences of in cloud scavenging
     110
     111
    107112  iumax=0
    108113  iwmax=0
     
    190195  elseif ((parCat.eq.1).and.(parNum.eq.0).and.(typSurf.eq.105)) then ! Q
    191196    isec1(6)=133         ! indicatorOfParameter
     197!hg
     198  elseif ((parCat.eq.1).and.(parNum.eq.83).and.(typSurf.eq.105)) then ! clwc
     199    isec1(6)=246         ! indicatorOfParameter
     200  elseif ((parCat.eq.1).and.(parNum.eq.84).and.(typSurf.eq.105)) then ! ciwc
     201    isec1(6)=247         ! indicatorOfParameter
     202!hg end
    192203  elseif ((parCat.eq.3).and.(parNum.eq.0).and.(typSurf.eq.1)) then !SP
    193204    isec1(6)=134         ! indicatorOfParameter
     
    286297    yaux1=yaux1in
    287298    yaux2=yaux2in
    288      if (verbosity.gt.1) then
    289         print*, 'longitudeOfFirstGridPointInDegrees', xaux1in
    290         print*, 'longitudeOfLastGridPointInDegrees ', xaux2in
    291         print*, 'latitudeOfLastGridPointInDegrees  ', yaux1in
    292         print*, 'latitudeOfFirstGridPointInDegrees ', yaux2in
    293  
    294      endif
    295  
    296299    if (xaux1.gt.180.) xaux1=xaux1-360.0
    297300    if (xaux2.gt.180.) xaux2=xaux2-360.0
     
    451454  !********************
    452455
    453   write(*,'(a,2i7)') ' Vertical levels in ECMWF data: ', &
    454        nuvz+1,nwz
    455   !write(*,*)
    456   write(*,'(a)') ' Mother domain:'
    457   write(*,'(a,f10.5,a,f10.5,a,f10.5)') ' Longitude range: ', &
    458        xlon0,' to ',xlon0+(nx-1)*dx,'   Grid distance: ',dx
    459   write(*,'(a,f10.5,a,f10.5,a,f10.5)') ' Latitude range : ', &
    460        ylat0,' to ',ylat0+(ny-1)*dy,'   Grid distance: ',dy
    461   write(*,*)
    462 
     456  if (lroot) then
     457    write(*,'(a,2i7)') ' Vertical levels in ECMWF data: ', &
     458         nuvz+1,nwz
     459    write(*,*)
     460    write(*,'(a)') ' Mother domain:'
     461    write(*,'(a,f10.5,a,f10.5,a,f10.5)') '  Longitude range: ', &
     462         xlon0,' to ',xlon0+(nx-1)*dx,'   Grid distance: ',dx
     463    write(*,'(a,f10.5,a,f10.5,a,f10.5)') '  Latitude range : ', &
     464         ylat0,' to ',ylat0+(ny-1)*dy,'   Grid distance: ',dy
     465    write(*,*)
     466  end if
    463467
    464468  ! CALCULATE VERTICAL DISCRETIZATION OF ECMWF MODEL
     
    553557       '###### '
    554558  write(*,*)
    555   !write(*,'(a)') '!!! PLEASE INSERT A NEW CD-ROM AND   !!!'
    556   !write(*,'(a)') '!!! PRESS ANY KEY TO CONTINUE...     !!!'
    557   !write(*,'(a)') '!!! ...OR TERMINATE FLEXPART PRESSING!!!'
    558   !write(*,'(a)') '!!! THE "X" KEY...                   !!!'
    559   !write(*,*)
    560   !read(*,'(a)') opt
    561   !if(opt.eq.'X') then
     559  write(*,'(a)') '!!! PLEASE INSERT A NEW CD-ROM AND   !!!'
     560  write(*,'(a)') '!!! PRESS ANY KEY TO CONTINUE...     !!!'
     561  write(*,'(a)') '!!! ...OR TERMINATE FLEXPART PRESSING!!!'
     562  write(*,'(a)') '!!! THE "X" KEY...                   !!!'
     563  write(*,*)
     564  read(*,'(a)') opt
     565  if(opt.eq.'X') then
    562566    stop
    563   !else
    564   !  goto 5
    565   !endif
     567  else
     568    goto 5
     569  endif
    566570
    567571end subroutine gridcheck
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG