Changeset 14931 for utils/tools/DOMAINcfg/src/domngb.F90
- Timestamp:
- 2021-05-31T16:36:45+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools/DOMAINcfg/src/domngb.F90
r14623 r14931 46 46 INTEGER :: ik ! working level 47 47 INTEGER , DIMENSION(2) :: iloc 48 REAL(wp) :: zlon, zmini49 48 REAL(wp), DIMENSION(jpi,jpj) :: zglam, zgphi, zmask, zdist 50 49 !!-------------------------------------------------------------------- … … 60 59 END SELECT 61 60 62 zlon = MOD( plon + 720., 360. ) ! plon between 0 and 360 63 zglam(:,:) = MOD( zglam(:,:) + 720., 360. ) ! glam between 0 and 360 64 IF( zlon > 270. ) zlon = zlon - 360. ! zlon between -90 and 270 65 IF( zlon < 90. ) WHERE( zglam(:,:) > 180. ) zglam(:,:) = zglam(:,:) - 360. ! glam between -180 and 180 66 zglam(:,:) = zglam(:,:) - zlon 61 zdist = dist(plon, plat, zglam, zgphi) 67 62 68 63 IF( lk_mpp ) THEN
Note: See TracChangeset
for help on using the changeset viewer.