Changeset db712a8 in flexpart.git for src/readwind_nests.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/readwind_nests.f90

    rb0434e1 rdb712a8  
    347347! -add check for if one of clwc/ciwc missing (error),
    348348!    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
    351349        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.
     350          clwchn(i,j,nlev_ec-k+2,n,l)=zsec4(nxn(l)*(nyn(l)-j-1)+i+1)
     351          readclouds_nest(l)=.true.
     352          sumclouds_nest(l)=.false.
    355353        endif
    356354        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)
     355          ciwchn(i,j,nlev_ec-k+2,n,l)=zsec4(nxn(l)*(nyn(l)-j-1)+i+1)
    358356        endif
    359357!ZHG end
    360358!ESO read qc (=clwc+ciwc)
    361359        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.
     360          clwchn(i,j,nlev_ec-k+2,n,l)=zsec4(nxn(l)*(nyn(l)-j-1)+i+1)
     361          readclouds_nest(l)=.true.
     362          sumclouds_nest(l)=.true.
    365363        endif
    366364
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG