Ignore:
Timestamp:
Jul 24, 2024, 4:23:34 PM (4 months ago)
Author:
abarral
Message:

rename modules properly lmdz_*
move some unused files to obsolete/
(lint) uppercase fortran keywords

File:
1 edited

Legend:

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

    r5116 r5117  
    2424    ! Regridding is by linear interpolation.
    2525
    26     use dimphy, ONLY: klon
    27     use netcdf95, ONLY: nf95_inq_varid, nf95_get_var
    28     use lmdz_assert, ONLY: assert
    29     use regr_lint_m, ONLY: regr_lint
    30     use lmdz_phys_mpi_data, ONLY: is_mpi_root
    31     use lmdz_grid_phy, ONLY: nbp_lon, nbp_lat, nbp_lev
    32     use lmdz_phys_transfert_para, ONLY: scatter2d
     26    USE dimphy, ONLY: klon
     27    USE netcdf95, ONLY: nf95_inq_varid, nf95_get_var
     28    USE lmdz_assert, ONLY: assert
     29    USE lmdz_regr_lint, ONLY: regr_lint
     30    USE lmdz_phys_mpi_data, ONLY: is_mpi_root
     31    USE lmdz_grid_phy, ONLY: nbp_lon, nbp_lat, nbp_lev
     32    USE lmdz_phys_transfert_para, ONLY: scatter2d
    3333    ! (pack to the LMDZ horizontal "physics" grid and scatter)
    3434
    35     integer, intent(in):: ncid ! NetCDF ID of the file
    36     CHARACTER(LEN=*), intent(in):: name ! of the NetCDF variable
    37     integer, intent(in):: julien ! jour julien, 1 <= julien <= 360
     35    INTEGER, INTENT(IN):: ncid ! NetCDF ID of the file
     36    CHARACTER(LEN=*), INTENT(IN):: name ! of the NetCDF variable
     37    INTEGER, INTENT(IN):: julien ! jour julien, 1 <= julien <= 360
    3838
    39     real, intent(in):: plev(:)
     39    REAL, INTENT(IN):: plev(:)
    4040    ! (pressure level of input data, in Pa, in strictly ascending order)
    4141
    42     real, intent(in):: pplay(:, :) ! (klon, nbp_lev)
     42    REAL, INTENT(IN):: pplay(:, :) ! (klon, nbp_lev)
    4343    ! (pression pour le mileu de chaque couche, en Pa)
    4444
    45     real, intent(in):: top_value
     45    REAL, INTENT(IN):: top_value
    4646    ! (extra value of field at 0 pressure)
    4747
    48     real, intent(out):: v3(:, :) ! (klon, nbp_lev)
     48    REAL, INTENT(OUT):: v3(:, :) ! (klon, nbp_lev)
    4949    ! (regridded field on the partial "physics" grid)
    5050    ! ("v3(i, k)" is at longitude "xlon(i)", latitude
     
    5353    ! Variables local to the procedure:
    5454
    55     integer varid, ncerr ! for NetCDF
     55    INTEGER varid, ncerr ! for NetCDF
    5656
    5757    real  v1(nbp_lon, nbp_lat, 0:size(plev))
     
    6161    ! "v1(:, j, k >=1)" is at latitude "rlatu(j)" and pressure "plev(k)".)
    6262
    63     real v2(klon, 0:size(plev))
     63    REAL v2(klon, 0:size(plev))
    6464    ! (field scattered to the partial "physics" horizontal grid)
    6565    ! "v2(i, k >= 1)" is at longitude "xlon(i)", latitude "xlat(i)"
    6666    ! and pressure "plev(k)".)
    6767
    68     integer i
     68    INTEGER i
    6969
    7070    !--------------------------------------------
     
    7474
    7575    !$omp master
    76     if (is_mpi_root) THEN
     76    IF (is_mpi_root) THEN
    7777       CALL nf95_inq_varid(ncid, name, varid)
    7878
Note: See TracChangeset for help on using the changeset viewer.