Changeset 37017c8 in flexpart.git for src/readcommand.f90


Ignore:
Timestamp:
Jul 15, 2015, 9:36:05 AM (9 years ago)
Author:
Ignacio Pisso <Ignacio.Pisso@…>
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)
Message:

from svn
r30 | hasod | 2014-10-21 10:08:00 +0200 (Tue, 21 Oct 2014) | 5 lines
Changed paths:

M /trunk/src/FLEXPART.f90
M /trunk/src/com_mod.f90
M /trunk/src/makefile
A /trunk/src/makefile.netcdf
M /trunk/src/readcommand.f90
M /trunk/src/timemanager.f90

ADD: Optional (compressed) netcdf output added. Activated via COMMAND
file. During compile time switches -DNETCDF_OUTPUT -cpp need to be
invoked. Compliation and linking is shown in makefile.netcdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readcommand.f90

    rb4d29ce r37017c8  
    109109  nested_output, &
    110110  linit_cond, &
     111  lnetcdfout, &
    111112  surf_only   
    112113
     
    138139  nested_output=0
    139140  linit_cond=0
     141  lnetcdfout=0
    140142  surf_only=0
    141143
     
    344346  endif
    345347
     348!  check for netcdf output switch (use for non-namelist input only!)
     349  if (iout.ge.8) then
     350     lnetcdfout = 1
     351     iout = iout - 8
     352#ifndef NETCDF_OUTPUT
     353     print*,'ERROR: netcdf output not activated during compile time but used in COMMAND file!'
     354     print*,'Please recompile with netcdf library or use standard output format.'
     355     stop
     356#endif
     357  endif
     358
    346359  ! Check whether a valid option for gridded model output has been chosen
    347360  !**********************************************************************
     
    349362  if ((iout.lt.1).or.(iout.gt.5)) then
    350363    write(*,*) ' #### FLEXPART MODEL ERROR! FILE COMMAND:     #### '
    351     write(*,*) ' #### IOUT MUST BE 1, 2, 3, 4, OR 5!          #### '
     364    write(*,*) ' #### IOUT MUST BE 1, 2, 3, 4, OR 5 FOR       #### '
     365    write(*,*) ' #### STANDARD FLEXPART OUTPUT OR  9 - 13     #### '
     366    write(*,*) ' #### FOR NETCDF OUTPUT                       #### '
    352367    stop
    353368  endif
     
    361376    stop
    362377  endif
    363 
    364378
    365379
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG