Changeset 13204 for utils/tools/DOMAINcfg/src/domhgr.F90
- Timestamp:
- 2020-07-02T10:38:35+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools/DOMAINcfg/src/domhgr.F90
r12414 r13204 286 286 gphi0 = zphi1 + zsin_alpha * ze1deg * REAL( jpjglo-2 , wp ) 287 287 ! 288 IF( nprint==1 .AND. lwp ) THEN 289 WRITE(numout,*) ' ze1', ze1, 'cosalpha', zcos_alpha, 'sinalpha', zsin_alpha 290 WRITE(numout,*) ' ze1deg', ze1deg, 'glam0', glam0, 'gphi0', gphi0 291 ENDIF 288 ! WRITE(numout,*) ' ze1', ze1, 'cosalpha', zcos_alpha, 'sinalpha', zsin_alpha 289 ! WRITE(numout,*) ' ze1deg', ze1deg, 'glam0', glam0, 'gphi0', gphi0 292 290 ! 293 291 DO jj = 1, jpj … … 343 341 e1_e2v(:,:) = e1v(:,:) / e2v(:,:) 344 342 345 IF( lwp .AND. nn_print >=1 .AND. .NOT.ln_rstart) THEN ! Control print : Grid informations (if not restart)343 IF( lwp ) THEN ! Control print : Grid informations (if not restart) 346 344 WRITE(numout,*) 347 345 WRITE(numout,*) ' longitude and e1 scale factors' … … 434 432 ! ------------------------------------------ 435 433 ! The equator line must be the latitude coordinate axe 436 !(PM) be carefull with nperio/jperio434 !(PM) be carefull with nperio/jperio 437 435 IF( jperio == 2 ) THEN 438 436 znorme = SQRT( SUM( gphiu(:,2) * gphiu(:,2) ) ) / REAL( jpi ) … … 455 453 ! 456 454 INTEGER :: inum ! temporary logical unit 455 CHARACTER(LEN=135) :: coordinate_filename 457 456 !!---------------------------------------------------------------------- 458 457 ! … … 463 462 ENDIF 464 463 ! 465 CALL iom_open( 'coordinates', inum ) 464 IF (ln_read_cfg) THEN 465 coordinate_filename=TRIM(cn_domcfg) 466 ELSE 467 coordinate_filename='coordinates' 468 ENDIF 469 CALL iom_open( coordinate_filename, inum ) 466 470 ! 467 471 CALL iom_get( inum, jpdom_data, 'glamt', glamt, lrowattr=ln_use_jattr )
Note: See TracChangeset
for help on using the changeset viewer.