Changeset 3380 for trunk/LMDZ.PLUTO/libf


Ignore:
Timestamp:
Jun 13, 2024, 3:24:15 PM (6 months ago)
Author:
tbertrand
Message:

LMDZ.PLUTO
Removing useless stuff for Pluto in start2archive.F
TB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/dynphy_lonlat/phypluto/start2archive.F

    r3184 r3380  
    2323     
    2424!      use slab_ice_h, only: noceanmx
    25       USE ocean_slab_mod, ONLY: nslay
     25c      USE ocean_slab_mod, ONLY: nslay
    2626      USE ioipsl_getincom, only: getin
    2727      USE planete_mod, only: year_day
    2828      USE mod_const_mpi, ONLY: COMM_LMDZ
    2929      USE control_mod, only: planet_type
    30       USE callkeys_mod, ONLY: ok_slab_ocean
     30c      USE callkeys_mod, ONLY: ok_slab_ocean
    3131      use filtreg_mod, only: inifilr
    3232      USE comvert_mod, ONLY: ap,bp
     
    3636      use phys_state_var_mod, only: phys_state_var_init
    3737      use phyetat0_mod, only: phyetat0
    38       use nonoro_gwd_ran_mod, only: du_nonoro_gwd, dv_nonoro_gwd,
    39      &                          east_gwstress, west_gwstress
     38c      use nonoro_gwd_ran_mod, only: du_nonoro_gwd, dv_nonoro_gwd,
     39c     &                          east_gwstress, west_gwstress
    4040      use exner_hyb_m, only: exner_hyb
    4141      implicit none
     
    136136      allocate(qsurf(ngridmx,nqtot))
    137137      allocate(qsurfS(ip1jmp1,nqtot))
    138       allocate(tslab(ngridmx,nslay)) !Added by SB for slab ocean
    139       allocate(tslabS(ip1jmp1,nslay)) !Added by SB for slab ocean
     138c      allocate(tslab(ngridmx,nslay)) !Added by SB for slab ocean
     139c      allocate(tslabS(ip1jmp1,nslay)) !Added by SB for slab ocean
    140140! other array allocations:
    141141!      call ini_comsoil_h(ngridmx) ! done via iniphysiq
     
    222222      CALL phyetat0(.true.,ngridmx,llm,fichnom,0,Lmodif,nsoilmx,nqtot,
    223223     .      day_ini_fi,timefi,
    224      .      tsurf,tsoil,emis,q2,qsurf,
     224     .      tsurf,tsoil,emis,q2,qsurf)
    225225!       change FF 05/2011
    226      .       cloudfrac,totalcloudfrac,hice,
     226c     .       cloudfrac,totalcloudfrac,hice,
    227227!       change BC 05/2014
    228      .       rnat,pctsrf_sic,tslab,tsea_ice,sea_ice)
     228c     .       rnat,pctsrf_sic,tslab,tsea_ice,sea_ice)
    229229
    230230
     
    330330      call gr_fi_dyn(llm+1,ngridmx,iip1,jjp1,q2,q2S)
    331331      call gr_fi_dyn(nqtot,ngridmx,iip1,jjp1,qsurf,qsurfS)
    332       call gr_fi_dyn(llm,ngridmx,iip1,jjp1,cloudfrac,cloudfracS)
    333       call gr_fi_dyn(1,ngridmx,iip1,jjp1,hice,hiceS)
    334       call gr_fi_dyn(1,ngridmx,iip1,jjp1,totalcloudfrac,totalcloudfracS)
    335 
    336       call gr_fi_dyn(1,ngridmx,iip1,jjp1,rnat,rnatS)
    337       call gr_fi_dyn(1,ngridmx,iip1,jjp1,pctsrf_sic,pctsrf_sicS)
    338       call gr_fi_dyn(1,ngridmx,iip1,jjp1,tsea_ice,tsea_iceS)
    339       call gr_fi_dyn(1,ngridmx,iip1,jjp1,sea_ice,sea_iceS)
    340       call gr_fi_dyn(nslay,ngridmx,iip1,jjp1,tslab,tslabS)
    341 
    342       call gr_fi_dyn(llm,ngridmx,iip1,jjp1,du_nonoro_gwd,du_nonoro_gwdS)
    343       call gr_fi_dyn(llm,ngridmx,iip1,jjp1,dv_nonoro_gwd,dv_nonoro_gwdS)
    344       call gr_fi_dyn(llm,ngridmx,iip1,jjp1,east_gwstress,east_gwstressS)
    345       call gr_fi_dyn(llm,ngridmx,iip1,jjp1,west_gwstress,west_gwstressS)
     332c      call gr_fi_dyn(llm,ngridmx,iip1,jjp1,cloudfrac,cloudfracS)
     333c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,hice,hiceS)
     334c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,totalcloudfrac,totalcloudfracS)
     335
     336c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,rnat,rnatS)
     337c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,pctsrf_sic,pctsrf_sicS)
     338c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,tsea_ice,tsea_iceS)
     339c      call gr_fi_dyn(1,ngridmx,iip1,jjp1,sea_ice,sea_iceS)
     340c      call gr_fi_dyn(nslay,ngridmx,iip1,jjp1,tslab,tslabS)
     341
     342c      call gr_fi_dyn(llm,ngridmx,iip1,jjp1,du_nonoro_gwd,du_nonoro_gwdS)
     343c      call gr_fi_dyn(llm,ngridmx,iip1,jjp1,dv_nonoro_gwd,dv_nonoro_gwdS)
     344c      call gr_fi_dyn(llm,ngridmx,iip1,jjp1,east_gwstress,east_gwstressS)
     345c      call gr_fi_dyn(llm,ngridmx,iip1,jjp1,west_gwstress,west_gwstressS)
    346346c=======================================================================
    347347c Info pour controler
     
    490490c Ecriture du champs  cloudfrac,hice,totalcloudfrac
    491491c-----------------------------------------------------------------------
    492       call write_archive(nid,ntime,'hice',
    493      &         'Height of oceanic ice','m',2,hiceS)
    494       call write_archive(nid,ntime,'totalcloudfrac',
    495      &        'Total cloud Fraction','',2,totalcloudfracS)
    496       call write_archive(nid,ntime,'cloudfrac'
    497      &        ,'Cloud fraction','',3,cloudfracS)
     492c      call write_archive(nid,ntime,'hice',
     493c     &         'Height of oceanic ice','m',2,hiceS)
     494c      call write_archive(nid,ntime,'totalcloudfrac',
     495c     &        'Total cloud Fraction','',2,totalcloudfracS)
     496c      call write_archive(nid,ntime,'cloudfrac'
     497c     &        ,'Cloud fraction','',3,cloudfracS)
    498498
    499499c-----------------------------------------------------------------------
     
    506506      IF(ierr.EQ.0) THEN
    507507
    508         write(*,*) "Use slab-ocean ?"
    509         ok_slab_ocean=.false.         ! default value
    510         call getin("ok_slab_ocean",ok_slab_ocean)
    511         write(*,*) "ok_slab_ocean = ",ok_slab_ocean
    512 
    513         if(ok_slab_ocean) then
    514           call write_archive(nid,ntime,'rnat'
    515      &            ,'rnat','',2,rnatS)
    516           call write_archive(nid,ntime,'pctsrf_sic'
    517      &            ,'pctsrf_sic','',2,pctsrf_sicS)
    518           call write_archive(nid,ntime,'sea_ice'
    519      &            ,'sea_ice','',2,sea_iceS)
    520           call write_archive(nid,ntime,'tslab'
    521      &            ,'tslab','',-2,tslabS)
    522           call write_archive(nid,ntime,'tsea_ice'
    523      &            ,'tsea_ice','',2,tsea_iceS)
    524         endif !ok_slab_ocean
     508c        write(*,*) "Use slab-ocean ?"
     509c        ok_slab_ocean=.false.         ! default value
     510c        call getin("ok_slab_ocean",ok_slab_ocean)
     511c        write(*,*) "ok_slab_ocean = ",ok_slab_ocean
     512
     513c        if(ok_slab_ocean) then
     514c          call write_archive(nid,ntime,'rnat'
     515c     &            ,'rnat','',2,rnatS)
     516c          call write_archive(nid,ntime,'pctsrf_sic'
     517c     &            ,'pctsrf_sic','',2,pctsrf_sicS)
     518c          call write_archive(nid,ntime,'sea_ice'
     519c     &            ,'sea_ice','',2,sea_iceS)
     520c          call write_archive(nid,ntime,'tslab'
     521c     &            ,'tslab','',-2,tslabS)
     522c          call write_archive(nid,ntime,'tsea_ice'
     523c     &            ,'tsea_ice','',2,tsea_iceS)
     524c        endif !ok_slab_ocean
    525525     
    526526      ENDIF ! of IF(ierr.EQ.0)
    527527
    528528! Non-orographic gavity waves
    529       call write_archive(nid,ntime,"du_nonoro_gwd",
    530      &     "Zonal wind tendency due to GW",'m.s-1',3,du_nonoro_gwdS)
    531       call write_archive(nid,ntime,"dv_nonoro_gwd",
    532      &     "Meridional wind tendency due to GW",'m.s-1',
    533      &     3,dv_nonoro_gwdS)
    534       call write_archive(nid,ntime,"east_gwstress",
    535      &     "Eastward stress profile due to GW",'kg.m-1.s-2',
    536      &     3,east_gwstressS)
    537       call write_archive(nid,ntime,"west_gwstress",
    538      &     "Westward stress profile due to GW",'kg.m-1.s-2',
    539      &     3,west_gwstressS)
     529c      call write_archive(nid,ntime,"du_nonoro_gwd",
     530c     &     "Zonal wind tendency due to GW",'m.s-1',3,du_nonoro_gwdS)
     531c      call write_archive(nid,ntime,"dv_nonoro_gwd",
     532c     &     "Meridional wind tendency due to GW",'m.s-1',
     533c     &     3,dv_nonoro_gwdS)
     534c      call write_archive(nid,ntime,"east_gwstress",
     535c     &     "Eastward stress profile due to GW",'kg.m-1.s-2',
     536c     &     3,east_gwstressS)
     537c      call write_archive(nid,ntime,"west_gwstress",
     538c     &     "Westward stress profile due to GW",'kg.m-1.s-2',
     539c     &     3,west_gwstressS)
    540540
    541541c-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.