Changeset 2514


Ignore:
Timestamp:
May 4, 2021, 10:23:43 AM (4 years ago)
Author:
romain.vande
Message:

Mars Dynamico : _ update of r2507: correct ztime_fin for dynamico

_ Test for no writting Diagfi for Dynamico
_ Correction for Xios output : Change of calendar : start_date=0 as a diagfi, timestep for output physic=1s, day_length=ndtphys, it is needed to have output in days in the xml to have the correct time

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICOSA_LMDZ/compile_occigen

    r1696 r2514  
    1 make_icosa_lmdz -p std -p_opt "-b 23x25 -s 1" -debug -parallel mpi_omp -arch X64_OCCIGEN -arch_path ../ARCH -job 8
    2 
     1#make_icosa_lmdz -p mars -debug -parallel mpi_omp -arch X64_OCCIGEN -arch_path ../ARCH -job 8 -full
     2#make_icosa_lmdz -p mars -debug -parallel mpi_omp -arch X64_OCCIGEN -arch_path ../ARCH -job 8
     3#make_icosa_lmdz -p mars -parallel mpi_omp -arch X64_OCCIGEN -arch_path ../ARCH -job 8 -full
     4make_icosa_lmdz -p mars -parallel mpi -arch X64_OCCIGEN -arch_path ../ARCH -job 8
     5#make_icosa_lmdz -p mars -debug -parallel mpi -arch X64_OCCIGEN -arch_path ../ARCH -job 8
  • trunk/LMDZ.COMMON/arch/arch-gfortran.path

    r2483 r2514  
    22
    33NETCDF_LIBDIR="-L$NETCDF/lib"
    4 NETCDF_LIB="-lnetcdff -lnetcdf"
     4NETCDF_LIB="-lnetcdf -lnetcdff"
    55NETCDF_INCDIR="-I$NETCDF/include"
    66
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2512 r2514  
    23222322     .                  - day_ini - time_phys
    23232323             ENDIF
     2324             if (ecritstart==0) then
     2325                ztime_fin = ztime_fin-(day_end-day_ini)
     2326             endif
    23242327
    23252328          ELSE ! IF LMDZ
  • trunk/LMDZ.MARS/libf/phymars/writediagfi.F

    r2311 r2514  
    4545     &                               is_master, gather
    4646      USE mod_grid_phy_lmdz, only : klon_glo, Grid1Dto2D_glo,
    47      &                              nbp_lon, nbp_lat, nbp_lev
     47     &                              nbp_lon, nbp_lat, nbp_lev,
     48     &                              grid_type, unstructured
    4849      implicit none
    4950
     
    114115      real areafi_glo(ngrid) ! mesh area on global physics grid
    115116#endif
     117
     118      if (grid_type==unstructured) then
     119           return
     120      endif
    116121
    117122!***************************************************************
  • trunk/LMDZ.MARS/libf/phymars/xios_output_mod.F90

    r2333 r2514  
    104104     write(lunout,*) "initialize_xios_output: build calendar"
    105105    endif
    106     timestep%second=dtphys
     106    timestep%second=1
    107107    if (nint(dtphys).ne.dtphys) then
    108108      write(*,*) "initialize_xios_output: warning physics timestep is not an integer!"
    109       timestep%second=nint(dtphys)
    110109    endif
    111110    if (nint(daysec).ne.daysec) then
     
    116115    CALL xios_define_calendar(type="user_defined", &
    117116                              timestep=timestep, &
    118                               day_length=nint(daysec), &
     117                              day_length=nint(daysec/dtphys), &
    119118                              month_lengths=[61,66,66,65,60,54,50,46,47,47,51,56])
    120119    !NB: it would make more sense to define months and their length in the
     
    130129    ! Now define the start time of this simulation
    131130    ! NB: we substract dtphys because we want to set the origin of the time axis
    132     start_date=time_origin+xios_duration(0,0,day,0,0,timeofday*daysec-dtphys)
     131    start_date=time_origin
    133132    call xios_set_start_date(start_date=start_date)
    134133    if (prt_level>=10) then
Note: See TracChangeset for help on using the changeset viewer.