Changeset 4288
- Timestamp:
- Oct 1, 2022, 2:48:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/dyn1d/mod_1D_cases_read2.F90
r4287 r4288 576 576 'radT','uw','vw','q1','q2','sens','flat','ts','ustar'/ 577 577 578 578 579 do i=1,nbvar3d 579 580 print *,'Dans read_cas2, on va lire ',nid,i,name_var(i) … … 589 590 print *,'Dans read_cas2, on va lire ',var3didin(i),name_var(i) 590 591 if(i.LE.35) then 591 ierr = NF90_GET_VAR(nid,var3didin(i),resul )592 ierr = NF90_GET_VAR(nid,var3didin(i),resul, count = [1, 1, nlevel, ntime]) 592 593 print *,'Dans read_cas2, on a lu ',ierr,var3didin(i),name_var(i) 593 594 if(ierr/=NF_NOERR) then … … 596 597 endif 597 598 else 598 ierr = NF90_GET_VAR(nid,var3didin(i),resul1)599 599 print *,'Dans read_cas2, on a lu ',ierr,var3didin(i),name_var(i) 600 ierr = NF90_GET_VAR(nid,var3didin(i),resul1, count = [1, 1, ntime]) 600 601 if(ierr/=NF_NOERR) then 601 602 print *,'Pb a la lecture de cas.nc: ',name_var(i) … … 711 712 !----------------------------------------------------------------------- 712 713 if(i.LE.4) then ! Lecture des coord pression en (nlevelp1,lat,lon) 713 ierr = NF90_GET_VAR(nid,var3didin(i),apbp, & 714 count = [1, 1, nlevel + 1]) 714 ierr = NF90_GET_VAR(nid,var3didin(i),apbp, count = [1, 1, nlevel + 1]) 715 715 print *,'read2_cas(apbp), on a lu ',i,name_var(i) 716 716 if(ierr/=NF_NOERR) then … … 720 720 !----------------------------------------------------------------------- 721 721 else if(i.gt.4.and.i.LE.45) then ! Lecture des variables en (time,nlevel,lat,lon) 722 ierr = NF90_GET_VAR(nid,var3didin(i),resul, & 723 count = [1, 1, nlevel, ntime]) 722 ierr = NF90_GET_VAR(nid,var3didin(i),resul, count = [1, 1, nlevel, ntime]) 724 723 print *,'read2_cas(resul), on a lu ',i,name_var(i) 725 724 if(ierr/=NF_NOERR) then
Note: See TracChangeset
for help on using the changeset viewer.