Ignore:
Timestamp:
Mar 5, 2025, 2:13:18 PM (5 months ago)
Author:
afalco
Message:

Pluto: fixed bug in LMDZ to DYNAMICO conversion.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/util/startarchive2icosa/rearrange_startphy.f90

    r3545 r3670  
    144144!   ierr=NF90_INQUIRE_DIMENSION(ncid, dimids(9), len=nslope)
    145145  ierr=NF90_INQUIRE(ncid,nVariables=nvar)
     146  print*, "physical_points", physical_points, "dim", dimids(1)
     147  print*, "nvertex", nvertex, "dim", dimids(2)
     148  print*, "index", index_, "dim", dimids(4)
     149  print*, "subsurface_layers", subsurface_layer, "dim", dimids(6)
     150  print*, "lev_p1", lev_p1, "dim", dimids(7)
     151  print*, "Time", Time, "dim", dimids(8)
    146152
    147153
     
    235241
    236242    ! Processing 2D variables : soil
    237     else if ((ndim==2).and.(varname_dimids(2)==subsurface_layer)) then
     243    else if ((ndim==2).and.(varname_dimids(2)==dimids(6))) then
    238244      write(*,*) "processing ",trim(varname)
    239245      ! load field_soil
Note: See TracChangeset for help on using the changeset viewer.