Ignore:
Timestamp:
Jul 19, 2024, 10:05:57 AM (4 months ago)
Author:
abarral
Message:

[continued & end] replace netcdf by lmdz_netcdf.F90 wrapper
"use netcdf" is now only used in lmdz_netcdf.F90 (except ecrad and obsolete/)
<include "netcdf.inc"> is now likewise only used in lmdz_netcdf.F90.

systematically specify explicitely <USE lmdz_netcdf, ONLY:> (probably left some missing, to correct later on)

Further replacement of nf_put_* by nf90_put_* (same for _get_)

[minor] replace deprecated boolean operators along the way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/mod_1D_amma_read.F90

    r5073 r5075  
    11MODULE mod_1D_amma_read
    2 
     2        USE lmdz_netcdf, ONLY: nf90_get_var,nf_open,nf_noerr,nf_open,nf_nowrite,&
     3                nf_inq_dimid,nf_inq_dimlen,nf_strerror,nf_inq_varid
    34!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    45!Declarations specifiques au cas AMMA
     
    67! Option du cas AMMA ou on impose la discretisation verticale (Ap,Bp)
    78        integer nlev_amma, nt_amma
    8 
    99
    1010        integer year_ini_amma, day_ini_amma, mth_ini_amma
     
    5858SUBROUTINE read_1D_cases
    5959      implicit none
    60 
    61       INCLUDE "netcdf.inc"
    6260
    6361      INTEGER nid,rid,ierr
     
    172170
    173171
    174 END MODULE mod_1D_amma_read
    175172!=====================================================================
    176173      subroutine read_amma(nid,nlevel,ntime                          &
     
    180177!program reading forcings of the AMMA case study
    181178      implicit none
    182       INCLUDE "netcdf.inc"
    183179
    184180      integer ntime,nlevel
     
    459455        END
    460456
     457END MODULE mod_1D_amma_read
Note: See TracChangeset for help on using the changeset viewer.