Changeset 353 for LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90
- Timestamp:
- Mar 21, 2002, 4:09:32 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90
r313 r353 1239 1239 INTEGER :: ndexct(iim*(jjm+1)),ndexcs(iim*(jjm+1)) 1240 1240 REAL :: zx_lon(iim,jjm+1), zx_lat(iim,jjm+1), zjulian 1241 integer :: idayref, itau_w 1241 1242 include 'param_cou.h' 1242 1243 include 'inc_cpl.h' 1243 include 'temps. h'1244 include 'temps.inc' 1244 1245 ! 1245 1246 ! Initialisation … … 1310 1311 ! initialisation sorties netcdf 1311 1312 ! 1312 CALL ymds2ju(anne_ini, 1, 1, 0.0, zjulian)1313 zjulian = zjulian + day_ini1313 idayref = day_ini 1314 CALL ymds2ju(annee_ref, 1, idayref, 0.0, zjulian) 1314 1315 CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlon,zx_lon) 1315 1316 DO i = 1, iim … … 1319 1320 CALL gr_fi_ecrit(1,klon,iim,jjm+1,rlat,zx_lat) 1320 1321 clintocplnam="cpl_atm_tauflx" 1321 CALL histbeg(clintocplnam, iim,zx_lon ,jjm+1,zx_lat,1,iim,1,jjm+1, &1322 & 0,zjulian,dtime,nhoridct,nidct)1322 CALL histbeg(clintocplnam, iim,zx_lon(:,1),jjm+1,zx_lat(1,:),1,iim,1,jjm+1, & 1323 & itau_phy,zjulian,dtime,nhoridct,nidct) 1323 1324 ! no vertical axis 1324 1325 CALL histdef(nidct, 'tauxe','tauxe', & … … 1338 1339 1339 1340 clfromcplnam="cpl_atm_sst" 1340 CALL histbeg(clfromcplnam, iim,zx_lon ,jjm+1,zx_lat,1,iim,1,jjm+1, &1341 CALL histbeg(clfromcplnam, iim,zx_lon(:,1),jjm+1,zx_lat(1,:),1,iim,1,jjm+1, & 1341 1342 & 0,zjulian,dtime,nhoridcs,nidcs) 1342 1343 ! no vertical axis … … 1419 1420 ! 1420 1421 ndexcs(:)=0 1421 CALL histwrite(nidcs,cl_read(1),itime,read_sst,iim*(jjm+1),ndexcs) 1422 CALL histwrite(nidcs,cl_read(2),itime,read_sic,iim*(jjm+1),ndexcs) 1423 CALL histwrite(nidcs,cl_read(3),itime,read_alb_sic,iim*(jjm+1),ndexcs) 1424 CALL histwrite(nidcs,cl_read(4),itime,read_sit,iim*(jjm+1),ndexcs) 1422 itau_w = itau_phy + itime 1423 CALL histwrite(nidcs,cl_read(1),itau_w,read_sst,iim*(jjm+1),ndexcs) 1424 CALL histwrite(nidcs,cl_read(2),itau_w,read_sic,iim*(jjm+1),ndexcs) 1425 CALL histwrite(nidcs,cl_read(3),itau_w,read_alb_sic,iim*(jjm+1),ndexcs) 1426 CALL histwrite(nidcs,cl_read(4),itau_w,read_sit,iim*(jjm+1),ndexcs) 1425 1427 CALL histsync(nidcs) 1426 1428 ! pas utile IF (npas-itime.LT.nexca )CALL histclo(nidcs) … … 1582 1584 ! 1583 1585 ndexct(:)=0 1584 CALL histwrite(nidct,'tauxe',it ime,wri_taux,iim*(jjm+1),ndexct)1585 CALL histwrite(nidct,'tauyn',it ime,wri_tauy,iim*(jjm+1),ndexct)1586 CALL histwrite(nidct,'tmp_lon',it ime,tmp_lon,iim*(jjm+1),ndexct)1587 CALL histwrite(nidct,'tmp_lat',it ime,tmp_lat,iim*(jjm+1),ndexct)1586 CALL histwrite(nidct,'tauxe',itau_w,wri_taux,iim*(jjm+1),ndexct) 1587 CALL histwrite(nidct,'tauyn',itau_w,wri_tauy,iim*(jjm+1),ndexct) 1588 CALL histwrite(nidct,'tmp_lon',itau_w,tmp_lon,iim*(jjm+1),ndexct) 1589 CALL histwrite(nidct,'tmp_lat',itau_w,tmp_lat,iim*(jjm+1),ndexct) 1588 1590 1589 1591 ! … … 1596 1598 ! envoi au coupleur 1597 1599 ! 1598 CALL histwrite(nidct,cl_writ(1),it ime,wri_sol_ice,iim*(jjm+1),ndexct)1599 CALL histwrite(nidct,cl_writ(2),it ime,wri_sol_sea,iim*(jjm+1),ndexct)1600 CALL histwrite(nidct,cl_writ(3),it ime,wri_nsol_ice,iim*(jjm+1),ndexct)1601 CALL histwrite(nidct,cl_writ(4),it ime,wri_nsol_sea,iim*(jjm+1),ndexct)1602 CALL histwrite(nidct,cl_writ(5),it ime,wri_fder_ice,iim*(jjm+1),ndexct)1603 CALL histwrite(nidct,cl_writ(6),it ime,wri_evap_ice,iim*(jjm+1),ndexct)1604 CALL histwrite(nidct,cl_writ(7),it ime,wri_evap_sea,iim*(jjm+1),ndexct)1605 CALL histwrite(nidct,cl_writ(8),it ime,wri_rain,iim*(jjm+1),ndexct)1606 CALL histwrite(nidct,cl_writ(9),it ime,wri_snow,iim*(jjm+1),ndexct)1607 CALL histwrite(nidct,cl_writ(10),it ime,wri_rcoa,iim*(jjm+1),ndexct)1608 CALL histwrite(nidct,cl_writ(11),it ime,wri_rriv,iim*(jjm+1),ndexct)1609 CALL histwrite(nidct,cl_writ(12),it ime,wri_tauxx,iim*(jjm+1),ndexct)1610 CALL histwrite(nidct,cl_writ(13),it ime,wri_tauyy,iim*(jjm+1),ndexct)1611 CALL histwrite(nidct,cl_writ(14),it ime,wri_tauzz,iim*(jjm+1),ndexct)1612 CALL histwrite(nidct,cl_writ(15),it ime,wri_tauxx,iim*(jjm+1),ndexct)1613 CALL histwrite(nidct,cl_writ(16),it ime,wri_tauyy,iim*(jjm+1),ndexct)1614 CALL histwrite(nidct,cl_writ(17),it ime,wri_tauzz,iim*(jjm+1),ndexct)1600 CALL histwrite(nidct,cl_writ(1),itau_w,wri_sol_ice,iim*(jjm+1),ndexct) 1601 CALL histwrite(nidct,cl_writ(2),itau_w,wri_sol_sea,iim*(jjm+1),ndexct) 1602 CALL histwrite(nidct,cl_writ(3),itau_w,wri_nsol_ice,iim*(jjm+1),ndexct) 1603 CALL histwrite(nidct,cl_writ(4),itau_w,wri_nsol_sea,iim*(jjm+1),ndexct) 1604 CALL histwrite(nidct,cl_writ(5),itau_w,wri_fder_ice,iim*(jjm+1),ndexct) 1605 CALL histwrite(nidct,cl_writ(6),itau_w,wri_evap_ice,iim*(jjm+1),ndexct) 1606 CALL histwrite(nidct,cl_writ(7),itau_w,wri_evap_sea,iim*(jjm+1),ndexct) 1607 CALL histwrite(nidct,cl_writ(8),itau_w,wri_rain,iim*(jjm+1),ndexct) 1608 CALL histwrite(nidct,cl_writ(9),itau_w,wri_snow,iim*(jjm+1),ndexct) 1609 CALL histwrite(nidct,cl_writ(10),itau_w,wri_rcoa,iim*(jjm+1),ndexct) 1610 CALL histwrite(nidct,cl_writ(11),itau_w,wri_rriv,iim*(jjm+1),ndexct) 1611 CALL histwrite(nidct,cl_writ(12),itau_w,wri_tauxx,iim*(jjm+1),ndexct) 1612 CALL histwrite(nidct,cl_writ(13),itau_w,wri_tauyy,iim*(jjm+1),ndexct) 1613 CALL histwrite(nidct,cl_writ(14),itau_w,wri_tauzz,iim*(jjm+1),ndexct) 1614 CALL histwrite(nidct,cl_writ(15),itau_w,wri_tauxx,iim*(jjm+1),ndexct) 1615 CALL histwrite(nidct,cl_writ(16),itau_w,wri_tauyy,iim*(jjm+1),ndexct) 1616 CALL histwrite(nidct,cl_writ(17),itau_w,wri_tauzz,iim*(jjm+1),ndexct) 1615 1617 CALL histsync(nidct) 1616 1618 ! pas utile IF (lafin) CALL histclo(nidct)
Note: See TracChangeset
for help on using the changeset viewer.