Ignore:
Timestamp:
Oct 24, 2024, 1:55:38 PM (2 weeks ago)
Author:
abarral
Message:

Replace F77 netcdf library by F90 netcdf library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/read_pstoke.f90

    r5268 r5270  
    2323
    2424  IMPLICIT NONE
    25 
    26   include "netcdf.inc"
    2725
    2826  INTEGER klono, klevo, imo, jmo
     
    226224    ! ID pour les dimensions
    227225
    228     status = nf_inq_dimid(ncidp, 'y', yid)
    229     status = nf_inq_dimid(ncidp, 'x', xid)
    230     status = nf_inq_dimid(ncidp, 'sig_s', zid)
    231     status = nf_inq_dimid(ncidp, 'time_counter', tid)
     226    status = nf90_inq_dimid(ncidp, 'y', yid)
     227    status = nf90_inq_dimid(ncidp, 'x', xid)
     228    status = nf90_inq_dimid(ncidp, 'sig_s', zid)
     229    status = nf90_inq_dimid(ncidp, 'time_counter', tid)
    232230
    233231    ! lecture des dimensions
    234232
    235     status = nf_inq_dim(ncidp, yid, namedim, ncjm)
    236     status = nf_inq_dim(ncidp, xid, namedim, ncim)
    237     status = nf_inq_dim(ncidp, zid, namedim, ncklevo)
    238     status = nf_inq_dim(ncidp, tid, namedim, ncrec)
     233    status = nf90_inquire_dimension(ncidp, yid, namedim, ncjm)
     234    status = nf90_inquire_dimension(ncidp, xid, namedim, ncim)
     235    status = nf90_inquire_dimension(ncidp, zid, namedim, ncklevo)
     236    status = nf90_inquire_dimension(ncidp, tid, namedim, ncrec)
    239237
    240238    zrec = ncrec
Note: See TracChangeset for help on using the changeset viewer.