Changeset 3350 for trunk/LMDZ.MARS


Ignore:
Timestamp:
May 31, 2024, 3:04:18 PM (6 months ago)
Author:
jbclement
Message:

Mars PCM:

  • Correction for the script "launch_orb_1Dchained.sh" in the deftank.
  • Small cleanings related to error detection.

JBC

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

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

    r3348 r3350  
    46604660Following commit r3337, threshold for vdifc subtimestep is no longer hardcoded
    46614661and explicitly commented.
     4662
     4663== 31/05/2024 == JBC
     4664- Correction for the script "launch_orb_1Dchained.sh" in the deftank.
     4665- Small cleanings related to error detection.
  • trunk/LMDZ.MARS/deftank/launch_orb_1Dchained.sh

    r3213 r3350  
    8888while [ $i_myear -lt $n_myears ]; do
    8989    # Get the new values for the orbital parameters
    90     yearlask=$(echo "$eyears_bp_ini + $i_myear*$convert_years" | bc -l)
     90    yearlask=$(echo "($eyears_bp_ini + $i_myear*$convert_years)/1000." | bc -l)
    9191    found=false
    9292    read -r y1 obl1 ecc1 lsp1 < "$orb_data"
  • trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90

    r3262 r3350  
    268268if (startfiles_1D) call writerestart1D('restart1D.txt',psurf,tsurf(1,:),nlayer,size(tsurf,2),temp,u,v,nq,noms,qsurf(1,:,:),q)
    269269
    270 write(*,*) "testphys1d: everything is cool."
     270write(*,*) "testphys1d: everything is cool!"
    271271
    272272END PROGRAM testphys1d
  • trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90

    r3343 r3350  
    840840        write(*,*) "phyetat0: Failed loading <perennial_co2ice> : ", &
    841841                   "<perennial_co2ice> is set as 10m at the South Pole"
    842         if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) then
    843             perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2
    844             qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:)
    845         endif
     842        if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2
    846843    endif ! not found
    847844  else ! no startfiphyle
     
    850847    d_coef = 4.e-4
    851848    perennial_co2ice = 0.
    852     if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) then
    853         perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2
    854         qsurf(ngrid,igcm_co2_tmp,:) = qsurf(ngrid - 1,igcm_co2_tmp,:)
    855     endif
     849    if (abs(latitude(ngrid) - (-pi/2.)) < 1.e-5) perennial_co2ice(ngrid,:) = 10*1.6e3 ! 10m which is convert to kg/m^2
    856850  endif !startphy_file
    857851else
Note: See TracChangeset for help on using the changeset viewer.