Ignore:
Timestamp:
Dec 23, 2024, 3:53:41 AM (10 hours ago)
Author:
fhourdin
Message:

For replay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/iotd_ecrit.f90

    r5390 r5448  
    123123!Case of a 3D variable
    124124!---------------------
    125         if (llm==lmax) then
     125       if (llm==lmax) then
    126126           ndim=4
    127127           corner(1)=1
     
    134134           edges(4)=1
    135135           dim_cc=dim_coord
    136 
    137136
    138137!Case of a 2D variable
     
    159158      if (ntime==1) then
    160159          ierr = nf90_redef (nid)
    161           ierr = nf90_def_var(nid,nom,nf90_float,dim_cc,varid)
     160          ierr = nf90_def_var(nid,nom,nf90_float,dim_cc(1:ndim),varid)
    162161          !print*,'DEF ',nom,nid,varid
    163162          ierr = nf90_enddef(nid)
Note: See TracChangeset for help on using the changeset viewer.