Changeset 37017c8 in flexpart.git for src/FLEXPART.f90
- Timestamp:
- Jul 15, 2015, 9:36:05 AM (9 years ago)
- Branches:
- svn-petra, svn-trunk
- Children:
- cbd7de3
- Parents:
- 0317b57
- git-author:
- Ignacio Pisso <Ignacio.Pisso@…> (07/15/15 08:45:07)
- git-committer:
- Ignacio Pisso <Ignacio.Pisso@…> (07/15/15 09:36:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/FLEXPART.f90
rb4d29ce r37017c8 45 45 use conv_mod 46 46 47 #ifdef NETCDF_OUTPUT 48 use netcdf_output_mod, only: writeheader_netcdf 49 #endif 50 51 47 52 implicit none 48 53 … … 303 308 !****************************************************************** 304 309 310 if (lnetcdfout.eq.1) then 311 #ifdef NETCDF_OUTPUT 312 call writeheader_netcdf(lnest = .false.) 313 #endif 314 else 315 call writeheader 316 end if 317 318 if (nested_output.eq.1) then 319 if (lnetcdfout.eq.1) then 320 #ifdef NETCDF_OUTPUT 321 call writeheader_netcdf(lnest = .true.) 322 #endif 323 else 324 call writeheader_nest 325 endif 326 endif 327 305 328 if (verbosity.gt.0) then 306 329 print*,'call writeheader' … … 315 338 if (nested_output.ne.1.and.surf_only.eq.1) call writeheader_surf 316 339 317 !open(unitdates,file=path(2)(1:length(2))//'dates') 340 if (lnetcdfout.ne.1) then 341 open(unitdates,file=path(2)(1:length(2))//'dates') 342 end if 318 343 319 344 if (verbosity.gt.0) then … … 359 384 if (verbosity.gt.0) then 360 385 if (verbosity.gt.1) then 361 CALL SYSTEM_CLOCK(count_clock, count_rate, count_max)362 write(*,*) 'S YSTEM_CLOCK',(count_clock - count_clock0)/real(count_rate) !, count_rate, count_max386 call system_clock(count_clock, count_rate, count_max) 387 write(*,*) 'System clock',(count_clock - count_clock0)/real(count_rate) !, count_rate, count_max 363 388 endif 364 389 if (info_flag.eq.1) then 365 print*, ' info only mode (stop)'390 print*, 'Info only mode (stop)' 366 391 stop 367 392 endif … … 373 398 write(*,*) 'CONGRATULATIONS: YOU HAVE SUCCESSFULLY COMPLETED A FLEXPART MODEL RUN!' 374 399 400 ! output wall time 401 if (verbosity .gt. 0) then 402 call system_clock(count_clock,count_rate) 403 tins=(count_clock - count_clock0)/real(count_rate) 404 print*,'Wall time ',tins,'s, ',tins/60,'min, ',tins/3600,'h.' 405 endif 406 375 407 end program flexpart
Note: See TracChangeset
for help on using the changeset viewer.