Ignore:
Timestamp:
Jul 27, 2018 1:36:03 PM (6 years ago)
Author:
suehring
Message:

New Inifor features: grid stretching, improved command-interface, support start dates in different formats in both YYYYMMDD and YYYYMMDDHH, Ability to manually control input file prefixes (--radiation-prefix, --soil-preifx, --flow-prefix, --soilmoisture-prefix) for compatiblity with DWD forcast naming scheme; GNU-style short and long option; Prepared output of large-scale forcing profiles (no computation yet); Added preprocessor flag netcdf4 to switch output format between netCDF 3 and 4; Updated netCDF variable names and attributes to comply with PIDS v1.9; Inifor bugfixes: Improved compatibility with older Intel Intel compilers by avoiding implicit array allocation; Added origin_lon/_lat values and correct reference time in dynamic driver global attributes; corresponding PALM changes: adjustments to revised Inifor; variables names in dynamic driver adjusted; enable geostrophic forcing also in offline nested mode; variable names in LES-LES and COSMO offline nesting changed; lateral boundary flags for nesting, in- and outflow conditions renamed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/parin.f90

    r3159 r3182  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! Rename variables and boundary conditions in mesoscale-offline nesting mode
    2323!
    2424! Former revisions:
     
    529529             dz_stretch_factor, dz_stretch_level, dz_stretch_level_start,      &
    530530             dz_stretch_level_end, end_time_1d, ensemble_member_nr, e_init,    &
    531              e_min, fft_method, flux_input_mode, flux_output_mode, forcing,    &
     531             e_min, fft_method, flux_input_mode, flux_output_mode,             &
    532532             galilei_transformation, humidity,                                 &
    533533             inflow_damping_height, inflow_damping_width,                      &
     
    538538             loop_optimization, lsf_exception, masking_method, mg_cycles,      &
    539539             mg_switch_to_pe0_level, mixing_length_1d, momentum_advec,         &
    540              most_method, na_init, nc_const, netcdf_precision, neutral, ngsrb, &
     540             most_method, na_init, nc_const, nesting_offline,                  &
     541             netcdf_precision, neutral, ngsrb,                                 &
    541542             nsor, nsor_ini, nudging, nx, ny, nz, ocean, omega, omega_sor,     &
    542543             outflow_source_plane, passive_scalar,                             &
     
    601602             dz_stretch_factor, dz_stretch_level, dz_stretch_level_start,      &
    602603             dz_stretch_level_end, end_time_1d, ensemble_member_nr, e_init,    &
    603              e_min, fft_method, flux_input_mode, flux_output_mode, forcing,    &
     604             e_min, fft_method, flux_input_mode, flux_output_mode,             &
    604605             galilei_transformation, humidity,                                 &
    605606             inflow_damping_height, inflow_damping_width,                      &
     
    610611             loop_optimization, lsf_exception, masking_method, mg_cycles,      &
    611612             mg_switch_to_pe0_level, mixing_length_1d, momentum_advec,         &
    612              most_method, na_init, nc_const, netcdf_precision, neutral, ngsrb, &
     613             most_method, na_init, nc_const, nesting_offline,                  &
     614             netcdf_precision, neutral, ngsrb,                                 &
    613615             nsor, nsor_ini, nudging, nx, ny, nz, ocean, omega, omega_sor,     &
    614616             outflow_source_plane, passive_scalar,                             &
     
    924926                   bc_ns   = 'cyclic'
    925927                ENDIF
    926                 IF ( nest_domain )  THEN
     928                IF ( child_domain )  THEN
    927929                   bc_uv_t  = 'nested'
    928930                   bc_pt_t  = 'nested'
     
    936938!--          nested domains.
    937939             ELSE
    938                 IF ( nest_domain )  THEN
     940                IF ( child_domain )  THEN
    939941                   bc_lr    = 'nested'
    940942                   bc_ns    = 'nested'
     
    948950             ENDIF
    949951          ENDIF
    950 
    951           IF ( forcing )  THEN
    952              bc_lr    = 'forcing'
    953              bc_ns    = 'forcing'
    954              bc_uv_t  = 'forcing'
    955              bc_pt_t  = 'forcing'
    956              bc_q_t   = 'forcing'
    957              bc_s_t   = 'forcing'  ! scalar boundary condition is not clear
    958              bc_cs_t  = 'forcing'  ! same for chemical species
     952!
     953!--       Set boundary conditions also in case the model is offline-nested in
     954!--       larger-scale models.
     955          IF ( nesting_offline )  THEN
     956             bc_lr    = 'nesting_offline'
     957             bc_ns    = 'nesting_offline'
     958             bc_uv_t  = 'nesting_offline'
     959             bc_pt_t  = 'nesting_offline'
     960             bc_q_t   = 'nesting_offline'
     961             bc_s_t   = 'nesting_offline'  ! scalar boundary condition is not clear
     962             bc_cs_t  = 'nesting_offline'  ! same for chemical species
    959963             bc_p_t   = 'neumann'
    960964          ENDIF
     
    968972!--       are set properly. An exception is made in case of restart runs and
    969973!--       if user decides to do everything by its own.
    970           IF ( nest_domain  .AND.  .NOT. (                                     &
     974          IF ( child_domain  .AND.  .NOT. (                                    &
    971975               TRIM( initializing_actions ) == 'read_restart_data'      .OR.   &
    972976               TRIM( initializing_actions ) == 'set_constant_profiles'  .OR.   &
     
    979983
    980984             initializing_actions = 'set_constant_profiles'
    981           ENDIF
    982            
     985          ENDIF           
    983986!
    984987!--       Check validity of lateral boundary conditions. This has to be done
     
    987990          IF ( bc_lr /= 'cyclic'  .AND.  bc_lr /= 'dirichlet/radiation'  .AND. &
    988991               bc_lr /= 'radiation/dirichlet'  .AND.  bc_lr /= 'nested'  .AND. &
    989                bc_lr /= 'forcing' )  THEN
     992               bc_lr /= 'nesting_offline' )  THEN
    990993             message_string = 'unknown boundary condition: bc_lr = "' // &
    991994                              TRIM( bc_lr ) // '"'
     
    994997          IF ( bc_ns /= 'cyclic'  .AND.  bc_ns /= 'dirichlet/radiation'  .AND. &
    995998               bc_ns /= 'radiation/dirichlet'  .AND.  bc_ns /= 'nested'  .AND. &
    996                bc_ns /= 'forcing' )  THEN
     999               bc_ns /= 'nesting_offline' )  THEN
    9971000             message_string = 'unknown boundary condition: bc_ns = "' // &
    9981001                              TRIM( bc_ns ) // '"'
Note: See TracChangeset for help on using the changeset viewer.