Ignore:
Timestamp:
Jul 18, 2024, 3:07:22 PM (7 months ago)
Author:
abarral
Message:

Replace nf_put_var* by nf90_put_var as discussed w/ Lionel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/dyn3dmem/guide_loc_mod.F90

    r5070 r5071  
    1010  use lmdz_netcdf, only: nf90_nowrite, nf90_open, nf90_inq_varid, nf90_close, &
    1111          nf90_inq_dimid, nf90_inquire_dimension, nf_get_vara_rd, nf_inq_dimid, &
    12           nf_inq_dimlen, nf_enddef, nf_def_dim, nf_put_var_rd, nf_noerr, nf_close, nf_inq_varid, &
     12          nf_inq_dimlen, nf_enddef, nf_def_dim, nf90_put_var, nf_noerr, nf_close, nf_inq_varid, &
    1313          nf_redef, nf_write, nf_unlimited, nf_float, nf_clobber, nf_64bit_offset, nf90_float, &
    14           nf_create, nf_def_var, nf_open, nf_put_vara_rd
     14          nf_create, nf_def_var, nf_open
    1515  USE parallel_lmdz
    1616  USE pres2lev_mod, only: pres2lev
     
    22572257
    22582258! Enregistrement des variables dimensions
    2259         ierr = nf_put_var_rd(nid,vid_lonu,rlonu*180./pi)
    2260         ierr = nf_put_var_rd(nid,vid_lonv,rlonv*180./pi)
    2261         ierr = nf_put_var_rd(nid,vid_latu,rlatu*180./pi)
    2262         ierr = nf_put_var_rd(nid,vid_latv,rlatv*180./pi)
    2263         ierr = nf_put_var_rd(nid,vid_lev,presnivs)
    2264         ierr = nf_put_var_rd(nid,vid_cu,cu)
    2265         ierr = nf_put_var_rd(nid,vid_cv,cv)
    2266         ierr = nf_put_var_rd(nid,vid_au,zu)
    2267         ierr = nf_put_var_rd(nid,vid_av,zv)
     2259        ierr = nf90_put_var(nid,vid_lonu,rlonu*180./pi)
     2260        ierr = nf90_put_var(nid,vid_lonv,rlonv*180./pi)
     2261        ierr = nf90_put_var(nid,vid_latu,rlatu*180./pi)
     2262        ierr = nf90_put_var(nid,vid_latv,rlatv*180./pi)
     2263        ierr = nf90_put_var(nid,vid_lev,presnivs)
     2264        ierr = nf90_put_var(nid,vid_cu,cu)
     2265        ierr = nf90_put_var(nid,vid_cv,cv)
     2266        ierr = nf90_put_var(nid,vid_au,zu)
     2267        ierr = nf90_put_var(nid,vid_av,zv)
    22682268        call nf95_put_var(nid, varid_alpha_t, zt)
    22692269        call nf95_put_var(nid, varid_alpha_q, zq)
     
    23552355!$OMP MASTER
    23562356
    2357     ierr = nf_put_vara_rd(nid,varid,start,count,field_glo)
     2357    ierr = nf90_put_var(nid,varid,field_glo,start,count)
    23582358    ierr = NF_CLOSE(nid)
    23592359
Note: See TracChangeset for help on using the changeset viewer.