Changeset 660bcb7 in flexpart.git for src/FLEXPART.f90


Ignore:
Timestamp:
Nov 24, 2014, 1:36:35 PM (9 years ago)
Author:
Anne Fouilloux <annefou@…>
Branches:
NetCDF
Children:
3073eaf
Parents:
4bf4a69
Message:

NETCDF outputs from svn trunk (hasod: ADD: netcdf module file)
I did not take changes in advance.f90; it will be added later.
I also changed OPENs where status was set to new and access is set to APPEND (had problems on abel.uio.no with intel compilers 2013.sp1.3)
It should contains technical changes only and results should be identical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART.f90

    rb4d29ce r660bcb7  
    4545  use conv_mod
    4646
     47  use netcdf_output_mod, only: writeheader_netcdf
     48
     49
    4750  implicit none
    4851
     
    303306  !******************************************************************
    304307
     308  if (lnetcdfout.eq.1) then
     309    call writeheader_netcdf(lnest = .false.)
     310  else
     311    call writeheader
     312  end if
     313
     314  if (nested_output.eq.1) then
     315    if (lnetcdfout.eq.1) then
     316      call writeheader_netcdf(lnest = .true.)
     317    else
     318      call writeheader_nest
     319    endif
     320  endif
     321
    305322  if (verbosity.gt.0) then
    306323    print*,'call writeheader'
     
    315332  if (nested_output.ne.1.and.surf_only.eq.1) call writeheader_surf
    316333
    317   !open(unitdates,file=path(2)(1:length(2))//'dates')
    318 
    319334  if (verbosity.gt.0) then
    320335    print*,'call openreceptors'
     
    359374  if (verbosity.gt.0) then
    360375     if (verbosity.gt.1) then   
    361        CALL SYSTEM_CLOCK(count_clock, count_rate, count_max)
    362        write(*,*) 'SYSTEM_CLOCK',(count_clock - count_clock0)/real(count_rate) !, count_rate, count_max
     376       call system_clock(count_clock, count_rate, count_max)
     377       write(*,*) 'System clock',(count_clock - count_clock0)/real(count_rate) !, count_rate, count_max
    363378     endif
    364379     if (info_flag.eq.1) then
    365        print*, 'info only mode (stop)'   
     380       print*, 'Info only mode (stop)'   
    366381       stop
    367382     endif
     
    373388  write(*,*) 'CONGRATULATIONS: YOU HAVE SUCCESSFULLY COMPLETED A FLEXPART MODEL RUN!'
    374389
     390  ! output wall time
     391  if (verbosity .gt. 0) then
     392    call system_clock(count_clock,count_rate)
     393    tins=(count_clock - count_clock0)/real(count_rate)
     394    print*,'Wall time ',tins,'s, ',tins/60,'min, ',tins/3600,'h.'
     395  endif
     396
    375397end program flexpart
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG