Changeset 5448 for LMDZ6/trunk/libf/phylmd/iotd_ecrit.f90
- Timestamp:
- Dec 23, 2024, 3:53:41 AM (10 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/iotd_ecrit.f90
r5390 r5448 123 123 !Case of a 3D variable 124 124 !--------------------- 125 125 if (llm==lmax) then 126 126 ndim=4 127 127 corner(1)=1 … … 134 134 edges(4)=1 135 135 dim_cc=dim_coord 136 137 136 138 137 !Case of a 2D variable … … 159 158 if (ntime==1) then 160 159 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) 162 161 !print*,'DEF ',nom,nid,varid 163 162 ierr = nf90_enddef(nid)
Note: See TracChangeset
for help on using the changeset viewer.