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

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/isotopes_routines_mod.F90

    r4982 r5075  
    1587115871  USE isotopes_verif_mod
    1587215872#endif
    15873 
    1587415873       implicit none   
    1587515874
    1587615875      ! equivalent de phyetat0 pour les isotopes 
    1587715876
    15878 #include "netcdf.inc"
    1587915877#include "dimsoil.h"
    1588015878#include "clesphys.h"
     
    1642916427   IMPLICIT NONE
    1643016428
    16431 #include "netcdf.inc"
    1643216429#include "dimsoil.h"
    1643316430#include "clesphys.h"
  • LMDZ6/trunk/libf/phylmdiso/limit_read_mod.F90

    r4619 r5075  
    274274    USE mod_phys_lmdz_para
    275275    USE surface_data, ONLY : type_ocean, ok_veget
    276     USE netcdf
     276    USE lmdz_netcdf, ONLY:nf90_noerr,nf90_close,nf90_get_var,nf90_inq_varid,nf90_nowrite,&
     277            nf90_inq_dimid,nf90_inquire_dimension,nf90_open
    277278    USE indice_sol_mod
    278279#ifdef ISO
  • LMDZ6/trunk/libf/phylmdiso/phyaqua_mod.F90

    r5073 r5075  
    147147    !END IF
    148148   
    149     if (year_len.ne.360) then
     149    if (year_len/=360) then
    150150      write (*,*) year_len
    151151      write (*,*) 'iniaqua: 360 day calendar is required !'
     
    960960      END IF
    961961
    962       if (type_profil.EQ.20) then
     962      if (type_profil==20) then
    963963      print*,'Profile SST 20'
    964964!     Méthode 13 "Qmax2K" plateau réel �|  l'Equateur augmenté +2K
     
    969969      endif
    970970
    971       if (type_profil.EQ.21) then
     971      if (type_profil==21) then
    972972      print*,'Profile SST 21'
    973973!     Méthode 13 "Qmax2K" plateau réel �|  l'Equateur augmenté +2K
  • LMDZ6/trunk/libf/phylmdiso/phyetat0_mod.F90

    r4982 r5075  
    4848  USE time_phylmdz_mod, ONLY: init_iteration, pdtphys, itau_phy
    4949  USE wxios, ONLY: missing_val_xios => missing_val, using_xios
    50   use netcdf, only: missing_val_netcdf => nf90_fill_real
     50  use lmdz_netcdf, only: missing_val_netcdf => nf90_fill_real
    5151  use config_ocean_skin_m, only: activate_ocean_skin
    5252#ifdef ISO
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r5066 r5075  
    4848    USE mod_phys_lmdz_para
    4949    USE netcdf95, only: nf95_close
    50     USE netcdf, only: nf90_fill_real     ! IM for NMC files
     50    USE lmdz_netcdf, only: nf90_fill_real     ! IM for NMC files
    5151    USE open_climoz_m, only: open_climoz ! ozone climatology from a file
    5252    USE ozonecm_m, only: ozonecm ! ozone of J.-F. Royer
Note: See TracChangeset for help on using the changeset viewer.