Changeset d6a0977 in flexpart.git for src/readwind.f90
- Timestamp:
- Dec 14, 2015, 3:10:04 PM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- f75967d
- Parents:
- 88d8c3d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/readwind.f90
r5f9d14a rd6a0977 106 106 hflswitch=.false. 107 107 strswitch=.false. 108 ! hg108 !ZHG test the grib fields that have lcwc without using them 109 109 ! readcloud=.false. 110 !hg end 110 111 111 levdiff2=nlev_ec-nwz+1 112 112 iumax=0 … … 190 190 elseif ((parCat.eq.1).and.(parNum.eq.0).and.(typSurf.eq.105)) then ! Q 191 191 isec1(6)=133 ! indicatorOfParameter 192 ! hg192 !ZHG ! READ CLOUD FIELD : assume these to be added together to one variable 193 193 elseif ((parCat.eq.1).and.(parNum.eq.83).and.(typSurf.eq.105)) then ! clwc 194 194 isec1(6)=246 ! indicatorOfParameter 195 elseif ((parCat.eq.1).and.(parNum.eq.84).and.(typSurf.eq.105)) then ! ciwc 196 isec1(6)=247 ! indicatorOfParameter 197 !hg end 195 ! ICE AND WATER IS ADDED TOGETHER IN NEW WINDFIELDS 196 ! elseif ((parCat.eq.1).and.(parNum.eq.84).and.(typSurf.eq.105)) then ! ciwc 197 ! isec1(6)=247 ! indicatorOfParameter 198 !ZHG end 198 199 elseif ((parCat.eq.3).and.(parNum.eq.0).and.(typSurf.eq.1)) then !SP 199 200 isec1(6)=134 ! indicatorOfParameter … … 226 227 elseif ((parCat.eq.4).and.(parNum.eq.9).and.(typSurf.eq.1)) then ! SR 227 228 isec1(6)=176 ! indicatorOfParameter 228 elseif ((parCat.eq.2).and.(parNum.eq.17) .or. parId .eq. 180) then ! EWSS 229 ! elseif ((parCat.eq.2).and.(parNum.eq.17) .or. parId .eq. 180) then ! EWSS --wrong 230 elseif ((parCat.eq.2).and.(parNum.eq.38) .or. parId .eq. 180) then ! EWSS --correct 229 231 isec1(6)=180 ! indicatorOfParameter 230 elseif ((parCat.eq.2).and.(parNum.eq.18) .or. parId .eq. 181) then ! NSSS 232 ! elseif ((parCat.eq.2).and.(parNum.eq.18) .or. parId .eq. 181) then ! NSSS --wrong 233 elseif ((parCat.eq.2).and.(parNum.eq.37) .or. parId .eq. 181) then ! NSSS --correct 231 234 isec1(6)=181 ! indicatorOfParameter 232 235 elseif ((parCat.eq.3).and.(parNum.eq.4)) then ! ORO … … 356 359 if(isec1(6).eq.131) iumax=max(iumax,nlev_ec-k+1) 357 360 if(isec1(6).eq.135) iwmax=max(iwmax,nlev_ec-k+1) 358 ! hgREADING CLOUD FIELDS ASWELL359 if(isec1(6).eq.246) then !! CLWC Cloud liquid water content 361 !ZHG READING CLOUD FIELDS ASWELL 362 if(isec1(6).eq.246) then !! CLWC Cloud liquid water content [kg/kg] 360 363 clwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1) 361 364 readclouds = .true. 362 !write(*,*) 'found water!' 365 !if (clwch(i,j,nlev_ec-k+2,n) .gt. 0) write(*,*) 'readwind: found water!', clwch(i,j,nlev_ec-k+2,n) 363 366 endif 364 if(isec1(6).eq.247) then !! CIWC Cloud ice water content365 ciwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1)367 ! if(isec1(6).eq.247) then !! CIWC Cloud ice water content 368 ! ciwch(i,j,nlev_ec-k+2,n)=zsec4(nxfield*(ny-j-1)+i+1) 366 369 !write(*,*) 'found ice!' 367 endif368 ! hgend370 ! endif 371 !ZHG end 369 372 370 373 end do … … 422 425 call shift_field(vvh,nxfield,ny,nuvzmax,nuvz,1,1) 423 426 call shift_field(wwh,nxfield,ny,nwzmax,nwz,1,1) 424 ! hg427 !ZHG 425 428 call shift_field(clwch,nxfield,ny,nuvzmax,nuvz,2,n) 426 429 call shift_field(ciwch,nxfield,ny,nuvzmax,nuvz,2,n) 427 ! hgend430 !ZHG end 428 431 429 432 endif
Note: See TracChangeset
for help on using the changeset viewer.