Changeset 359 for trunk/NEMO/OPA_SRC/DIA/diawri.F90
- Timestamp:
- 2005-12-21T11:46:45+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DIA/diawri.F90
r352 r359 98 98 !! ! 99-02 (E. Guilyardi) name of netCDF files + variables 99 99 !! 8.5 ! 02-09 (G. Madec) F90: Free form and module 100 !! 9.0 ! 05-11 (V. Garnier) Surface pressure gradient organization 100 101 !!---------------------------------------------------------------------- 101 102 !! * Modules used … … 237 238 CALL histdef( nid_T, "sosaline", "Sea Surface Salinity" , "PSU" , & ! sss 238 239 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 239 #if defined key_dynspg_fsc 240 #if defined key_dynspg_rl 241 CALL histdef( nid_T, "sobarstf","Barotropic StreamFunction" , "m3/s2" , & ! bsf 242 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 243 #else 240 244 CALL histdef( nid_T, "sossheig", "Sea Surface Height" , "m" , & ! ssh 241 245 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 242 #else 243 CALL histdef( nid_T, "sobarstf","Barotropic StreamFunction" , "m3/s2" , & ! bsf 244 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 245 #endif 246 #if defined key_dynspg_fsc && defined key_ice_lim 246 #endif 247 #if ! defined key_dynspg_rl && defined key_ice_lim 247 248 ! sowaflup = sowaflep + sorunoff + sowafldp + a term associated to 248 249 ! internal damping to Levitus that can be diagnosed from others … … 325 326 CALL histdef( nid_U, "sozotaux", "Wind Stress along i-axis" , "N/m2" , & ! taux 326 327 & jpi, jpj, nh_U, 1 , 1, 1 , - 99, 32, clop, zsto, zout ) 327 #if ! defined key_dynspg_fsc328 #if defined key_dynspg_rl 328 329 CALL histdef( nid_U, "sozospgx", "Zonal Surface Pressure Gradient" , "N/kg" , & ! spgu 329 330 & jpi, jpj, nh_U, 1 , 1, 1 , - 99, 32, clop, zsto, zout ) … … 342 343 CALL histdef( nid_V, "sometauy", "Wind Stress along j-axis" , "N/m2" , & ! tauy 343 344 & jpi, jpj, nh_V, 1 , 1, 1 , - 99, 32, clop, zsto, zout ) 344 #if ! defined key_dynspg_fsc345 #if defined key_dynspg_rl 345 346 CALL histdef( nid_V, "somespgy", "Meridional Surface Pressure Grad." , "N/kg" , & ! spgv 346 347 & jpi, jpj, nh_V, 1 , 1, 1 , - 99, 32, clop, zsto, zout ) … … 407 408 CALL histwrite( nid_T, "sosstsst", it, tn(:,:,1) , ndim_hT, ndex_hT ) ! sea surface temperature 408 409 CALL histwrite( nid_T, "sosaline", it, sn(:,:,1) , ndim_hT, ndex_hT ) ! sea surface salinity 409 #if defined key_dynspg_fsc 410 #if defined key_dynspg_rl 411 CALL histwrite( nid_T, "sobarstf", it, bsfn , ndim_hT, ndex_hT ) ! barotropic streamfunction 412 #else 410 413 CALL histwrite( nid_T, "sossheig", it, sshn , ndim_hT, ndex_hT ) ! sea surface height 411 #else 412 CALL histwrite( nid_T, "sobarstf", it, bsfn , ndim_hT, ndex_hT ) ! barotropic streamfunction 413 #endif 414 #if defined key_dynspg_fsc && defined key_ice_lim 414 #endif 415 #if ! defined key_dynspg_rl && defined key_ice_lim 415 416 CALL histwrite( nid_T, "iowaflup", it, fsalt(:,:) , ndim_hT, ndex_hT ) ! ice=>ocean water flux 416 417 CALL histwrite( nid_T, "sowaflep", it, fmass(:,:) , ndim_hT, ndex_hT ) ! atmos=>ocean water flux … … 460 461 #endif 461 462 CALL histwrite( nid_U, "sozotaux", it, taux , ndim_hU, ndex_hU ) ! i-wind stress 462 #if ! defined key_dynspg_fsc463 #if defined key_dynspg_rl 463 464 CALL lbc_lnk( spgu, 'U', -1. ) 464 465 CALL histwrite( nid_U, "sozospgx", it, spgu , ndim_hU, ndex_hU ) ! i-surf. press. grad. … … 471 472 #endif 472 473 CALL histwrite( nid_V, "sometauy", it, tauy , ndim_hV, ndex_hV ) ! j-wind stress 473 #if ! defined key_dynspg_fsc474 #if defined key_dynspg_rl 474 475 CALL lbc_lnk( spgv, 'V', -1. ) 475 476 CALL histwrite( nid_V, "somespgy", it, spgv , ndim_hV, ndex_hV ) ! j-surf. pressure grad. … … 534 535 !! 8.5 ! 02-06 (A.Bozec, E. Durand) Original code (diainit.F) 535 536 !! 9.0 ! 02-12 (G. Madec) merge of diabort and diainit, F90 537 !! " ! 05-11 (V. Garnier) Surface pressure gradient organization 536 538 !!---------------------------------------------------------------------- 537 539 !! * Modules used … … 584 586 CALL histdef( id_i, "votemper", "Temperature" , "C" , & ! temperature 585 587 & jpi, jpj, nh_i, jpk, 1, jpk, nz_i, 32, clop, zsto, zout ) 588 #if defined key_dynspg_rl 589 CALL histdef( id_i, "sobarstf","Barotropic StreamFunction", "m3/s2" , & ! bsf 590 & jpi, jpj, nh_i, 1 , 1, 1 , nz_i, 32, clop, zsto, zout ) 591 #else 592 CALL histdef( id_i, "sossheig", "Sea Surface Height" , "m" , & ! ssh 593 & jpi, jpj, nh_i, 1 , 1, 1 , nz_i, 32, clop, zsto, zout ) 594 #endif 586 595 CALL histdef( id_i, "vozocrtx", "Zonal Current" , "m/s" , & ! zonal current 587 596 & jpi, jpj, nh_i, jpk, 1, jpk, nz_i, 32, clop, zsto, zout ) … … 615 624 CALL histwrite( id_i, "votemper", 1, tn , jpi*jpj*jpk, idex ) ! now temperature 616 625 CALL histwrite( id_i, "vosaline", 1, sn , jpi*jpj*jpk, idex ) ! now salinity 626 #if defined key_dynspg_rl 627 CALL histwrite( id_i, "sobarstf", 1, bsfn , jpi*jpj , idex ) ! barotropic streamfunction 628 #else 629 CALL histwrite( id_i, "sossheig", 1, sshn , jpi*jpj , idex ) ! sea surface height 630 #endif 617 631 CALL histwrite( id_i, "vozocrtx", 1, un , jpi*jpj*jpk, idex ) ! now i-velocity 618 632 CALL histwrite( id_i, "vomecrty", 1, vn , jpi*jpj*jpk, idex ) ! now j-velocity
Note: See TracChangeset
for help on using the changeset viewer.