- Timestamp:
- Jul 20, 2024, 4:30:31 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/Dust/phytracr_spl_mod.F90
r5082 r5088 4568 4568 USE mod_grid_phy_lmdz 4569 4569 USE mod_phys_lmdz_para 4570 USE lmdz_netcdf, ONLY:nf_open,nf_close,nf_inq_varid,nf_nowrite,nf_noerr,nf90_get_var4570 USE netcdf, ONLY:nf90_open,nf90_close,nf90_inq_varid,nf90_nowrite,nf90_noerr,nf90_get_var 4571 4571 IMPLICIT NONE 4572 4572 … … 4587 4587 IF (is_mpi_root .AND. is_omp_root) THEN 4588 4588 !nci=NCOPN(trim(adjustl(filescaleparams)),NCNOWRIT,rcode) 4589 ierr = NF_OPEN (trim(adjustl(filescaleparams)),NF_NOWRITE, nid)4590 if (ierr == NF_NOERR) THEN4589 ierr = nf90_open (trim(adjustl(filescaleparams)),nf90_nowrite, nid) 4590 if (ierr == nf90_noerr) THEN 4591 4591 debutread=step_sca 4592 4592 countread=1 … … 4596 4596 varname= trim(adjustl(paramname))//aux_2s 4597 4597 print *,varname 4598 ierr = NF_INQ_VARID(nid,trim(adjustl(varname)), nvarid)4598 ierr = nf90_inq_varid (nid,trim(adjustl(varname)), nvarid) 4599 4599 ierr = nf90_get_var (nid, nvarid, auxreal, debutread, countread) 4600 IF (ierr /= NF_NOERR) THEN4600 IF (ierr /= nf90_noerr) THEN 4601 4601 PRINT*, 'Pb de lecture pour modvalues' 4602 4602 print *,'JE scale_var, step_sca',trim(adjustl(varname)),step_sca … … 4611 4611 enddo 4612 4612 4613 ierr = NF_CLOSE(nid)4613 ierr = nf90_close(nid) 4614 4614 else 4615 4615 print *,'File '//trim(adjustl(filescaleparams))//' not found'
Note: See TracChangeset
for help on using the changeset viewer.