Changeset 2572 for trunk/LMDZ.COMMON/libf/dyn3d
- Timestamp:
- Oct 25, 2021, 9:57:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d/guide_mod.F90
r1650 r2572 1150 1150 if (guide_modele) then 1151 1151 #ifdef NC_DOUBLE 1152 status=NF_GET_VARA_DOUBLE(ncidpl,varidap, 1,nlevnc,apnc)1153 status=NF_GET_VARA_DOUBLE(ncidpl,varidbp, 1,nlevnc,bpnc)1152 status=NF_GET_VARA_DOUBLE(ncidpl,varidap,[1],[nlevnc],apnc) 1153 status=NF_GET_VARA_DOUBLE(ncidpl,varidbp,[1],[nlevnc],bpnc) 1154 1154 #else 1155 status=NF_GET_VARA_REAL(ncidpl,varidap, 1,nlevnc,apnc)1156 status=NF_GET_VARA_REAL(ncidpl,varidbp, 1,nlevnc,bpnc)1155 status=NF_GET_VARA_REAL(ncidpl,varidap,[1],[nlevnc],apnc) 1156 status=NF_GET_VARA_REAL(ncidpl,varidbp,[1],[nlevnc],bpnc) 1157 1157 #endif 1158 1158 else 1159 1159 #ifdef NC_DOUBLE 1160 status=NF_GET_VARA_DOUBLE(ncidpl,varidpl, 1,nlevnc,apnc)1160 status=NF_GET_VARA_DOUBLE(ncidpl,varidpl,[1],[nlevnc],apnc) 1161 1161 #else 1162 status=NF_GET_VARA_REAL(ncidpl,varidpl, 1,nlevnc,apnc)1162 status=NF_GET_VARA_REAL(ncidpl,varidpl,[1],[nlevnc],apnc) 1163 1163 #endif 1164 1164 apnc=apnc*100.! conversion en Pascals … … 1387 1387 if (guide_modele) then 1388 1388 #ifdef NC_DOUBLE 1389 status=NF_GET_VARA_DOUBLE(ncidpl,varidap, 1,nlevnc,apnc)1390 status=NF_GET_VARA_DOUBLE(ncidpl,varidbp, 1,nlevnc,bpnc)1389 status=NF_GET_VARA_DOUBLE(ncidpl,varidap,[1],[nlevnc],apnc) 1390 status=NF_GET_VARA_DOUBLE(ncidpl,varidbp,[1],[nlevnc],bpnc) 1391 1391 #else 1392 status=NF_GET_VARA_REAL(ncidpl,varidap, 1,nlevnc,apnc)1393 status=NF_GET_VARA_REAL(ncidpl,varidbp, 1,nlevnc,bpnc)1392 status=NF_GET_VARA_REAL(ncidpl,varidap,[1],[nlevnc],apnc) 1393 status=NF_GET_VARA_REAL(ncidpl,varidbp,[1],[nlevnc],bpnc) 1394 1394 #endif 1395 1395 else 1396 1396 #ifdef NC_DOUBLE 1397 status=NF_GET_VARA_DOUBLE(ncidpl,varidpl, 1,nlevnc,apnc)1397 status=NF_GET_VARA_DOUBLE(ncidpl,varidpl,[1],[nlevnc],apnc) 1398 1398 #else 1399 status=NF_GET_VARA_REAL(ncidpl,varidpl, 1,nlevnc,apnc)1399 status=NF_GET_VARA_REAL(ncidpl,varidpl,[1],[nlevnc],apnc) 1400 1400 #endif 1401 1401 apnc=apnc*100.! conversion en Pascals … … 1560 1560 1561 1561 ! Creation des variables dimensions 1562 ierr=NF_DEF_VAR(nid,"LONU",NF_FLOAT,1, id_lonu,vid_lonu)1563 ierr=NF_DEF_VAR(nid,"LONV",NF_FLOAT,1, id_lonv,vid_lonv)1564 ierr=NF_DEF_VAR(nid,"LATU",NF_FLOAT,1, id_latu,vid_latu)1565 ierr=NF_DEF_VAR(nid,"LATV",NF_FLOAT,1, id_latv,vid_latv)1566 ierr=NF_DEF_VAR(nid,"LEVEL",NF_FLOAT,1, id_lev,vid_lev)1562 ierr=NF_DEF_VAR(nid,"LONU",NF_FLOAT,1,[id_lonu],vid_lonu) 1563 ierr=NF_DEF_VAR(nid,"LONV",NF_FLOAT,1,[id_lonv],vid_lonv) 1564 ierr=NF_DEF_VAR(nid,"LATU",NF_FLOAT,1,[id_latu],vid_latu) 1565 ierr=NF_DEF_VAR(nid,"LATV",NF_FLOAT,1,[id_latv],vid_latv) 1566 ierr=NF_DEF_VAR(nid,"LEVEL",NF_FLOAT,1,[id_lev],vid_lev) 1567 1567 ierr=NF_DEF_VAR(nid,"cu",NF_FLOAT,2,(/id_lonu,id_latu/),vid_cu) 1568 1568 ierr=NF_DEF_VAR(nid,"au",NF_FLOAT,2,(/id_lonu,id_latu/),vid_au)
Note: See TracChangeset
for help on using the changeset viewer.