Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (4 months ago)
Author:
abarral
Message:

Replace most uses of CPP_DUST by the corresponding logical defined in lmdz_cppkeys_wrapper.F90
Convert several files from .F to .f90 to allow Dust to compile w/o rrtm/ecrad
Create lmdz_yoerad.f90
(lint) Remove "!" on otherwise empty line

File:
1 edited

Legend:

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

    r5088 r5099  
    3131  IF (is_mpi_root .AND. is_omp_root) THEN
    3232     ierr = NF90_OPEN(trim(filename), NF90_NOWRITE, nid)
    33      IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in opening file')
     33     IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in opening file')
    3434
    3535     ierr = NF90_INQ_VARID(nid, trim(varname), nvarid)
    36      IF (ierr /= NF90_NOERR) CALL write_err_mess('The variable is absent in file')
     36     IF (ierr /= nf90_noerr) CALL write_err_mess('The variable is absent in file')
    3737     
    3838     start=(/1,1,timestep/)
    3939     count=(/nbp_lon,nbp_lat,1/)
    40      ierr = NF90_GET_VAR(nid, nvarid, var_glo2D,start,count)
    41      IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in reading varaiable')
     40     ierr = nf90_get_var(nid, nvarid, var_glo2D,start,count)
     41     IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in reading varaiable')
    4242
    4343     ierr = NF90_CLOSE(nid)
    44      IF (ierr /= NF90_NOERR) CALL write_err_mess('Problem in closing file')
     44     IF (ierr /= nf90_noerr) CALL write_err_mess('Problem in closing file')
    4545
    4646     ! Inverse latitude order
Note: See TracChangeset for help on using the changeset viewer.