New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6035 for branches/2015/dev_MetOffice_merge_2015/NEMOGCM – NEMO

Ignore:
Timestamp:
2015-12-11T12:13:32+01:00 (8 years ago)
Author:
timgraham
Message:

Merged branches/2014/dev_r4650_UKMO10_Tidally_Meaned_Diagnostics into branch

Location:
branches/2015/dev_MetOffice_merge_2015/NEMOGCM
Files:
7 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/CONFIG/AMM12/EXP00/iodef.xml

    r5385 r6035  
    2525      <file_group id="1ts" output_freq="1ts"  output_level="10" enabled=".TRUE."/> <!-- 1 time step files --> 
    2626 
    27       <file_group id="1h" output_freq="1h"  output_level="10" enabled=".TRUE."/> <!-- 1h files --> 
     27<!--old      <file_group id="1h" output_freq="1h"  output_level="10" enabled=".TRUE."/> old --> <!-- 1h files -->  
     28   <!-- TMB files --> 
     29      <file_group id="1h" output_freq="1h"  output_level="10" enabled=".TRUE."  >                       
     30 
     31   <file id="file9" name_suffix="_shelftmb_grid_T" description="ocean T grid variables" enabled=".TRUE." > 
     32     <field field_ref="top_temp"           name="votemper_top"   operation="instant" enabled=".TRUE." /> 
     33     <field field_ref="mid_temp"           name="votemper_mid"   operation="instant" enabled=".TRUE." /> 
     34     <field field_ref="bot_temp"           name="votemper_bot"   operation="instant" enabled=".TRUE." /> 
     35     <field field_ref="sshnmasked"         name="sossheig"       operation="instant" enabled=".TRUE." />  
     36     <field field_ref="top_sal"            name="vosaline_top"   operation="instant" enabled=".TRUE." /> 
     37     <field field_ref="mid_sal"            name="vosaline_mid"   operation="instant" enabled=".TRUE." /> 
     38     <field field_ref="bot_sal"            name="vosaline_bot"   operation="instant" enabled=".TRUE." /> 
     39   </file> 
     40 
     41   <file id="file10" name_suffix="_shelftmb_grid_U" description="TMB ocean U grid variables" enabled=".TRUE." > 
     42     <field field_ref="top_u"         name="vozocrtx_top"   operation="instant" /> 
     43     <field field_ref="mid_u"         name="vozocrtx_mid"   operation="instant" /> 
     44     <field field_ref="bot_u"         name="vozocrtx_bot"   operation="instant" /> 
     45     <field field_ref="baro_u"        name="vobtcrtx"       operation="instant" /> 
     46   </file> 
     47 
     48   <file id="file11" name_suffix="_shelftmb_grid_V" description="TMB ocean V grid variables" enabled=".TRUE." > 
     49     <field field_ref="top_v"         name="vomecrty_top"   operation="instant" /> 
     50     <field field_ref="mid_v"         name="vomecrty_mid"   operation="instant" /> 
     51     <field field_ref="bot_v"         name="vomecrty_bot"   operation="instant" /> 
     52     <field field_ref="baro_v"        name="vobtcrty"       operation="instant" /> 
     53   </file> 
     54 
     55      </file_group> 
     56 
    2857      <file_group id="2h" output_freq="2h"  output_level="10" enabled=".TRUE."/> <!-- 2h files --> 
    2958      <file_group id="3h" output_freq="3h"  output_level="10" enabled=".TRUE."/> <!-- 3h files -->      
    3059      <file_group id="4h" output_freq="4h"  output_level="10" enabled=".TRUE."/> <!-- 4h files --> 
    3160      <file_group id="6h" output_freq="6h"  output_level="10" enabled=".TRUE."/> <!-- 6h files --> 
     61 
     62      <file_group id="25h_mean" output_freq="1d" output_level="10" enabled=".TRUE."> 
     63 
     64 
     65     <file id="file12" name_suffix="_25hourm_grid_T" description="ocean T grid variables, 25h meaned" enabled=".TRUE." > 
     66     <field field_ref="temper25h"   name="votemper"  operation="instant" enabled=".TRUE."/> 
     67     <field field_ref="tempis25h"   name="votempis"  operation="instant" enabled=".TRUE."/> 
     68     <field field_ref="salin25h"    name="vosaline"  operation="instant" enabled=".TRUE."/> 
     69     <field field_ref="ssh25h"      name="sossheig"  operation="instant" enabled=".TRUE."/> 
     70    </file> 
     71 
     72     <file id="file13" name_suffix="_25hourm_grid_U" description="ocean U grid variables, 25h meaned" enabled=".TRUE." > 
     73     <field field_ref="vozocrtx25h" name="vozocrtx"  operation="instant" enabled=".TRUE."/> 
     74    </file> 
     75 
     76     <file id="file14" name_suffix="_25hourm_grid_V" description="ocean V grid variables, 25h meaned" enabled=".TRUE." > 
     77     <field field_ref="vomecrty25h" name="vomecrty"  operation="instant" enabled=".TRUE."/> 
     78    </file> 
     79 
     80     <file id="file15" name_suffix="_25hourm_grid_W" description="ocean W grid variables, 25h meaned" enabled=".TRUE." > 
     81     <field field_ref="vomecrtz25h"          name="vomerctz"  operation="instant" enabled=".TRUE."/> 
     82     <field field_ref="woce"                 name="vovecrtz"  operation="instant" enabled=".TRUE."/> 
     83     <field field_ref="avt25h"               name="votkeavt"  operation="instant" enabled=".TRUE."/> 
     84     <field field_ref="avm25h"               name="votkeavm"  operation="instant" enabled=".TRUE."/> 
     85     <field field_ref="tke25h"               name="votke"  operation="instant" enabled=".TRUE."/> 
     86     <field field_ref="mxln25h"              name="mxln"   operation="instant" enabled=".TRUE."/> 
     87    </file> 
     88      </file_group> 
    3289      
    3390      <file_group id="1d" output_freq="1d"  output_level="10" enabled=".TRUE."> <!-- 1d files --> 
     
    98155      <file_group id="5y"  output_freq="5y" output_level="10" enabled=".TRUE."/> <!-- real 5y files --> 
    99156      <file_group id="10y" output_freq="10y" output_level="10" enabled=".TRUE."/> <!-- real 10y files --> 
     157 
    100158 
    101159   </file_definition> 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/CONFIG/AMM12/EXP00/namelist_cfg

    r5930 r6035  
    452452!----------------------------------------------------------------------- 
    453453/ 
     454!----------------------------------------------------------------------- 
     455&nam_diatmb  !  Top Middle Bottom Output 
     456!----------------------------------------------------------------------- 
     457   ln_diatmb  = .true.    !  Choose Top Middle and Bottom output or not 
     458/ 
     459!----------------------------------------------------------------------- 
     460&nam_dia25h  !  25h Mean Output 
     461!----------------------------------------------------------------------- 
     462   ln_dia25h  = .true.    ! Choose 25h mean output or not 
     463/ 
     464 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/CONFIG/SHARED/field_def.xml

    r6006 r6035  
    10411041      <field field_ref="woce"         name="wo"       long_name="ocean vertical velocity"  /> 
    10421042    </field_group> 
    1043      
     1043 
     1044       <!-- TMB diagnostic output --> 
     1045    <field_group  id="1h_grid_T_tmb" grid_ref="grid_T_2D" operation="instant"> 
     1046     <field id="top_temp"           name="votemper_top"  unit="degC"  /> 
     1047     <field id="mid_temp"           name="votemper_mid"  unit="degC"  /> 
     1048     <field id="bot_temp"           name="votemper_bot"  unit="degC"  /> 
     1049     <field id="top_sal"            name="vosaline_top"  unit="psu"   /> 
     1050     <field id="mid_sal"            name="vosaline_mid"  unit="psu"   /> 
     1051     <field id="bot_sal"            name="vosaline_bot"  unit="psu"   /> 
     1052     <field id="sshnmasked"         name="sossheig"      unit="m"     />  
     1053   </field_group> 
     1054    <field_group  id="1h_grid_U_tmb" grid_ref="grid_U_2D" operation="instant"> 
     1055     <field id="top_u"           name="vozocrtx_top"  unit="m/s"  /> 
     1056     <field id="mid_u"           name="vozocrtx_mid"  unit="m/s"  /> 
     1057     <field id="bot_u"           name="vozocrtx_bot"  unit="m/s"  /> 
     1058     <field id="baro_u"          name="vobtcrtx"      unit="m/s"  /> 
     1059   </field_group> 
     1060    <field_group  id="1h_grid_V_tmb" grid_ref="grid_V_2D" operation="instant"> 
     1061     <field id="top_v"           name="vomecrty_top"  unit="m/s"  /> 
     1062     <field id="mid_v"           name="vomecrty_mid"  unit="m/s"  /> 
     1063     <field id="bot_v"           name="vomecrty_bot"  unit="m/s"  /> 
     1064     <field id="baro_v"          name="vobtcrty"      unit="m/s"  /> 
     1065   </field_group> 
     1066       <!-- 25h diagnostic output --> 
     1067      <field_group id="25h_grid_T" grid_ref="grid_T_3D" operation="instant"> 
     1068   <field id="temper25h"         name="potential temperature 25h mean"    unit="degC" /> 
     1069   <field id="tempis25h"         name="insitu temperature 25h mean"    unit="degC" /> 
     1070   <field id="salin25h"          name="salinity 25h mean"                 unit="psu"  /> 
     1071   <field id="ssh25h"            name="sea surface height 25h mean"  grid_ref="grid_T_2D"      unit="m"    /> 
     1072      </field_group> 
     1073 
     1074      <field_group id="25h_grid_U" grid_ref="grid_U_3D" operation="instant" > 
     1075   <field id="vozocrtx25h"         name="i current 25h mean"    unit="m/s"   /> 
     1076      </field_group> 
     1077 
     1078      <field_group id="25h_grid_V" grid_ref="grid_V_3D" operation="instant"> 
     1079   <field id="vomecrty25h"         name="j current 25h mean"    unit="m/s"    /> 
     1080      </field_group> 
     1081 
     1082      <field_group id="25h_grid_W" grid_ref="grid_W_3D" operation="instant"> 
     1083   <field id="vomecrtz25h"         name="k current 25h mean"                 unit="m/s"      /> 
     1084   <field id="avt25h"             name="vertical diffusivity25h mean"       unit="m2/s" /> 
     1085   <field id="avm25h"              name="vertical viscosity 25h mean"        unit="m2/s" /> 
     1086   <field id="tke25h"              name="turbulent kinetic energy 25h mean" /> 
     1087   <field id="mxln25h"             name="mixing length 25h mean"             unit="m" /> 
     1088      </field_group> 
     1089 
     1090 
    10441091 
    10451092   </field_definition> 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/CONFIG/SHARED/namelist_ref

    r6012 r6035  
    12551255   ln_diurnal_only = .false. 
    12561256/ 
     1257!----------------------------------------------------------------------- 
     1258&nam_diatmb  !  Top Middle Bottom Output 
     1259!----------------------------------------------------------------------- 
     1260   ln_diatmb  = .false.    !  Choose Top Middle and Bottom output or not 
     1261/ 
     1262!----------------------------------------------------------------------- 
     1263&nam_dia25h  !  25h Mean Output 
     1264!----------------------------------------------------------------------- 
     1265   ln_dia25h  = .false.    ! Choose 25h mean output or not 
     1266/ 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90

    r6010 r6035  
    4343   USE in_out_manager  ! I/O manager 
    4444   USE diadimg         ! dimg direct access file format output 
     45   USE diatmb          ! Top,middle,bottom output 
     46   USE dia25h          ! 25h Mean output 
    4547   USE iom 
    4648   USE ioipsl 
     
    382384      CALL wrk_dealloc( jpi , jpj, jpk , z3d ) 
    383385      ! 
     386      ! If we want tmb values  
     387 
     388      IF (ln_diatmb) THEN 
     389         CALL dia_tmb  
     390      ENDIF  
     391      IF (ln_dia25h) THEN 
     392         CALL dia_25h( kt ) 
     393      ENDIF  
     394 
    384395      IF( nn_timing == 1 )   CALL timing_stop('dia_wri') 
    385396      ! 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r6012 r6035  
    4040   USE timing          ! Timing     
    4141   USE sbcapr          ! surface boundary condition: atmospheric pressure 
     42   USE diatmb          ! Top,middle,bottom output 
    4243   USE dynadv, ONLY: ln_dynadv_vec 
    4344#if defined key_agrif 
     
    4748   USE asminc          ! Assimilation increment 
    4849#endif 
     50 
    4951 
    5052   IMPLICIT NONE 
     
    146148      INTEGER  ::   ikbu, ikbv, noffset      ! local integers 
    147149      INTEGER  ::   iktu, iktv               ! local integers 
     150      REAL(wp) ::   zmdi 
    148151      REAL(wp) ::   zraur, z1_2dt_b, z2dt_bf    ! local scalars 
    149152      REAL(wp) ::   zx1, zy1, zx2, zy2          !   -      - 
     
    171174      CALL wrk_alloc( jpi, jpj, zhf ) 
    172175      ! 
     176      zmdi=1.e+20                               !  missing data indicator for masking 
    173177      !                                         !* Local constant initialization 
    174178      z1_12 = 1._wp / 12._wp  
     
    950954      CALL wrk_dealloc( jpi, jpj, zhf ) 
    951955      ! 
     956      IF ( ln_diatmb ) THEN 
     957         CALL iom_put( "baro_u" , un_b*umask(:,:,1)+zmdi*(1-umask(:,:,1 ) ) )  ! Barotropic  U Velocity 
     958         CALL iom_put( "baro_v" , vn_b*vmask(:,:,1)+zmdi*(1-vmask(:,:,1 ) ) )  ! Barotropic  V Velocity 
     959      ENDIF 
    952960      IF( nn_timing == 1 )  CALL timing_stop('dyn_spg_ts') 
    953961      ! 
  • branches/2015/dev_MetOffice_merge_2015/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r6017 r6035  
    9090   USE stopar 
    9191   USE stopts 
     92   USE diatmb          ! Top,middle,bottom output 
     93   USE dia25h          ! 25h mean output 
    9294 
    9395   IMPLICIT NONE 
     
    497499      IF( lk_asminc     )   CALL asm_inc_init   ! Initialize assimilation increments 
    498500      IF(lwp) WRITE(numout,*) 'Euler time step switch is ', neuler 
     501                            CALL dia_tmb_init  ! TMB outputs 
     502                            CALL dia_25h_init  ! 25h mean  outputs 
     503 
    499504      ! 
    500505   END SUBROUTINE nemo_init 
Note: See TracChangeset for help on using the changeset viewer.