Changeset 1812 in lmdz_wrf
- Timestamp:
- Mar 19, 2018, 5:54:05 PM (7 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/Makefile.llamp
r1682 r1812 33 33 module_NCgeneric.o \ 34 34 module_scientific.o \ 35 module_ForInterpolate.o \ 35 36 module_ForDiagnosticsVars.o \ 36 37 module_ForDiagnostics.o \ 37 38 module_DistriCorrection.o 38 39 40 FINTMODULES = \ 41 module_definitions.o \ 42 module_basic.o \ 43 module_generic.o \ 44 module_scientific.o \ 45 module_ForInterpolate.o 46 39 47 all : \ 40 48 module_ForDiagnostics.o \ 49 interpolate.o \ 41 50 DistriCorrection.o \ 42 interpolate.o \43 51 pydistrimods.o \ 44 52 pydiagmods.o \ … … 73 81 $(FC) $(FCFLAGS) module_scientific.f90 74 82 83 module_ForInterpolate.o: module_definitions.o module_generic.o 84 $(FC) $(FCFLAGS) $(LIB_INC) module_ForInterpolate.f90 85 75 86 module_ForDiagnosticsVars.o: module_definitions.o module_basic.o module_generic.o 76 87 $(FC) $(FCFLAGS) $(LIB_INC) module_ForDiagnosticsVars.f90 … … 82 93 $(FC) $(FCFLAGS) module_DistriCorrection.f90 83 94 95 FCEXEFINTCFLAGS = $(FINTMODULES) $(LIB_NETCDF) $(LIB_INC) 84 96 FCEXECFLAGS = $(MODULES) $(LIB_NETCDF) $(LIB_INC) 85 97 86 interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o 87 $(FC) $(FCEXE CFLAGS) interpolate.f90 -o interpolate98 interpolate.o: module_definitions.o module_basic.o module_generic.o module_scientific.o module_ForInterpolate.o 99 $(FC) $(FCEXEFINTCFLAGS) interpolate.f90 -o interpolate 88 100 89 101 DistriCorrection.o: module_definitions.o module_basic.o module_generic.o module_NCgeneric.o module_scientific.o module_DistriCorrection.o -
trunk/tools/module_ForInterpolate.f90
r1608 r1812 1406 1406 INTEGER, INTENT(IN) :: ix, iy, iz, it 1407 1407 INTEGER, INTENT(IN) :: num_metgrid_levels, LINLOG 1408 REAL , DIMENSION(ix,iy,iz,it), INTENT(IN):: data_in, pres_field, tk, qv1409 REAL , DIMENSION(ix,iy,it), INTENT(IN):: psfc1410 REAL , DIMENSION(ix,iy), INTENT(IN):: ter1411 REAL , DIMENSION(num_metgrid_levels), INTENT(IN):: interp_levels1408 REAL(r_k),DIMENSION(ix,iy,iz,it), INTENT(IN) :: data_in, pres_field, tk, qv 1409 REAL(r_k),DIMENSION(ix,iy,it), INTENT(IN) :: psfc 1410 REAL(r_k),DIMENSION(ix,iy), INTENT(IN) :: ter 1411 REAL(r_k),DIMENSION(num_metgrid_levels), INTENT(IN) :: interp_levels 1412 1412 INTEGER, INTENT(IN) :: extrapolate 1413 REAL , INTENT(IN):: MISSING1413 REAL(r_k),INTENT(IN) :: MISSING 1414 1414 LOGICAL, INTENT(IN) :: GEOPT 1415 REAL , DIMENSION(ix,iy,num_metgrid_levels,it),&1415 REAL(r_k),DIMENSION(ix,iy,num_metgrid_levels,it), & 1416 1416 INTENT(OUT) :: data_out 1417 1417 1418 1418 ! Local 1419 1419 INTEGER :: i, j, itt, k, kk, kin 1420 REAL, DIMENSION(num_metgrid_levels) :: data_out1D 1421 REAL, DIMENSION(iz) :: data_in1D, pres_field1D 1422 REAL, DIMENSION(ix, iy, num_metgrid_levels, it) :: N 1423 REAL :: sumA, sumN, AVE_geopt 1420 INTEGER :: kupper 1421 REAL(r_k),DIMENSION(num_metgrid_levels) :: data_out1D 1422 REAL(r_k),DIMENSION(iz) :: data_in1D, pres_field1D 1423 REAL(r_k),DIMENSION(ix, iy, num_metgrid_levels, it) :: N 1424 REAL(r_k) :: sumA, sumN, AVE_geopt 1425 REAL(r_k) :: dp, dpmin, expon 1426 REAL(r_k) :: pbot, ptarget, tbotextrap, tvbotextrap, & 1427 zbot 1424 1428 1425 1429 !!!!!!! Variables … … 1577 1581 1578 1582 ! ! input types 1579 INTEGER :: npin,npout,linlog,ier1580 real:: ppin(npin),xxin(npin),ppout(npout)1581 real:: MISSING1582 logical:: AVERAGE1583 INTEGER :: npin,npout,linlog,ier 1584 REAL(r_k) :: ppin(npin),xxin(npin),ppout(npout) 1585 REAL(r_k) :: MISSING 1586 logical :: AVERAGE 1583 1587 ! ! output 1584 real:: xxout(npout)1585 INTEGER :: j1,np,nl,nin,nlmax,nplvl1586 INTEGER :: nlsave,np1,no1,n1,n2,nlstrt1587 real:: slope,pa,pb,pc1588 REAL(r_k) :: xxout(npout) 1589 INTEGER :: j1,np,nl,nin,nlmax,nplvl 1590 INTEGER :: nlsave,np1,no1,n1,n2,nlstrt 1591 REAL(r_k) :: slope,pa,pb,pc 1588 1592 1589 1593 ! automatic arrays 1590 real:: pin(npin),xin(npin),p(npin),x(npin)1591 real:: pout(npout),xout(npout)1594 REAL(r_k) :: pin(npin),xin(npin),p(npin),x(npin) 1595 REAL(r_k) :: pout(npout),xout(npout) 1592 1596 1593 1597 … … 1652 1656 ! in K and mixing ratio in kg/kg. 1653 1657 1654 real:: tmp, rmix, virtual1658 REAL(r_k) :: tmp, rmix, virtual 1655 1659 1656 1660 virtual=tmp*(0.622+rmix)/(0.622*(1.+rmix))
Note: See TracChangeset
for help on using the changeset viewer.