Ignore:
Timestamp:
Jul 23, 2024, 7:00:20 AM (4 months ago)
Author:
abarral
Message:

Remove CPP_1D key. It was used once in a single file to wrap a whole internal module -> can't even compile if key is enabled.
(lint) Set NF90_* to lowercase

File:
1 edited

Legend:

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

    r5088 r5100  
    1919    ! Shortcut to create a file containing a single primary variable.
    2020
    21     use netcdf, only: NF90_CLOBBER, NF90_FLOAT
     21    use netcdf, only: nf90_clobber, nf90_float
    2222
    2323    use nf95_create_m, only: nf95_create
     
    3636    !----------------------------------------------------------------------
    3737
    38     call nf95_create(name // ".nc", NF90_CLOBBER, ncid)
     38    call nf95_create(name // ".nc", nf90_clobber, ncid)
    3939
    4040    do i = 1, size(coordinates)
    4141       call nf95_def_dim(ncid, coordinates(i)%name, coordinates(i)%nclen, &
    4242            dimids(i))
    43        call nf95_def_var(ncid, coordinates(i)%name, NF90_FLOAT, dimids(i), &
     43       call nf95_def_var(ncid, coordinates(i)%name, nf90_float, dimids(i), &
    4444            varid_coord(i))
    4545
     
    5050    END DO
    5151
    52     call nf95_def_var(ncid, name, NF90_FLOAT, dimids, varid)
     52    call nf95_def_var(ncid, name, nf90_float, dimids, varid)
    5353
    5454  end subroutine nf95_create_single
Note: See TracChangeset for help on using the changeset viewer.