Changeset 4166 for trunk


Ignore:
Timestamp:
Apr 2, 2026, 2:54:31 PM (8 days ago)
Author:
jbclement
Message:

Mars PCM:
Small correction regarding old fixed Fortran formatting following r4160 + Add missing 'watercaptag' field in "field_def_physics.xml" for XIOS following r4161.
JBC

Location:
trunk/LMDZ.MARS
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r4163 r4166  
    51555155Initialize mass_predyn to -999 so that newstart writes a defined value (-999) to mass_predyn_<tracer> in restartfi.nc, avoiding uninitialized values (e.g., 0 or random memory).
    51565156If mass_predyn_<tracer> <= 0 (such as -999 written by newstart) in startfi.nc, the mass fixer for dynamics is skipped at the first physiq step.
     5157
     5158== 02/04/2026 == JBC
     5159Small correction regarding old fixed Fortran formatting following r4160 + Add missing 'watercaptag' field in "field_def_physics.xml" for XIOS following r4161.
  • trunk/LMDZ.MARS/deftank/xios/field_def_physics_mars.xml

    r4162 r4166  
    427427
    428428            <!-- water cycle -->
     429            <field id="watercaptag"
     430                   long_name="Perennial water ice location"
     431                   unit="T/F" />
    429432            <field id="watercap"
    430433                   long_name="Perennial water ice thickness"
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F

    r4160 r4166  
    6060      use comslope_mod, ONLY: nslope,def_slope,def_slope_mean,
    6161     &             subslope_dist,end_comslope_h,ini_comslope_h
    62       use paleoclimate_mod, only: h2oice_depth, co2ice_depth, coef_ssdif,
    63      &             ini_paleoclimate, end_paleoclimate
     62      use paleoclimate_mod, only: h2oice_depth, co2ice_depth,
     63     &             coef_ssdif, ini_paleoclimate, end_paleoclimate
    6464      use subslope_mola_mod, ONLY: subslope_mola
    6565      use parse_args_mod, only: parse_args
  • trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90

    r4163 r4166  
    911911   if (.not.found) then
    912912     write(*,*) "phyetat0: Failed loading <h2oice_depth> : ", &
    913                           "<h2oice_depth> is set as -1 (no subsurface ice)"
    914      h2oice_depth(:,:) = -1.
     913                          "<h2oice_depth> is set as -999 (no subsurface ice)"
     914     h2oice_depth(:,:) = -999.
    915915   endif
    916916   
     
    919919   if (.not.found) then
    920920     write(*,*) "phyetat0: Failed loading <flux_ssice> : ", &
    921                           "<flux_ssice> is set as -1 (no subsurface ice)"
     921                          "<flux_ssice> is set as 0 (no subsurface ice)"
    922922     zdqsdif_ssi_tot(:,:) = 0.
    923923   endif
     
    935935   if (.not.found) then
    936936     write(*,*) "phyetat0: Failed loading <co2ice_depth> : ", &
    937                           "<co2ice_depth> is set as -1 (no subsurface ice)"
    938      co2ice_depth(:,:) = -1.
     937                          "<co2ice_depth> is set as -999 (no subsurface ice)"
     938     co2ice_depth(:,:) = -999.
    939939   endif
    940940
     
    948948    endif ! not found
    949949  else ! no startphy_file
    950     h2oice_depth(:,:) = -1.
    951     co2ice_depth(:,:) = -1.
     950    h2oice_depth(:,:) = -999.
     951    co2ice_depth(:,:) = -999.
    952952    zdqsdif_ssi_tot(:,:) = 0.
    953953    coef_ssdif(:,:) = 4.e-4
     
    956956  endif !startphy_file
    957957else
    958    h2oice_depth(:,:) = -1.
    959    co2ice_depth(:,:) = -1.
     958   h2oice_depth(:,:) = -999.
     959   co2ice_depth(:,:) = -999.
    960960   zdqsdif_ssi_tot(:,:) = 0.
    961961   coef_ssdif(:,:) = 4.e-4
  • trunk/LMDZ.MARS/libf/phymars/soil_settings.F

    r3902 r4166  
    477477               qsoil(:,:,igcm_h2o_ice_soil,:)= 0.
    478478             else
    479                write(*,*) "phyetat0: suburface tracer <",trim(txt),
     479               write(*,*) "phyetat0: subsurface tracer <",trim(txt),
    480480     &                     "> range:",
    481481     &                     minval(qsoil(:,:,igcm_h2o_ice_soil,:)),
     
    493493               qsoil(:,:,igcm_h2o_vap_ads,:)= 0.
    494494             else
    495                write(*,*) "phyetat0: suburface tracer <",trim(txt),">
     495               write(*,*) "phyetat0: subsurface tracer <",trim(txt),">
    496496     &                     range:",
    497497     &                     minval(qsoil(:,:,igcm_h2o_vap_ads,:)),
Note: See TracChangeset for help on using the changeset viewer.