Changeset 2906 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Mar 19, 2018 8:56:40 AM (4 years ago)
Author:
Giersch
Message:

new procedure for reading/writing svf data, initialization of local variable ids

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.palm.iofiles

    r2865 r2906  
    1313WTM_DATA                 inopt:tr   d3#:d3r  $base_data/$jobname/INPUT          _wtm
    1414BININ                    in:lnpe    d3r:rec  $fast_io_catalog/$jobname/RESTART  _d3d*
    15 SVFIN                    in:lnpe    d3r:rec  $fast_io_catalog/$jobname/RESTART  _svf*
    1615PARTICLE_RESTART_DATA_IN in:lnpe    prtr     $fast_io_catalog/$jobname/RESTART  _rprt
     16SVFIN                    in:lnpe    svfin    $fast_io_catalog/$jobname/SVF      _svf*
    1717DATA_1D_PR_NETCDF        inopt      prr      $base_data/$jobname/OUTPUT         _pr*       nc
    1818DATA_1D_SP_NETCDF        inopt      spr      $base_data/$jobname/OUTPUT         _sp*       nc
     
    3535#---------------------------------------------------------------------------------------------
    3636BINOUT*                    out:lnpe restart   $fast_io_catalog/$jobname/RESTART  _d3d
    37 SVFOUT*                    out:lnpe restart   $fast_io_catalog/$jobname/RESTART  _svf
    3837PARTICLE_RESTART_DATA_OUT* out:lnpe prt#:prtr $fast_io_catalog/$jobname/RESTART  _rprt
     38SVFOUT*                    out:lnpe svfout    $fast_io_catalog/$jobname/SVF      _svf
    3939#
    4040RUN_CONTROL*               out:tr   d3#:pcr   $base_data/$jobname/MONITORING     _rc
  • palm/trunk/SCRIPTS/palmrun

    r2834 r2906  
    2727# -----------------
    2828# $Id: palmrun 2718 2018-01-02 08:49:38Z maronga $
     29# Introduction of new ENVIRONMENT variables read_svf and write_svf to consider
     30# the possible output or input of sky view factors
     31#
     32# 2718 2018-01-02 08:49:38Z maronga
    2933# "fname" renamed to "jobname"
    3034#
     
    180184 project_account=""
    181185 queue=none
     186 read_svf=""
    182187 restart_run=false
    183188 return_address=""
     
    199204 working_directory=`pwd`
    200205 write_binary=""
     206 write_svf=""
    201207 TOPT=""
    202208
     
    384390 else
    385391    write_binary=false
     392 fi
     393
     394    # SET VARIABLE TO ACTIVATE WRITING OF SVF DATA
     395 if [[ $(echo $activation_string_list | grep -c "svfout") != 0 ]]
     396 then
     397    write_svf=true
     398 else
     399    write_svf=false
     400 fi
     401
     402    # SET VARIABLE TO ACTIVATE READING OF SVF DATA
     403 if [[ $(echo $activation_string_list | grep -c "svfin") != 0 ]]
     404 then
     405    read_svf=true
     406 else
     407    read_svf=false
    386408 fi
    387409
     
    20612083    cat  >  ENVPAR  <<  EOF
    20622084 &envpar  run_identifier = '$jobname', host = '$host_configuration',
    2063           write_binary = .${write_binary}., tasks_per_node = $tasks_per_node,
     2085          write_svf = .${write_svf}., write_binary = .${write_binary}.,
     2086          read_svf = .${read_svf}., tasks_per_node = $tasks_per_node,
    20642087          maximum_parallel_io_streams = $maximum_parallel_io_streams,
    20652088          maximum_cpu_time_allowed = ${cpumax}.,
Note: See TracChangeset for help on using the changeset viewer.