Changeset db712a8 in flexpart.git for src/gridcheck.f90


Ignore:
Timestamp:
Mar 3, 2016, 12:34:56 PM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
38b7917
Parents:
b0434e1
Message:

Completed handling of nested wind fields with cloud water (for wet deposition).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gridcheck.f90

    rb0434e1 rdb712a8  
    194194  elseif ((parCat.eq.1).and.(parNum.eq.83).and.(typSurf.eq.105)) then ! clwc
    195195    isec1(6)=246         ! indicatorOfParameter
    196     ! readclouds=.true.
    197     ! sumclouds=.false.
    198196  elseif ((parCat.eq.1).and.(parNum.eq.84).and.(typSurf.eq.105)) then ! ciwc
    199197    isec1(6)=247         ! indicatorOfParameter
     
    202200  elseif ((parCat.eq.201).and.(parNum.eq.31).and.(typSurf.eq.105)) then ! qc
    203201    isec1(6)=201031      ! indicatorOfParameter
    204     ! readclouds=.true.
    205     ! sumclouds=.true.
    206202  elseif ((parCat.eq.3).and.(parNum.eq.0).and.(typSurf.eq.1)) then !SP
    207203    isec1(6)=134         ! indicatorOfParameter
     
    366362  endif ! gotGrid
    367363
     364  if (nx.gt.nxmax) then
     365   write(*,*) 'FLEXPART error: Too many grid points in x direction.'
     366    write(*,*) 'Reduce resolution of wind fields.'
     367    write(*,*) 'Or change parameter settings in file par_mod.'
     368    write(*,*) nx,nxmax
     369    stop
     370  endif
     371
     372  if (ny.gt.nymax) then
     373   write(*,*) 'FLEXPART error: Too many grid points in y direction.'
     374    write(*,*) 'Reduce resolution of wind fields.'
     375    write(*,*) 'Or change parameter settings in file par_mod.'
     376    write(*,*) ny,nymax
     377    stop
     378  endif
     379
    368380  k=isec1(8)
    369381  if(isec1(6).eq.131) iumax=max(iumax,nlev_ec-k+1)
     
    410422  nwz =iwmax
    411423  if(nuvz.eq.nlev_ec) nwz=nlev_ec+1
    412 
    413   if (nx.gt.nxmax) then
    414    write(*,*) 'FLEXPART error: Too many grid points in x direction.'
    415     write(*,*) 'Reduce resolution of wind fields.'
    416     write(*,*) 'Or change parameter settings in file par_mod.'
    417     write(*,*) nx,nxmax
    418     stop
    419   endif
    420 
    421   if (ny.gt.nymax) then
    422    write(*,*) 'FLEXPART error: Too many grid points in y direction.'
    423     write(*,*) 'Reduce resolution of wind fields.'
    424     write(*,*) 'Or change parameter settings in file par_mod.'
    425     write(*,*) ny,nymax
    426     stop
    427   endif
    428424
    429425  if (nuvz+1.gt.nuvzmax) then
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG