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/Dust/read_dust.F

    r5073 r5075  
    33      USE mod_grid_phy_lmdz
    44      USE mod_phys_lmdz_para
     5      USE lmdz_netcdf, ONLY:nf90_get_var
    56      IMPLICIT NONE
    67c
    78      INCLUDE "dimensions.h"
    89      INCLUDE "paramet.h"
    9       INCLUDE "netcdf.inc"
    1010c
    1111      INTEGER step, nbjour
     
    4545c
    4646      start(3)=step
    47 c
    48 !      status=NF_GET_VARA_DOUBLE(ncid1,varid1,start,count,dust_nc)
     47
    4948      status=nf90_get_var(ncid1,varid1,dust_nc_glo,start,count)
    50 c
     49
    5150!      call correctbid(iim,jjp1,dust_nc)
    5251      call correctbid(nbp_lon,nbp_lat,dust_nc_glo)
Note: See TracChangeset for help on using the changeset viewer.