Changeset 2531 for CONFIG/UNIFORM/v6_rc0
- Timestamp:
- 05/29/15 11:16:25 (9 years ago)
- Location:
- CONFIG/UNIFORM/v6_rc0/IPSLCM6
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6_rc0/IPSLCM6/GENERAL/PARAM/context_nemo.xml
r2436 r2531 329 329 <grid id="grid_W_2D" domain_ref="grid_W"/> 330 330 <grid id="grid_W_3D" domain_ref="grid_W" axis_ref="depthw"/> 331 <grid id="gznl_T_2D" domain_ref="gznl"/> 332 <grid id="gznl_T_3D" domain_ref="gznl" axis_ref="deptht"/> 333 <grid id="gznl_W_3D" domain_ref="gznl" axis_ref="depthw"/> 331 334 </grid_definition> 332 335 -
CONFIG/UNIFORM/v6_rc0/IPSLCM6/GENERAL/PARAM/domain_def_nemo.xml
r2372 r2531 6 6 <domain id="myzoom" zoom_ibegin="10" zoom_jbegin="10" zoom_ni="5" zoom_nj="5" /> 7 7 <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" />9 8 <!-- Eq section --> 10 9 <domain id="EqT" zoom_ibegin="1" zoom_jbegin="0000" zoom_ni="0000" zoom_nj="1" /> … … 177 176 </domain_group> 178 177 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 179 183 </domain_definition> 180 184 -
CONFIG/UNIFORM/v6_rc0/IPSLCM6/GENERAL/PARAM/field_def_nemo.xml
r2518 r2531 492 492 493 493 <!-- PTR --> 494 <field_group id="diaptr" domain_ref="ptr" grid_ref="grid_T_3D"> <!-- time step automaticaly defined based on nn_fptr -->495 <field id="zotemglo" long_name="Zonal Mean Temperature" unit="C" />496 <field id="zosalglo" long_name="Zonal Mean Salinity" unit="PSU" />497 <field id="zosrfglo" long_name="Zonal Mean Surface" unit="m2" />498 <field id="zomsfglo" long_name="Meridional Stream-Function: Global" unit="Sv" />499 <field id="zomsfeiv" long_name="Bolus Meridional Stream-Function: Global" unit="Sv" />500 <field id="zotematl" long_name="Zonal Mean Temperature : Atlantic" unit="C" />501 <field id="zosalatl" long_name="Zonal Mean Salinity : Atlantic" unit="PSU" />502 <field id="zosrfatl" long_name="Zonal Mean Surface : Atlantic" unit="m2" />503 <field id="zomsfatl" long_name="Meridional Stream-Function: Atlantic" unit="Sv" />504 <field id="zotempac" long_name="Zonal Mean Temperature : Pacific" unit="C" />505 <field id="zosalpac" long_name="Zonal Mean Salinity : Pacific" unit="PSU" />506 <field id="zosrfpac" long_name="Zonal Mean Surface : Pacific" unit="m2" />507 <field id="zomsfpac" long_name="Meridional Stream-Function: Pacific" unit="Sv" />508 <field id="zotemind" long_name="Zonal Mean Temperature : Indian" unit="C" />509 <field id="zosalind" long_name="Zonal Mean Salinity : Indian" unit="PSU" />510 <field id="zosrfind" long_name="Zonal Mean Surface : Indian" unit="m2" />511 <field id="zomsfind" long_name="Meridional Stream-Function: Indian" unit="Sv" />512 <field id="zotemipc" long_name="Zonal Mean Temperature : Pacific+Indian" unit="C" />513 <field id="zosalipc" long_name="Zonal Mean Salinity : Pacific+Indian" unit="PSU" />514 <field id="zosrfipc" long_name="Zonal Mean Surface : Pacific+Indian" unit="m2" />515 <field id="zomsfipc" long_name="Meridional Stream-Function: Pacific+Indian" unit="Sv" />516 <field id="sophtadv" long_name="Advective Heat Transport" unit="PW" grid_ref="g rid_T_2D" />517 <field id="sophteiv" long_name="Bolus Advective Heat Transport" unit="PW" grid_ref="g rid_T_2D" />518 <field id="sophtldf" long_name="Diffusive Heat Transport" unit="PW" grid_ref="g rid_T_2D" />519 <field id="sophtove" long_name="Overtuning Heat Transport" unit="PW" grid_ref="g rid_T_2D" />520 <field id="sohtatl" long_name="Heat Transport Atlantic" unit="PW" grid_ref="g rid_T_2D" />521 <field id="sohtpac" long_name="Heat Transport Pacific" unit="PW" grid_ref="g rid_T_2D" />522 <field id="sohtind" long_name="Heat Transport Indian" unit="PW" grid_ref="g rid_T_2D" />523 <field id="sohtipc" long_name="Heat Transport Pacific+Indian" unit="PW" grid_ref="g rid_T_2D" />524 <field id="sopstadv" long_name="Advective Salt Transport" unit="Giga g/s" grid_ref="g rid_T_2D" />525 <field id="sopsteiv" long_name="Bolus Advective Salt Transport" unit="Giga g/s" grid_ref="g rid_T_2D" />526 <field id="sopstldf" long_name="Diffusive Salt Transport" unit="Giga g/s" grid_ref="g rid_T_2D" />527 <field id="sopstove" long_name="Overtuning Salt Transport" unit="Giga g/s" grid_ref="g rid_T_2D" />528 <field id="sostatl" long_name="Salt Transport Atlantic" unit="Giga g/s" grid_ref="g rid_T_2D" />529 <field id="sostpac" long_name="Salt Transport Pacific" unit="Giga g/s" grid_ref="g rid_T_2D" />530 <field id="sostind" long_name="Salt Transport Indian" unit="Giga g/s" grid_ref="g rid_T_2D" />531 <field id="sostipc" long_name="Salt Transport Pacific+Indian" unit="Giga g/s" grid_ref="g rid_T_2D" />494 <field_group id="diaptr" domain_ref="ptr" > <!-- time step automaticaly defined based on nn_fptr --> 495 <field id="zotemglo" long_name="Zonal Mean Temperature" unit="C" grid_ref="gznl_W_3D" /> 496 <field id="zosalglo" long_name="Zonal Mean Salinity" unit="PSU" grid_ref="gznl_W_3D" /> 497 <field id="zosrfglo" long_name="Zonal Mean Surface" unit="m2" grid_ref="gznl_W_3D" /> 498 <field id="zomsfglo" long_name="Meridional Stream-Function: Global" unit="Sv" grid_ref="gznl_W_3D" /> 499 <field id="zomsfeiv" long_name="Bolus Meridional Stream-Function: Global" unit="Sv" grid_ref="gznl_W_3D" /> 500 <field id="zotematl" long_name="Zonal Mean Temperature : Atlantic" unit="C" grid_ref="gznl_T_3D" /> 501 <field id="zosalatl" long_name="Zonal Mean Salinity : Atlantic" unit="PSU" grid_ref="gznl_T_3D" /> 502 <field id="zosrfatl" long_name="Zonal Mean Surface : Atlantic" unit="m2" grid_ref="gznl_T_3D" /> 503 <field id="zomsfatl" long_name="Meridional Stream-Function: Atlantic" unit="Sv" grid_ref="gznl_T_3D" /> 504 <field id="zotempac" long_name="Zonal Mean Temperature : Pacific" unit="C" grid_ref="gznl_T_3D" /> 505 <field id="zosalpac" long_name="Zonal Mean Salinity : Pacific" unit="PSU" grid_ref="gznl_T_3D" /> 506 <field id="zosrfpac" long_name="Zonal Mean Surface : Pacific" unit="m2" grid_ref="gznl_T_3D" /> 507 <field id="zomsfpac" long_name="Meridional Stream-Function: Pacific" unit="Sv" grid_ref="gznl_T_3D" /> 508 <field id="zotemind" long_name="Zonal Mean Temperature : Indian" unit="C" grid_ref="gznl_T_3D" /> 509 <field id="zosalind" long_name="Zonal Mean Salinity : Indian" unit="PSU" grid_ref="gznl_T_3D" /> 510 <field id="zosrfind" long_name="Zonal Mean Surface : Indian" unit="m2" grid_ref="gznl_T_3D" /> 511 <field id="zomsfind" long_name="Meridional Stream-Function: Indian" unit="Sv" grid_ref="gznl_T_3D" /> 512 <field id="zotemipc" long_name="Zonal Mean Temperature : Pacific+Indian" unit="C" grid_ref="gznl_T_3D" /> 513 <field id="zosalipc" long_name="Zonal Mean Salinity : Pacific+Indian" unit="PSU" grid_ref="gznl_T_3D" /> 514 <field id="zosrfipc" long_name="Zonal Mean Surface : Pacific+Indian" unit="m2" grid_ref="gznl_T_3D" /> 515 <field id="zomsfipc" long_name="Meridional Stream-Function: Pacific+Indian" unit="Sv" grid_ref="gznl_T_3D" /> 516 <field id="sophtadv" long_name="Advective Heat Transport" unit="PW" grid_ref="gznl_T_2D" /> 517 <field id="sophteiv" long_name="Bolus Advective Heat Transport" unit="PW" grid_ref="gznl_T_2D" /> 518 <field id="sophtldf" long_name="Diffusive Heat Transport" unit="PW" grid_ref="gznl_T_2D" /> 519 <field id="sophtove" long_name="Overtuning Heat Transport" unit="PW" grid_ref="gznl_T_2D" /> 520 <field id="sohtatl" long_name="Heat Transport Atlantic" unit="PW" grid_ref="gznl_T_2D" /> 521 <field id="sohtpac" long_name="Heat Transport Pacific" unit="PW" grid_ref="gznl_T_2D" /> 522 <field id="sohtind" long_name="Heat Transport Indian" unit="PW" grid_ref="gznl_T_2D" /> 523 <field id="sohtipc" long_name="Heat Transport Pacific+Indian" unit="PW" grid_ref="gznl_T_2D" /> 524 <field id="sopstadv" long_name="Advective Salt Transport" unit="Giga g/s" grid_ref="gznl_T_2D" /> 525 <field id="sopsteiv" long_name="Bolus Advective Salt Transport" unit="Giga g/s" grid_ref="gznl_T_2D" /> 526 <field id="sopstldf" long_name="Diffusive Salt Transport" unit="Giga g/s" grid_ref="gznl_T_2D" /> 527 <field id="sopstove" long_name="Overtuning Salt Transport" unit="Giga g/s" grid_ref="gznl_T_2D" /> 528 <field id="sostatl" long_name="Salt Transport Atlantic" unit="Giga g/s" grid_ref="gznl_T_2D" /> 529 <field id="sostpac" long_name="Salt Transport Pacific" unit="Giga g/s" grid_ref="gznl_T_2D" /> 530 <field id="sostind" long_name="Salt Transport Indian" unit="Giga g/s" grid_ref="gznl_T_2D" /> 531 <field id="sostipc" long_name="Salt Transport Pacific+Indian" unit="Giga g/s" grid_ref="gznl_T_2D" /> 532 532 </field_group> 533 533 -
CONFIG/UNIFORM/v6_rc0/IPSLCM6/SOURCES/NEMO/iom.F90
r2372 r2531 127 127 CALL set_grid( "V", glamv, gphiv ) 128 128 CALL set_grid( "W", glamt, gphit ) 129 CALL set_grid_znl( gphit ) 129 130 ENDIF 130 131 … … 136 137 CALL set_grid( "V", glamv_crs, gphiv_crs ) 137 138 CALL set_grid( "W", glamt_crs, gphit_crs ) 139 CALL set_grid_znl( gphit_crs ) 138 140 ! 139 141 CALL dom_grid_glo ! Return to parent grid domain … … 1212 1214 1213 1215 1216 SUBROUTINE set_grid_znl( plat ) 1217 !!---------------------------------------------------------------------- 1218 !! *** ROUTINE set_grid_znl *** 1219 !! 1220 !! ** Purpose : define 2D grids for zonal mean 1221 !! 1222 !!---------------------------------------------------------------------- 1223 REAL(wp), DIMENSION(jpi,jpj), INTENT(in) :: plat 1224 ! 1225 REAL(wp), DIMENSION(:), ALLOCATABLE :: zlon 1226 INTEGER :: ni,nj, ix, iy 1227 1228 1229 ni=nlei-nldi+1 ; nj=nlej-nldj+1 1230 ALLOCATE( zlon(ni*nj) ) ; zlon(:) = 0. 1231 1232 CALL iom_set_domain_attr("gznl", ni_glo=jpiglo, nj_glo=jpjglo, ibegin=nimpp+nldi-1, jbegin=njmpp+nldj-1, ni=ni, nj=nj) 1233 CALL iom_set_domain_attr("gznl", data_dim=2, data_ibegin = 1-nldi, data_ni = jpi, data_jbegin = 1-nldj, data_nj = jpj) 1234 CALL iom_set_domain_attr("gznl", lonvalue = zlon, & 1235 & latvalue = RESHAPE(plat(nldi:nlei, nldj:nlej),(/ ni*nj /))) 1236 CALL dom_ngb( 180., 90., ix, iy, 'T' ) ! i-line that passes near the North Pole : Reference latitude (used in plots) 1237 CALL iom_set_domain_attr ('ptr', zoom_ibegin=ix, zoom_nj=jpjglo) 1238 CALL iom_update_file_name('ptr') 1239 ! 1240 END SUBROUTINE set_grid_znl 1241 1242 1214 1243 SUBROUTINE set_scalar 1215 1244 !!---------------------------------------------------------------------- … … 1291 1320 zlatpira = (/ -19.0, -14.0, -8.0, 0.0, 4.0, 8.0, 12.0, 15.0, 20.0 /) 1292 1321 CALL set_mooring( zlonpira, zlatpira ) 1293 1294 ! diaptr : zonal mean1295 CALL iom_set_domain_attr ('ptr', zoom_ibegin=nxline, zoom_nj=jpjglo)1296 CALL iom_update_file_name('ptr')1297 1322 ! 1298 1323 END SUBROUTINE set_xmlatt
Note: See TracChangeset
for help on using the changeset viewer.