Ignore:
Timestamp:
Apr 1, 2026, 3:17:47 PM (6 days ago)
Author:
jmauxion
Message:

Mars PCM:

  • Fix improvedclouds_mod by adding a missing "else" condition on zdq.
  • Add the possibility to output watercaptag in physiq_mod.
  • Fix write_output to handle logical arrays with an unstructured grid.
  • Update some of the utils (localtime/zrecast) to handle phisfi.

JM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/localtime.F90

    r2577 r4161  
    10461046ierr=NF_INQ_VARID(infid,"phisinit",tmpvarid)
    10471047if (ierr.ne.NF_NOERR) then
    1048   write(*,*) "Failed to get phisinit ID. OK"
    1049   phisinit = 0.
    1050   phis = .false.
     1048  write(*,*) "Failed to get phisinit ID..."
     1049  write(*,*) "Try name phisfi (xios name)..."
     1050  ierr=NF_INQ_VARID(infid,"phisfi",tmpvarid)
     1051  if (ierr.ne.NF_NOERR) then
     1052    write(*,*) "Failed again. Ok, I skip phisinit."
     1053    phisinit = 0.
     1054    phis = .false.
     1055  else
     1056    ierr=NF_GET_VAR_REAL(infid,tmpvarid,phisinit)
     1057    if (ierr.ne.NF_NOERR) then
     1058      write(*,*) "init2 ERRO: Failed reading phisinit"
     1059      stop
     1060    endif
     1061    phis = .true.
     1062  endif
    10511063else
    10521064  ierr=NF_GET_VAR_REAL(infid,tmpvarid,phisinit)
Note: See TracChangeset for help on using the changeset viewer.