Ignore:
Timestamp:
Jul 20, 2024, 4:30:31 PM (2 months ago)
Author:
abarral
Message:

Remove all managed netcdf77 usage (excluding external: rrtm, ecrad)
Remove call to netcdf.inc
Replace USE lmdz_netcdf by USE netcdf
Replace lmdz_netcdf.F90 by lmdz_netcdf_format.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/Dust/read_surface.F90

    r5087 r5088  
    1010       USE mod_phys_lmdz_para
    1111       USE iophy
    12        USE lmdz_netcdf, ONLY:nf_inq_varid,nf_noerr,nf90_get_var
     12       USE netcdf, ONLY:nf90_inq_varid,nf90_noerr,nf90_get_var
    1313       IMPLICIT NONE
    1414
     
    6161       if (i==4) aux4s='Latu'
    6262       if (i==5) aux4s='latU'
    63        status = NF_INQ_VARID (ncid, aux4s, rcode)
     63       status = nf90_inq_varid (ncid, aux4s, rcode)
    6464!       print *,'stat,i',status,i,outcycle,aux4s
    65 !       print *,'ifclause',status.NE. NF_NOERR ,outcycle == .false.
    66        IF ((.not.(status/= NF_NOERR) ).and.( .not. outcycle )) THEN
     65!       print *,'ifclause',status.NE. nf90_noerr ,outcycle == .false.
     66       IF ((.not.(status/= nf90_noerr) ).and.( .not. outcycle )) THEN
    6767         outcycle=.true.
    6868         latstr=aux4s
     
    7676          status=nf90_get_var(ncid,varid,lats_glo,startj,endj)
    7777!      print *,latstr,varid,status,jjp1,rcode
    78 !      IF (status .NE. NF_NOERR) print*,'NOOOOOOO'
     78!      IF (status .NE. nf90_noerr) print*,'NOOOOOOO'
    7979!      print *,lats
    8080!stop
Note: See TracChangeset for help on using the changeset viewer.