Ignore:
Timestamp:
Jul 19, 2024, 10:05:57 AM (2 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/iotd_fin.F90

    r4593 r5075  
    1       SUBROUTINE iotd_fin
    2       IMPLICIT NONE
     1SUBROUTINE iotd_fin
     2  USE lmdz_netcdf, ONLY : nf_close
    33
    4 !=======================================================================
    5 !
    6 !   Auteur:  F. Hourdin
    7 !   -------
    8 !
    9 !   Objet:
    10 !   ------
    11 !   Light interface for netcdf outputs. can be used outside LMDZ
    12 !
    13 !=======================================================================
     4  IMPLICIT NONE
    145
     6  !=======================================================================
     7  !
     8  !   Auteur:  F. Hourdin
     9  !   -------
     10  !
     11  !   Objet:
     12  !   ------
     13  !   Light interface for netcdf outputs. can be used outside LMDZ
     14  !
     15  !=======================================================================
    1516
    16       INCLUDE "netcdf.inc"
    17       INCLUDE "iotd.h"
    18       integer ierr
     17  INCLUDE "iotd.h"
     18  integer ierr
    1919
    20 !   Arguments:
    21 !   ----------
     20  !   Arguments:
     21  !   ----------
    2222
    23       ierr=NF_close(nid)
     23  ierr = NF_close(nid)
    2424
    25       END
     25END
Note: See TracChangeset for help on using the changeset viewer.