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

Location:
LMDZ6/branches/Amaury_dev/tools/netcdf95
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/tools/netcdf95/Datasets/nf95_find_coord.f90

    r5088 r5099  
    1515    ! attribute "std_name".
    1616
    17     use netcdf, only: NF90_MAX_NAME, NF90_NOERR
     17    use netcdf, only: NF90_MAX_NAME, nf90_noerr
    1818    use nf95_get_att_m, only: nf95_get_att
    1919    use nf95_inq_varid_m, only: nf95_inq_varid
     
    8080       call nf95_inquire_dimension(ncid, dimid_local, name_local)
    8181       call nf95_inq_varid(ncid, name_local, varid_local, ncerr)
    82        if (ncerr == NF90_NOERR) then
     82       if (ncerr == nf90_noerr) then
    8383          call nf95_inquire_variable(ncid, varid_local, dimids=dimids)
    8484          if (size(dimids) == 1) then
     
    8686                ! We have found a coordinate
    8787                call nf95_get_att(ncid, varid_local, "units", values, ncerr)
    88                 if (ncerr == NF90_NOERR)then
     88                if (ncerr == nf90_noerr)then
    8989                   if (exact) then
    9090                      found = any(values == units)
  • LMDZ6/branches/Amaury_dev/tools/netcdf95/Variables/nf95_get_var.f90

    r5088 r5099  
    11module nf95_get_var_m
    22
    3   use netcdf, only: nf90_get_var, NF90_NOERR
     3  use netcdf, only: nf90_get_var, nf90_noerr
    44 
    55  use nf95_abort_m, only: nf95_abort
  • LMDZ6/branches/Amaury_dev/tools/netcdf95/Variables/nf95_get_var_array.h

    r4918 r5099  
    1616  end if
    1717
    18   if (ncerr_not_opt == NF90_NOERR .and. present(new_missing)) then
     18  if (ncerr_not_opt == nf90_noerr .and. present(new_missing)) then
    1919     call nf95_get_missing(ncid, varid, missing)
    2020     where (values == missing) values = new_missing
  • LMDZ6/branches/Amaury_dev/tools/netcdf95/Variables/nf95_get_var_scalar.h

    r4918 r5099  
    1414  end if
    1515
    16   if (ncerr_not_opt == NF90_NOERR .and. present(new_missing)) then
     16  if (ncerr_not_opt == nf90_noerr .and. present(new_missing)) then
    1717     call nf95_get_missing(ncid, varid, missing)
    1818     if (values == missing) values = new_missing
Note: See TracChangeset for help on using the changeset viewer.