Changeset 22 in lmdz_wrf
- Timestamp:
- Jul 18, 2014, 12:37:33 PM (10 years ago)
- Location:
- branches/LMDZ_WRFmeas/WRFV3
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LMDZ_WRFmeas/WRFV3/frame/module_domain.F
r1 r22 921 921 grid%ntsloc = 0 922 922 grid%ntsloc_domain = 0 923 924 #if WRFMEAS 925 ! L. Fita, LMD. May 2014 926 ALLOCATE( grid%latlidarloc( grid%max_lidar_locs ) ) 927 ALLOCATE( grid%lonlidarloc( grid%max_lidar_locs ) ) 928 ALLOCATE( grid%namelidarloc( grid%max_lidar_locs ) ) 929 ALLOCATE( grid%desclidarloc( grid%max_lidar_locs ) ) 930 ALLOCATE( grid%ilidarloc( grid%max_lidar_locs ) ) 931 ALLOCATE( grid%jlidarloc( grid%max_lidar_locs ) ) 932 ALLOCATE( grid%id_lidarloc( grid%max_lidar_locs ) ) 933 ALLOCATE( grid%lidar_filename( grid%max_lidar_locs ) ) 934 grid%nlidarloc = 0 935 grid%nlidarloc_domain = 0 936 #endif 923 937 924 938 #ifdef DM_PARALLEL … … 1592 1606 DEALLOCATE( grid%ts_filename ) 1593 1607 ENDIF 1608 #if WRFMEAS 1609 ! L. Fita, LMD. May 2014 1610 IF ( ASSOCIATED( grid%ilidarloc ) ) THEN 1611 DEALLOCATE( grid%ilidarloc ) 1612 ENDIF 1613 IF ( ASSOCIATED( grid%jlidarloc ) ) THEN 1614 DEALLOCATE( grid%jlidarloc ) 1615 ENDIF 1616 IF ( ASSOCIATED( grid%id_lidarloc ) ) THEN 1617 DEALLOCATE( grid%id_lidarloc ) 1618 ENDIF 1619 IF ( ASSOCIATED( grid%latlidarloc ) ) THEN 1620 DEALLOCATE( grid%latlidarloc ) 1621 ENDIF 1622 IF ( ASSOCIATED( grid%lonlidarloc ) ) THEN 1623 DEALLOCATE( grid%lonlidarloc ) 1624 ENDIF 1625 IF ( ASSOCIATED( grid%namelidarloc ) ) THEN 1626 DEALLOCATE( grid%namelidarloc ) 1627 ENDIF 1628 IF ( ASSOCIATED( grid%desclidarloc ) ) THEN 1629 DEALLOCATE( grid%desclidarloc ) 1630 ENDIF 1631 IF ( ASSOCIATED( grid%lidar_filename ) ) THEN 1632 DEALLOCATE( grid%lidar_filename ) 1633 ENDIF 1634 #endif 1594 1635 DEALLOCATE( grid ) 1595 1636 NULLIFY( grid ) -
branches/LMDZ_WRFmeas/WRFV3/frame/module_domain_type.F
r1 r22 222 222 LOGICAL :: have_displayed_alloc_stats ! used in module_alloc_space to display alloc stats; only do it once. 223 223 224 225 #ifdef WRFMEAS 226 ! L. Fita, LMD. May 2014 227 ! lidar location information 228 INTEGER :: nlidarloc, nlidarloc_domain 229 INTEGER :: next_lidar_time 230 INTEGER, POINTER, DIMENSION(:) :: ilidarloc, jlidarloc, id_lidarloc 231 REAL, POINTER, DIMENSION(:) :: latlidarloc, lonlidarloc 232 CHARACTER (LEN=5), POINTER, DIMENSION(:) :: namelidarloc 233 CHARACTER (LEN=25), POINTER, DIMENSION(:) :: desclidarloc 234 CHARACTER (LEN=256), POINTER, DIMENSION(:) :: lidar_filename 235 LOGICAL :: have_calculated_lidarlocs 236 #endif 237 224 238 END TYPE domain 225 239 END MODULE module_domain_type -
branches/LMDZ_WRFmeas/WRFV3/share/Makefile
r1 r22 36 36 output_wrf.o \ 37 37 wrf_timeseries.o \ 38 wrf_lidar.o \ 38 39 wrf_ext_write_field.o \ 39 40 wrf_ext_read_field.o \ … … 42 43 wrf_bdyin.o \ 43 44 wrf_tsin.o \ 45 wrf_lidarin.o \ 44 46 landread.o \ 45 47 setfeenv.o … … 82 84 ../frame/module_wrf_error.o 83 85 84 start_domain.o: start_domain_em.int wrf_timeseries.o ../frame/module_domain.o ../frame/module_configure.o86 start_domain.o: start_domain_em.int wrf_timeseries.o wrf_lidar.o ../frame/module_domain.o ../frame/module_configure.o 85 87 86 88 module_bc.o: ../frame/module_configure.o ../frame/module_state_description.o \ … … 109 111 110 112 wrf_timeseries.o: wrf_tsin.o \ 113 module_model_constants.o \ 114 module_llxy.o \ 115 ../frame/module_domain.o \ 116 ../frame/module_configure.o \ 117 ../frame/module_dm.o 118 119 wrf_lidar.o: wrf_lidarin.o \ 111 120 module_model_constants.o \ 112 121 module_llxy.o \ … … 293 302 ../frame/module_configure.o ../frame/module_io.o module_io_wrf.o module_bc_time_utilities.o 294 303 wrf_tsin.o : ../frame/module_domain.o 304 wrf_lidarin.o : ../frame/module_domain.o 295 305 296 306 -
branches/LMDZ_WRFmeas/WRFV3/share/input_wrf.F
r1 r22 1287 1287 #if (DA_CORE != 1) 1288 1288 CALL wrf_tsin( grid , ierr ) 1289 #if WRFMEAS 1290 ! L. Fita, LMD. May 2014 1291 CALL wrf_lidarin( grid , ierr ) 1292 #endif 1289 1293 #endif 1290 1294 -
branches/LMDZ_WRFmeas/WRFV3/share/mediation_integrate.F
r1 r22 171 171 ! Compute time series variables 172 172 CALL calc_ts(grid) 173 #if WRFMEAS 174 ! L. Fita, LMD. May 2014 175 CALL calc_lidar(grid) 176 #endif 173 177 174 178 RETURN … … 349 353 INTEGER, INTENT(INOUT) :: ierr 350 354 END SUBROUTINE wrf_tsin 355 356 #if WRFMEAS 357 ! L. Fita, LMD. May 2014 358 SUBROUTINE wrf_lidarin ( grid , ierr ) 359 USE module_domain 360 TYPE ( domain ), INTENT(INOUT) :: grid 361 INTEGER, INTENT(INOUT) :: ierr 362 END SUBROUTINE wrf_lidarin 363 #endif 351 364 352 365 END INTERFACE … … 467 480 ! from the tslist file 468 481 CALL wrf_tsin( nest , ierr ) 482 #if WRFMEAS 483 ! L. Fita, LMD. May 2014 484 CALL wrf_lidarin( nest , ierr ) 485 #endif 469 486 #endif 470 487 END IF … … 1159 1176 ! Write out time series 1160 1177 CALL write_ts( grid ) 1178 #if WRFMEAS 1179 ! L. Fita, LMD. May 2014 1180 CALL write_lidar( grid ) 1181 #endif 1161 1182 1162 1183 RETURN -
branches/LMDZ_WRFmeas/WRFV3/share/start_domain.F
r1 r22 27 27 TYPE (domain) :: grid 28 28 END SUBROUTINE calc_ts_locations 29 #if WRFMEAS 30 ! L. Fita, LMD. May 2014 31 SUBROUTINE calc_lidar_locations( grid ) 32 USE module_domain 33 TYPE (domain) :: grid 34 END SUBROUTINE calc_lidar_locations 35 #endif 29 36 #endif 30 37 END INTERFACE … … 56 63 #if (DA_CORE != 1) 57 64 CALL calc_ts_locations( grid ) 65 #if WRFMEAS 66 ! L. Fita, LMD. May 2014 67 CALL calc_lidar_locations( grid ) 68 #endif 58 69 #endif 59 70
Note: See TracChangeset
for help on using the changeset viewer.