Ignore:
Timestamp:
Jul 20, 2024, 4:30:31 PM (4 months ago)
Author:
abarral
Message:

Remove all managed netcdf77 usage (excluding external: rrtm, ecrad)
Remove call to netcdf.inc
Replace USE lmdz_netcdf by USE netcdf
Replace lmdz_netcdf.F90 by lmdz_netcdf_format.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/grid_noro_m.F90

    r5087 r5088  
    435435! Purpose: Read parameters usually determined with grid_noro from a file.
    436436!===============================================================================
    437   USE lmdz_netcdf, ONLY: NF90_OPEN,  NF90_INQ_DIMID, NF90_INQUIRE_DIMENSION,        &
     437  USE netcdf, ONLY: NF90_OPEN,  nf90_inq_dimid, NF90_INQUIRE_DIMENSION,        &
    438438        NF90_NOERR, NF90_CLOSE, NF90_INQ_VARID, NF90_GET_VAR, NF90_STRERROR,   &
    439439        NF90_NOWRITE
     
    509509  REAL, ALLOCATABLE :: tmp(:)
    510510  INTEGER :: n
    511   CALL ncerr(NF90_INQ_DIMID(fid,dimd,did))
     511  CALL ncerr(nf90_inq_dimid(fid,dimd,did))
    512512  CALL ncerr(NF90_INQUIRE_DIMENSION(fid,did,len=n)); ALLOCATE(tmp(n))
    513513  CALL ncerr(NF90_INQ_VARID(fid,dimd,did))
Note: See TracChangeset for help on using the changeset viewer.