Changeset 5448
- Timestamp:
- Dec 23, 2024, 3:53:41 AM (6 hours ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 2 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) -
LMDZ6/trunk/libf/phylmd/iotd_ini.f90
r5390 r5448 124 124 ierr=nf90_def_var(nid, "lev", nf90_float, dim_coord(3),nvarid) 125 125 ierr=nf90_put_att(nid,nvarid,"long_name","vert level") 126 if ( coordv(2)>coordv(1) ) then 126 127 if ( coordv(min(2,llm))>=coordv(1) ) then 127 128 ierr=nf90_put_att(nid,nvarid,"long_name","pseudo-alt") 128 129 ierr=nf90_put_att(nid,nvarid,'positive',"up")
Note: See TracChangeset
for help on using the changeset viewer.