Changeset 5311


Ignore:
Timestamp:
2015-05-29T10:34:05+02:00 (5 years ago)
Author:
cetlod
Message:

dev_r5204_CNRS_PISCES_dcy : define specific grid for zonal mean

Location:
branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM
Files:
14 edited

Legend:

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

    r5107 r5311  
    126126     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    127127     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     128     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     129     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     130     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    128131    </grid_definition>    
    129132  </context> 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef.xml

    r5107 r5311  
    152152     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    153153     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     154     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     155     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     156     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    154157    </grid_definition>    
    155158  </context> 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_ar5.xml

    r5107 r5311  
    262262     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    263263     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     264     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     265     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     266     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    264267    </grid_definition>     
    265268 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_crs.xml

    r5107 r5311  
    142142     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    143143     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     144     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     145     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     146     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    144147    </grid_definition>    
    145148  </context> 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_demo.xml

    r4153 r5311  
    100100     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    101101     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     102     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     103     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     104     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    102105    </grid_definition>     
    103106 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/EXP00/iodef_oldstyle.xml

    r4153 r5311  
    130130     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    131131     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     132     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     133     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     134     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    132135    </grid_definition>    
    133136  </context> 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM/cpp_ORCA2_LIM.fcm

    r4990 r5311  
    1 bld::tool::fppkeys key_trabbl key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput key_mpp_mpi key_diaobs key_asminc 
     1bld::tool::fppkeys key_trabbl key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput key_mpp_mpi key_diaobs key_asminc  
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM3/EXP00/iodef.xml

    r5127 r5311  
    318318     <grid id="grid_W_2D" domain_ref="grid_W"/> 
    319319     <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 
     320     <grid id="gznl_T_2D" domain_ref="gznl"/> 
     321     <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 
     322     <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 
    320323    </grid_definition>    
    321324  </context> 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/ORCA2_LIM3/cpp_ORCA2_LIM3.fcm

    r4994 r5311  
    1  bld::tool::fppkeys key_trabbl key_lim3 key_vvl key_dynspg_ts key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput key_mpp_mpi key_diaobs key_asminc 
     1 bld::tool::fppkeys key_trabbl key_lim3 key_vvl key_dynspg_ts key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_iomput key_mpp_mpi key_diaobs key_asminc  
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/SHARED/domain_def.xml

    r5147 r5311  
    66         <domain id="myzoom" zoom_ibegin="10" zoom_jbegin="10" zoom_ni="5" zoom_nj="5" /> 
    77         <domain id="1point" zoom_ibegin="10" zoom_jbegin="10" zoom_ni="1" zoom_nj="1" /> 
    8          <domain id="ptr" zoom_ibegin="0000"  zoom_jbegin="1" zoom_ni="1" zoom_nj="0000" /> 
    98         <!--   Eq section   --> 
    109         <domain id="EqT" zoom_ibegin="1" zoom_jbegin="0000" zoom_ni="0000" zoom_nj="1" /> 
     
    177176      </domain_group> 
    178177 
     178      <domain_group id="gznl"> 
     179         <domain id="ptr" long_name="zonal mean grid" zoom_ibegin="0000"  zoom_jbegin="1" zoom_ni="1" zoom_nj="0000" /> 
     180      </domain_group> 
     181 
     182 
    179183   </domain_definition>     
    180184  
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/SHARED/field_def.xml

    r5236 r5311  
    541541 
    542542      <!-- Poleward transport : ptr -->      
    543       <field_group id="diaptr" domain_ref="ptr"  >  
    544         <field id="zomsfglo"          long_name="Meridional Stream-Function: Global"           unit="Sv"       grid_ref="grid_W_3D" /> 
    545         <field id="zomsfatl"          long_name="Meridional Stream-Function: Atlantic"         unit="Sv"       grid_ref="grid_W_3D" /> 
    546         <field id="zomsfpac"          long_name="Meridional Stream-Function: Pacific"          unit="Sv"       grid_ref="grid_W_3D" /> 
    547         <field id="zomsfind"          long_name="Meridional Stream-Function: Indian"           unit="Sv"       grid_ref="grid_W_3D" /> 
    548         <field id="zomsfipc"          long_name="Meridional Stream-Function: Pacific+Indian"   unit="Sv"       grid_ref="grid_W_3D"  /> 
    549         <field id="zotemglo"          long_name="Zonal Mean Temperature : Global"              unit="C"        grid_ref="grid_T_3D" /> 
    550         <field id="zotematl"          long_name="Zonal Mean Temperature : Atlantic"            unit="C"        grid_ref="grid_T_3D" /> 
    551         <field id="zotempac"          long_name="Zonal Mean Temperature : Pacific"             unit="C"        grid_ref="grid_T_3D" /> 
    552         <field id="zotemind"          long_name="Zonal Mean Temperature : Indian"              unit="C"        grid_ref="grid_T_3D" /> 
    553         <field id="zotemipc"          long_name="Zonal Mean Temperature : Pacific+Indian"      unit="C"        grid_ref="grid_T_3D" /> 
    554         <field id="zosalglo"          long_name="Zonal Mean Salinity : Global"                 unit="PSU"      grid_ref="grid_T_3D"  /> 
    555         <field id="zosalatl"          long_name="Zonal Mean Salinity : Atlantic"               unit="PSU"      grid_ref="grid_T_3D"  /> 
    556         <field id="zosalpac"          long_name="Zonal Mean Salinity : Pacific"                unit="PSU"      grid_ref="grid_T_3D"  /> 
    557         <field id="zosalind"          long_name="Zonal Mean Salinity : Indian"                 unit="PSU"      grid_ref="grid_T_3D"  /> 
    558         <field id="zosalipc"          long_name="Zonal Mean Salinity : Pacific+Indian"         unit="PSU"      grid_ref="grid_T_3D"  /> 
    559         <field id="zosrfglo"          long_name="Zonal Mean Surface"                           unit="m2"       grid_ref="grid_T_3D" /> 
    560         <field id="zosrfatl"          long_name="Zonal Mean Surface : Atlantic"                unit="m2"       grid_ref="grid_T_3D" /> 
    561         <field id="zosrfpac"          long_name="Zonal Mean Surface : Pacific"                 unit="m2"       grid_ref="grid_T_3D" /> 
    562         <field id="zosrfind"          long_name="Zonal Mean Surface : Indian"                  unit="m2"       grid_ref="grid_T_3D" /> 
    563         <field id="zosrfipc"          long_name="Zonal Mean Surface : Pacific+Indian"          unit="m2"       grid_ref="grid_T_3D" /> 
    564         <field id="sophtadv"          long_name="Advective Heat Transport"                     unit="PW"       grid_ref="grid_T_2D" /> 
    565         <field id="sophtldf"          long_name="Diffusive Heat Transport"                     unit="PW"       grid_ref="grid_T_2D" /> 
    566         <field id="sopstadv"          long_name="Advective Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D" /> 
    567         <field id="sopstldf"          long_name="Diffusive Salt Transport"                     unit="Giga g/s" grid_ref="grid_T_2D" /> 
     543      <field_group id="diaptr" domain_ref="ptr" >  
     544        <field id="zomsfglo"          long_name="Meridional Stream-Function: Global"           unit="Sv"       grid_ref="gznl_W_3D" /> 
     545        <field id="zomsfatl"          long_name="Meridional Stream-Function: Atlantic"         unit="Sv"       grid_ref="gznl_W_3D" /> 
     546        <field id="zomsfpac"          long_name="Meridional Stream-Function: Pacific"          unit="Sv"       grid_ref="gznl_W_3D" /> 
     547        <field id="zomsfind"          long_name="Meridional Stream-Function: Indian"           unit="Sv"       grid_ref="gznl_W_3D" /> 
     548        <field id="zomsfipc"          long_name="Meridional Stream-Function: Pacific+Indian"   unit="Sv"       grid_ref="gznl_W_3D" /> 
     549        <field id="zotemglo"          long_name="Zonal Mean Temperature : Global"              unit="C"        grid_ref="gznl_T_3D" /> 
     550        <field id="zotematl"          long_name="Zonal Mean Temperature : Atlantic"            unit="C"        grid_ref="gznl_T_3D" /> 
     551        <field id="zotempac"          long_name="Zonal Mean Temperature : Pacific"             unit="C"        grid_ref="gznl_T_3D" /> 
     552        <field id="zotemind"          long_name="Zonal Mean Temperature : Indian"              unit="C"        grid_ref="gznl_T_3D" /> 
     553        <field id="zotemipc"          long_name="Zonal Mean Temperature : Pacific+Indian"      unit="C"        grid_ref="gznl_T_3D" /> 
     554        <field id="zosalglo"          long_name="Zonal Mean Salinity : Global"                 unit="PSU"      grid_ref="gznl_T_3D" /> 
     555        <field id="zosalatl"          long_name="Zonal Mean Salinity : Atlantic"               unit="PSU"      grid_ref="gznl_T_3D" /> 
     556        <field id="zosalpac"          long_name="Zonal Mean Salinity : Pacific"                unit="PSU"      grid_ref="gznl_T_3D" /> 
     557        <field id="zosalind"          long_name="Zonal Mean Salinity : Indian"                 unit="PSU"      grid_ref="gznl_T_3D" /> 
     558        <field id="zosalipc"          long_name="Zonal Mean Salinity : Pacific+Indian"         unit="PSU"      grid_ref="gznl_T_3D" /> 
     559        <field id="zosrfglo"          long_name="Zonal Mean Surface"                           unit="m2"       grid_ref="gznl_T_3D" /> 
     560        <field id="zosrfatl"          long_name="Zonal Mean Surface : Atlantic"                unit="m2"       grid_ref="gznl_T_3D" /> 
     561        <field id="zosrfpac"          long_name="Zonal Mean Surface : Pacific"                 unit="m2"       grid_ref="gznl_T_3D" /> 
     562        <field id="zosrfind"          long_name="Zonal Mean Surface : Indian"                  unit="m2"       grid_ref="gznl_T_3D" /> 
     563        <field id="zosrfipc"          long_name="Zonal Mean Surface : Pacific+Indian"          unit="m2"       grid_ref="gznl_T_3D" /> 
     564        <field id="sophtadv"          long_name="Advective Heat Transport"                     unit="PW"       grid_ref="gznl_T_2D" /> 
     565        <field id="sophtldf"          long_name="Diffusive Heat Transport"                     unit="PW"       grid_ref="gznl_T_2D" /> 
     566        <field id="sopstadv"          long_name="Advective Salt Transport"                     unit="Giga g/s" grid_ref="gznl_T_2D" /> 
     567        <field id="sopstldf"          long_name="Diffusive Salt Transport"                     unit="Giga g/s" grid_ref="gznl_T_2D" /> 
    568568      </field_group> 
    569569 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/CONFIG/cfg.txt

    r5147 r5311  
    66GYRE_BFM OPA_SRC TOP_SRC 
    77AMM12 OPA_SRC 
    8 ORCA2_LIM_PISCES OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC 
    9 ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 
    108ISOMIP OPA_SRC 
    119GYRE OPA_SRC 
     10ORCA2_LIM_PISCES OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC 
     11ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC 
    1212ORCA2_LIM3 OPA_SRC LIM_SRC_3 NST_SRC 
    13 ORCA2_LIM OPA_SRC LIM_SRC_2 NST_SRC 
     13ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90

    r5147 r5311  
    126126         CALL set_grid( "V", glamv, gphiv ) 
    127127         CALL set_grid( "W", glamt, gphit ) 
     128         CALL set_grid_znl( gphit ) 
    128129      ENDIF 
    129130 
     
    135136         CALL set_grid( "V", glamv_crs, gphiv_crs )  
    136137         CALL set_grid( "W", glamt_crs, gphit_crs )  
     138         CALL set_grid_znl( gphit_crs ) 
    137139          ! 
    138140         CALL dom_grid_glo   ! Return to parent grid domain 
     
    12531255 
    12541256 
     1257   SUBROUTINE set_grid_znl( plat ) 
     1258      !!---------------------------------------------------------------------- 
     1259      !!                     ***  ROUTINE set_grid_znl  *** 
     1260      !! 
     1261      !! ** Purpose :   define grids for zonal mean 
     1262      !! 
     1263      !!---------------------------------------------------------------------- 
     1264      REAL(wp), DIMENSION(jpi,jpj), INTENT(in) ::   plat 
     1265      ! 
     1266      REAL(wp), DIMENSION(:), ALLOCATABLE  ::   zlon 
     1267      INTEGER  :: ni,nj, ix, iy 
     1268 
     1269       
     1270      ni=nlei-nldi+1 ; nj=nlej-nldj+1 
     1271      ALLOCATE( zlon(ni*nj) )       ;       zlon(:) = 0. 
     1272 
     1273      CALL iom_set_domain_attr("gznl", ni_glo=jpiglo, nj_glo=jpjglo, ibegin=nimpp+nldi-1, jbegin=njmpp+nldj-1, ni=ni, nj=nj) 
     1274      CALL iom_set_domain_attr("gznl", data_dim=2, data_ibegin = 1-nldi, data_ni = jpi, data_jbegin = 1-nldj, data_nj = jpj) 
     1275      CALL iom_set_domain_attr("gznl", lonvalue = zlon,   & 
     1276         &                             latvalue = RESHAPE(plat(nldi:nlei, nldj:nlej),(/ ni*nj /)))   
     1277      CALL dom_ngb( 180., 90., ix, iy, 'T' ) !  i-line that passes near the North Pole : Reference latitude (used in plots) 
     1278      CALL iom_set_domain_attr ('ptr', zoom_ibegin=ix, zoom_nj=jpjglo) 
     1279      CALL iom_update_file_name('ptr') 
     1280      ! 
     1281   END SUBROUTINE set_grid_znl 
     1282 
    12551283   SUBROUTINE set_scalar 
    12561284      !!---------------------------------------------------------------------- 
     
    13371365      CALL set_mooring( zlonpira, zlatpira ) 
    13381366 
    1339       ! diaptr : zonal mean  
    1340       CALL dom_ngb( 180., 90., ix, iy, 'T' ) !  i-line that passes near the North Pole : Reference latitude (used in plots) 
    1341       CALL iom_set_domain_attr ('ptr', zoom_ibegin=ix, zoom_nj=jpjglo) 
    1342       CALL iom_update_file_name('ptr') 
    1343       ! 
    13441367       
    13451368   END SUBROUTINE set_xmlatt 
  • branches/2015/dev_r5204_CNRS_PISCES_dcy/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r5236 r5311  
    583583      ENDIF 
    584584      ! 
    585       ncpl_qsr_freq = INT( 86400 / ( cpl_freq( 'O_QsrOce' ) + cpl_freq( 'O_QsrMix' ) + cpl_freq( 'S_QsrOce' ) + cpl_freq( 'S_QsrMix' ) ) ) 
     585      ncpl_qsr_freq = INT( 86400  & 
     586         &         / ( cpl_freq( 'O_QsrOce' ) + cpl_freq( 'O_QsrMix' ) + cpl_freq( 'S_QsrOce' ) + cpl_freq( 'S_QsrMix' ) ) ) 
    586587      ! 
    587588      IF( ln_dm2dc .AND. ncpl_qsr_freq /= 1 )   & 
Note: See TracChangeset for help on using the changeset viewer.