- Timestamp:
- Jul 22, 2024, 9:29:09 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/dyn3dmem/iniacademic_loc.F90
r5088 r5099 1 ! 1 2 2 ! $Id: iniacademic.F90 1625 2012-05-09 13:14:48Z lguez $ 3 ! 3 4 4 SUBROUTINE iniacademic_loc(vcov,ucov,teta,q,masse,ps,phis,time_0) 5 5 … … 23 23 USE ener_mod, ONLY: etot0,ptot0,ztot0,stot0,ang0 24 24 USE readTracFiles_mod, ONLY: addPhase 25 use netcdf, only : NF90_NOWRITE,NF90_OPEN, NF90_NOERR,NF90_INQ_VARID,NF90_CLOSE, NF90_GET_VAR25 use netcdf, only : NF90_NOWRITE,NF90_OPEN,nf90_noerr,NF90_INQ_VARID,NF90_CLOSE, nf90_get_var 26 26 27 27 ! Author: Frederic Hourdin original: 15/01/93 … … 100 100 ! 1. Initializations for Earth-like case 101 101 ! -------------------------------------- 102 ! 102 103 103 ! initialize planet radius, rotation rate,... 104 104 call conf_planete … … 153 153 relief=0. 154 154 ierr = NF90_OPEN ('relief_in.nc', NF90_NOWRITE,nid_relief) 155 if (ierr== NF90_NOERR) THEN155 if (ierr==nf90_noerr) THEN 156 156 ierr=NF90_INQ_VARID(nid_relief,'RELIEF',varid) 157 if (ierr== NF90_NOERR) THEN158 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)) 159 159 relief(iip1,:)=relief(1,:) 160 160 else
Note: See TracChangeset
for help on using the changeset viewer.