Ignore:
Timestamp:
Jun 25, 2025, 11:10:57 AM (4 days ago)
Author:
afalco
Message:

Generic: enable writing cell_area with XIOSin physiq_mod, only for 3D runs.
Pluto: only write variable in 3D runs (do not calculate cell_area for 1D runs).
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90

    r3813 r3816  
    21682168      call write_output("emis","Emissivity","",emis)
    21692169      call write_output('phisfi','Surface Geopotential','m2s-2',phisfi)
    2170       if (grid_type == regular_lonlat) then
    2171           call write_output("area","Mesh area","m2", &
    2172                            cell_area_for_lonlat_outputs)
    2173         else ! unstructured grid (e.g. dynamico)
    2174           call write_output("area","Mesh area","m2",cell_area)
     2170      if (ngrid.ne.1) then
     2171         if (grid_type == regular_lonlat) then
     2172            call write_output("area","Mesh area","m2", &
     2173                              cell_area_for_lonlat_outputs)
     2174         else ! unstructured grid (e.g. dynamico)
     2175            call write_output("area","Mesh area","m2",cell_area)
     2176         endif
    21752177      endif
    21762178
Note: See TracChangeset for help on using the changeset viewer.