Changeset 632 for trunk/NEMO/OPA_SRC/DIA/diawri.F90
- Timestamp:
- 2007-03-02T17:45:17+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DIA/diawri.F90
r460 r632 120 120 CHARACTER (len=80) :: clname 121 121 !!---------------------------------------------------------------------- 122 122 123 123 ! 0. Initialisation 124 124 ! ----------------- 125 125 126 126 ! local variable for debugging 127 127 ll_print = .FALSE. … … 160 160 161 161 ! Define the NETCDF files (one per grid) 162 162 163 163 ! Compute julian date from starting date of the run 164 164 CALL ymds2ju( nyear, nmonth, nday, 0.e0, zjulian ) … … 175 175 WRITE(inum,*) clhstnam 176 176 CLOSE(inum) 177 177 178 178 ! Define the T grid FILE ( nid_T ) 179 179 180 180 CALL dia_nam( clhstnam, nwrite, 'grid_T' ) 181 181 IF(lwp) WRITE(numout,*) " Name of NETCDF file ", clhstnam ! filename … … 224 224 CALL histvert( nid_W, "depthw", "Vertical W levels", & ! Vertical grid: gdepw 225 225 & "m", ipk, gdepw_0, nz_W ) 226 226 227 227 228 228 ! Declare all the output fields as NETCDF variables … … 280 280 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 281 281 #endif 282 283 #if defined key_flx_core 284 CALL histdef( nid_T, "solhflup", "Latent Heat Flux Upward" , "W/m2" , & ! qla 285 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 286 CALL histdef( nid_T, "solwfldo", "Longwave Radiation downward" , "W/m2" , & ! qlw 287 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 288 CALL histdef( nid_T, "sosbhfup", "Sensible Heat Flux upward" , "W/m2" , & ! qsb 289 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 290 #endif 291 282 292 283 293 #if ( defined key_coupled && ! defined key_ice_lim ) … … 432 442 zw2d(:,:) = erp(:,:) * sn(:,:,1) * tmask(:,:,1) 433 443 CALL histwrite( nid_T, "sosafldp", it, zw2d , ndim_hT, ndex_hT ) ! salt flux damping 444 #endif 445 #if defined key_flx_core 446 CALL histwrite( nid_T, "solhflup", it, qla , ndim_hT, ndex_hT ) ! latent heat flux 447 CALL histwrite( nid_T, "solwfldo", it, qlw , ndim_hT, ndex_hT ) ! longwave heat flux 448 CALL histwrite( nid_T, "sosbhfup", it, qsb , ndim_hT, ndex_hT ) ! sensible heat flux 434 449 #endif 435 450 #if ( defined key_coupled && ! defined key_ice_lim ) … … 556 571 IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~ and forcing fields file created ' 557 572 IF(lwp) WRITE(numout,*) ' and named :', cdfile_name, '.nc' 558 573 559 574 ! 0. Initialisation 560 575 ! ----------------- 561 576 562 577 ! Define frequency of output and means 563 578 zdt = rdt … … 617 632 ! donne le nombre d'elements, et idex la liste des indices a sortir 618 633 idex(1) = 1 ! init to avoid compil warning 619 634 620 635 ! Write all fields on T grid 621 636 CALL histwrite( id_i, "votemper", 1, tn , jpi*jpj*jpk, idex ) ! now temperature … … 641 656 642 657 END SUBROUTINE dia_wri_state 643 658 644 659 #endif 645 660 !!======================================================================
Note: See TracChangeset
for help on using the changeset viewer.