Ignore:
Timestamp:
Apr 1, 2026, 3:17:47 PM (8 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/libf/phymars/write_output_mod.F90

    r4058 r4161  
    285285logical, dimension(:), intent(in) :: field
    286286! Local argument used to convert logical to real
    287 real, dimension(ngrid) :: field_real
    288 logical :: is_active ! For XIOS, should this field be sent or not
    289 
     287real, allocatable, dimension(:) :: field_real
     288logical :: is_active ! For XIOS, should this field be sent or not
     289
     290allocate(field_real(size(field,1)))
    290291field_real = 0.
    291292where (field) field_real = 1.
Note: See TracChangeset for help on using the changeset viewer.