- Timestamp:
- Dec 14, 2015, 11:43:09 AM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2293-2295,2297,2299-2302,2305-2313,2315,2317-2380,2382-2396
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/cfmip_point_locations.F90
r1910 r2408 34 34 USE dimphy 35 35 USE iophy 36 USE mod_grid_phy_lmdz 36 USE mod_grid_phy_lmdz, ONLY: nbp_lon, nbp_lat, klon_glo 37 37 38 38 IMPLICIT none 39 #include "dimensions.h"40 39 INTEGER :: npCFMIP 41 40 REAL, DIMENSION(npCFMIP) :: lonCFMIP, latCFMIP … … 44 43 REAL :: dlon1, dlon2 45 44 REAL :: dlat1, dlat2 46 REAL, DIMENSION( iim+1) :: lon45 REAL, DIMENSION(nbp_lon+1) :: lon 47 46 INTEGER, DIMENSION(npCFMIP) :: tabijGCM 48 47 REAL, DIMENSION(npCFMIP) :: lonGCM, latGCM 49 48 50 lon(1: iim)=io_lon(:)51 lon( iim+1)=-1*lon(1)49 lon(1:nbp_lon)=io_lon(:) 50 lon(nbp_lon+1)=-1*lon(1) 52 51 OPEN(22, file="LMDZ_pointsCFMIP.txt") 53 52 DO np=1, npCFMIP 54 DO i=1, iim53 DO i=1, nbp_lon 55 54 ! 56 55 ! PRINT*,'IM np i lonCF lonGCM lonGCM+1',np,i,lonCFMIP(np),lon(i), & … … 85 84 ELSE 86 85 j=j+1 87 IF(j.LE. jjm) THEN86 IF(j.LE.nbp_lat-1) THEN 88 87 GOTO 40 89 88 ENDIF … … 99 98 lonGCM(ip)=lon(ipt(ip)) 100 99 latGCM(ip)=io_lat(jpt(ip)) 101 if(jpt(ip).GE.2.AND.jpt(ip).LE. jjm) THEN102 tabijGCM(ip)=1+(jpt(ip)-2)* iim+ipt(ip)100 if(jpt(ip).GE.2.AND.jpt(ip).LE.nbp_lat-1) THEN 101 tabijGCM(ip)=1+(jpt(ip)-2)*nbp_lon+ipt(ip) 103 102 else if(jpt(ip).EQ.1) THEN 104 103 tabijGCM(ip)=1 105 else if(jpt(ip).EQ. jjm+1) THEN104 else if(jpt(ip).EQ.nbp_lat) THEN 106 105 tabijGCM(ip)=klon_glo 107 106 else
Note: See TracChangeset
for help on using the changeset viewer.