Changeset 263 for palm/trunk/SOURCE/close_file.f90
- Timestamp:
- Mar 18, 2009 12:26:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/close_file.f90
r4 r263 2 2 3 3 !------------------------------------------------------------------------------! 4 ! Actualrevisions:4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! Output of NetCDF messages with aid of message handling routine. 7 7 ! 8 8 ! Former revisions: … … 403 403 IF ( myid == 0 .AND. netcdf_output ) THEN 404 404 nc_stat = NF90_CLOSE( id_set_xy(0) ) 405 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(44 )405 CALL handle_netcdf_error( 'close_file', 44 ) 406 406 ENDIF 407 407 … … 410 410 IF ( myid == 0 .AND. netcdf_output ) THEN 411 411 nc_stat = NF90_CLOSE( id_set_xz(0) ) 412 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(45 )412 CALL handle_netcdf_error( 'close_file', 45 ) 413 413 ENDIF 414 414 … … 417 417 IF ( myid == 0 .AND. netcdf_output ) THEN 418 418 nc_stat = NF90_CLOSE( id_set_yz(0) ) 419 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(46 )419 CALL handle_netcdf_error( 'close_file', 46 ) 420 420 ENDIF 421 421 … … 424 424 IF ( myid == 0 .AND. netcdf_output ) THEN 425 425 nc_stat = NF90_CLOSE( id_set_pr ) 426 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(47 )426 CALL handle_netcdf_error( 'close_file', 47 ) 427 427 ENDIF 428 428 … … 431 431 IF ( myid == 0 .AND. netcdf_output ) THEN 432 432 nc_stat = NF90_CLOSE( id_set_ts ) 433 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(48 )433 CALL handle_netcdf_error( 'close_file', 48 ) 434 434 ENDIF 435 435 … … 438 438 IF ( myid == 0 .AND. netcdf_output ) THEN 439 439 nc_stat = NF90_CLOSE( id_set_3d(0) ) 440 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(49 )440 CALL handle_netcdf_error( 'close_file', 49 ) 441 441 ENDIF 442 442 … … 445 445 IF ( myid == 0 .AND. netcdf_output ) THEN 446 446 nc_stat = NF90_CLOSE( id_set_sp ) 447 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(50 )447 CALL handle_netcdf_error( 'close_file', 50 ) 448 448 ENDIF 449 449 … … 452 452 IF ( netcdf_output ) THEN 453 453 nc_stat = NF90_CLOSE( id_set_prt ) 454 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(51 )454 CALL handle_netcdf_error( 'close_file', 51 ) 455 455 ENDIF 456 456 … … 459 459 IF ( netcdf_output ) THEN 460 460 nc_stat = NF90_CLOSE( id_set_pts ) 461 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(412 )461 CALL handle_netcdf_error( 'close_file', 412 ) 462 462 ENDIF 463 463 … … 466 466 IF ( myid == 0 .AND. netcdf_output ) THEN 467 467 nc_stat = NF90_CLOSE( id_set_xy(1) ) 468 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(52 )468 CALL handle_netcdf_error( 'close_file', 52 ) 469 469 ENDIF 470 470 … … 473 473 IF ( myid == 0 .AND. netcdf_output ) THEN 474 474 nc_stat = NF90_CLOSE( id_set_xz(1) ) 475 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(352 )475 CALL handle_netcdf_error( 'close_file', 352 ) 476 476 ENDIF 477 477 … … 480 480 IF ( myid == 0 .AND. netcdf_output ) THEN 481 481 nc_stat = NF90_CLOSE( id_set_yz(1) ) 482 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(353 )482 CALL handle_netcdf_error( 'close_file', 353 ) 483 483 ENDIF 484 484 … … 487 487 IF ( myid == 0 .AND. netcdf_output ) THEN 488 488 nc_stat = NF90_CLOSE( id_set_3d(1) ) 489 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error(353 )489 CALL handle_netcdf_error( 'close_file', 353 ) 490 490 ENDIF 491 491
Note: See TracChangeset
for help on using the changeset viewer.