Changeset b0434e1 in flexpart.git for src/readwind_nests.f90


Ignore:
Timestamp:
Feb 4, 2016, 9:38:22 AM (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:
db712a8
Parents:
9484483
Message:

Initial code to handle cloud water in nested wind fields (it is not completely implemented in this commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readwind_nests.f90

    r8a65cb0 rb0434e1  
    173173  elseif ((parCat.eq.1).and.(parNum.eq.0).and.(typSurf.eq.105)) then ! Q
    174174    isec1(6)=133         ! indicatorOfParameter
     175! ESO Cloud water is in a) fields CLWC and CIWC, *or* b) field QC
     176    elseif ((parCat.eq.1).and.(parNum.eq.83).and.(typSurf.eq.105)) then ! clwc
     177      isec1(6)=246         ! indicatorOfParameter
     178    elseif ((parCat.eq.1).and.(parNum.eq.84).and.(typSurf.eq.105)) then ! ciwc
     179      isec1(6)=247         ! indicatorOfParameter
     180! ESO qc(=clwc+ciwc):
     181    elseif ((parCat.eq.201).and.(parNum.eq.31).and.(typSurf.eq.105)) then ! qc
     182      isec1(6)=201031         ! indicatorOfParameter
    175183  elseif ((parCat.eq.3).and.(parNum.eq.0).and.(typSurf.eq.1)) then !SP
    176184    isec1(6)=134         ! indicatorOfParameter
     
    203211  elseif ((parCat.eq.4).and.(parNum.eq.9).and.(typSurf.eq.1)) then ! SR
    204212    isec1(6)=176         ! indicatorOfParameter
    205   elseif ((parCat.eq.2).and.(parNum.eq.17) .or. parId .eq. 180) then ! EWSS !added by mc to make it consisitent with new readwind.f90
     213  elseif ((parCat.eq.2).and.(parNum.eq.38) .or. parId .eq. 180) then ! EWSS !added by mc to make it consisitent with new readwind.f90
    206214    isec1(6)=180         ! indicatorOfParameter
    207   elseif ((parCat.eq.2).and.(parNum.eq.18) .or. parId .eq. 181) then ! NSSS !added by mc to make it consisitent with new readwind.f90
     215  elseif ((parCat.eq.2).and.(parNum.eq.37) .or. parId .eq. 181) then ! NSSS !added by mc to make it consisitent with new readwind.f90
    208216    isec1(6)=181         ! indicatorOfParameter
    209217  elseif ((parCat.eq.3).and.(parNum.eq.4)) then ! ORO
     
    335343        if(isec1(6).eq.131) iumax=max(iumax,nlev_ec-k+1)
    336344        if(isec1(6).eq.135) iwmax=max(iwmax,nlev_ec-k+1)
     345
     346! ESO TODO:
     347! -add check for if one of clwc/ciwc missing (error),
     348!    also if all 3 cw fields present, use qc and disregard the others
     349! -use same flags readclouds/sumclouds as in mother grid? this assumes
     350!    that both the nested and mother grids contain CW in same format
     351        if(isec1(6).eq.246) then  !! CLWC  Cloud liquid water content [kg/kg]
     352          clwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1)
     353          ! readclouds=.true.
     354          ! sumclouds=.false.
     355        endif
     356        if(isec1(6).eq.247) then  !! CIWC  Cloud ice water content
     357          ciwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1)
     358        endif
     359!ZHG end
     360!ESO read qc (=clwc+ciwc)
     361        if(isec1(6).eq.201031) then  !! QC  Cloud liquid water content [kg/kg]
     362          clwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1)
     363          ! readclouds=.true.
     364          ! sumclouds=.true.
     365        endif
     366
    337367
    338368      end do
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG