Ignore:
Timestamp:
Jul 22, 2024, 9:29:09 PM (2 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/dyn3dmem/iniacademic_loc.F90

    r5088 r5099  
    1 !
     1
    22! $Id: iniacademic.F90 1625 2012-05-09 13:14:48Z lguez $
    3 !
     3
    44SUBROUTINE iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0)
    55
     
    2323  USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0
    2424  USE readTracFiles_mod, ONLY: addPhase
    25   use netcdf, only : NF90_NOWRITE,NF90_OPEN,NF90_NOERR,NF90_INQ_VARID,NF90_CLOSE, NF90_GET_VAR
     25  use netcdf, only : NF90_NOWRITE,NF90_OPEN,nf90_noerr,NF90_INQ_VARID,NF90_CLOSE, nf90_get_var
    2626
    2727  !   Author:    Frederic Hourdin      original: 15/01/93
     
    100100  ! 1. Initializations for Earth-like case
    101101  ! --------------------------------------
    102   !
     102
    103103  ! initialize planet radius, rotation rate,...
    104104  call conf_planete
     
    153153     relief=0.
    154154     ierr = NF90_OPEN ('relief_in.nc', NF90_NOWRITE,nid_relief)
    155      if (ierr==NF90_NOERR) THEN
     155     if (ierr==nf90_noerr) THEN
    156156         ierr=NF90_INQ_VARID(nid_relief,'RELIEF',varid)
    157          if (ierr==NF90_NOERR) THEN
    158               ierr=NF90_GET_VAR(nid_relief,varid,relief(1:iim,1:jjp1))
     157         if (ierr==nf90_noerr) THEN
     158              ierr=nf90_get_var(nid_relief,varid,relief(1:iim,1:jjp1))
    159159              relief(iip1,:)=relief(1,:)
    160160         else
Note: See TracChangeset for help on using the changeset viewer.