Changeset 10221
- Timestamp:
- 2018-10-25T11:09:53+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/dev_r10037_mppmask/src/OCE/LBC/mppini.F90
r9950 r10221 632 632 INTEGER :: ios !: iostat error flag 633 633 INTEGER :: ijstartrow ! temporary integers 634 REAL(wp), DIMENSION(jpiglo,jpjglo) :: z bot, zbdy ! global workspace634 REAL(wp), DIMENSION(jpiglo,jpjglo) :: zmsk, zbdy ! global workspace 635 635 REAL(wp) :: zidom , zjdom ! local scalars 636 636 NAMELIST/nambdy/ ln_bdy, nb_bdy, ln_coords_file, cn_coords_file, & … … 646 646 CALL iom_open( cn_domcfg, inum ) 647 647 ! 648 ! ocean bottom level649 CALL iom_get( inum, jpdom_unknown, ' bottom_level' , zbot, lrowattr=ln_use_jattr ) ! nb of ocean T-points648 ! mpp mask (used to define land processor) 649 CALL iom_get( inum, jpdom_unknown, 'mppmask' , zmsk , lrowattr=ln_use_jattr ) ! nb of ocean T-points 650 650 ! 651 651 CALL iom_close( inum ) 652 652 ! 653 653 ! 2D ocean mask (=1 if at least one level of the water column is ocean, =0 otherwise) 654 WHERE( z bot(:,:) > 0 ) ; kmask(:,:) = 1654 WHERE( zmsk(:,:) > 0 ) ; kmask(:,:) = 1 655 655 ELSEWHERE ; kmask(:,:) = 0 656 656 END WHERE
Note: See TracChangeset
for help on using the changeset viewer.