Ignore:
Timestamp:
Jul 19, 2024, 6:40:44 PM (7 months ago)
Author:
Laurent Fairhead
Message:

Reverting to r4065. Updating fortran standard broke too much stuff. Will do it by smaller chunks
AB, LF

Location:
LMDZ6/trunk/libf/dynphy_lonlat/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/ce0l.F90

    r5075 r5084  
    2121  USE etat0phys,      ONLY: etat0phys_netcdf
    2222  USE limit,          ONLY: limit_netcdf
    23   USE lmdz_netcdf,         ONLY: NF90_OPEN, NF90_NOWRITE, NF90_CLOSE, NF90_NOERR,    &
     23  USE netcdf,         ONLY: NF90_OPEN, NF90_NOWRITE, NF90_CLOSE, NF90_NOERR,    &
    2424         NF90_INQUIRE_DIMENSION, NF90_INQ_DIMID, NF90_INQ_VARID, NF90_GET_VAR
    2525  USE infotrac,       ONLY: init_infotrac
  • LMDZ6/trunk/libf/dynphy_lonlat/phylmd/limit_netcdf.F90

    r5075 r5084  
    7171#ifndef CPP_1D
    7272  USE indice_sol_mod
    73   USE lmdz_netcdf,             ONLY: NF90_OPEN,    NF90_CREATE,  NF90_CLOSE,        &
     73  USE netcdf,             ONLY: NF90_OPEN,    NF90_CREATE,  NF90_CLOSE,        &
    7474                  NF90_DEF_DIM, NF90_DEF_VAR, NF90_PUT_VAR, NF90_PUT_ATT,      &
    75                   NF90_NOERR,   NF90_NOWRITE, NF90_GLOBAL,       &
     75                  NF90_NOERR,   NF90_NOWRITE, NF90_DOUBLE, NF90_GLOBAL,       &
    7676                  NF90_CLOBBER, NF90_ENDDEF,  NF90_UNLIMITED, NF90_FLOAT,      &
    77                   NF90_64BIT_OFFSET, NF90_FORMAT
     77                  NF90_64BIT_OFFSET
    7878  USE inter_barxy_m,      ONLY: inter_barxy
    7979  USE netcdf95,           ONLY: nf95_def_var, nf95_put_att, nf95_put_var
     
    107107  INTEGER :: id_tim,  id_SST,  id_BILS, id_RUG, id_ALB
    108108  INTEGER :: id_FOCE, id_FSIC, id_FTER, id_FLIC, varid_longitude, varid_latitude
     109  INTEGER :: NF90_FORMAT
    109110  INTEGER :: ndays                   !--- Depending on the output calendar
    110111  CHARACTER(LEN=ns) :: str
    111112
    112113!--- INITIALIZATIONS -----------------------------------------------------------
     114#ifdef NC_DOUBLE
     115  NF90_FORMAT=NF90_DOUBLE
     116#else
     117  NF90_FORMAT=NF90_FLOAT
     118#endif
    113119  CALL inigeom
    114120
     
    321327!     2) Dimensional variables have the same names as corresponding dimensions.
    322328!-----------------------------------------------------------------------------
    323   USE lmdz_netcdf, ONLY: NF90_OPEN, NF90_INQ_VARID, NF90_INQUIRE_VARIABLE, &
     329  USE netcdf, ONLY: NF90_OPEN, NF90_INQ_VARID, NF90_INQUIRE_VARIABLE, &
    324330       NF90_CLOSE, NF90_INQ_DIMID, NF90_INQUIRE_DIMENSION, NF90_GET_VAR, &
    325331       NF90_GET_ATT
     
    740746! Purpose: NetCDF errors handling.
    741747!-------------------------------------------------------------------------------
    742   USE lmdz_netcdf, ONLY : NF90_NOERR, NF90_STRERROR
     748  USE netcdf, ONLY : NF90_NOERR, NF90_STRERROR
    743749  IMPLICIT NONE
    744750!-------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.