Ignore:
Timestamp:
Sep 10, 2019 5:03:24 PM (5 years ago)
Author:
suehring
Message:

Offline nesting: data input modularized; time variable is defined relative to time_utc_init, so that input data is correctly mapped to actual model time; checks rephrased and new checks for the time dimension added; Netcdf input: routine to retrieve dimension length renamed

File:
1 edited

Legend:

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

    r4182 r4226  
    2525! -----------------
    2626! $Id$
     27! Changes in interface for the offline nesting
     28!
     29! 4182 2019-08-22 15:20:23Z scharf
    2730! Corrected "Former revisions" section
    2831!
     
    257260
    258261    USE nesting_offl_mod,                                                                          &
    259         ONLY:  nesting_offl_bc, nesting_offl_mass_conservation
     262        ONLY:  nesting_offl_bc,                                                                    &
     263               nesting_offl_geostrophic_wind,                                                      &
     264               nesting_offl_input,                                                                 &
     265               nesting_offl_interpolation_factor,                                                  &
     266               nesting_offl_mass_conservation
    260267
    261268    USE netcdf_data_input_mod,                                                                     &
    262         ONLY:  chem_emis, chem_emis_att, nest_offl, netcdf_data_input_offline_nesting
     269        ONLY:  chem_emis, chem_emis_att
    263270
    264271    USE ocean_mod,                                                                                 &
     
    566573       ENDIF
    567574!
    568 !--    If forcing by larger-scale models is applied, check if new data
    569 !--    at domain boundaries need to be read.
    570        IF ( nesting_offline ) THEN
    571           IF ( nest_offl%time(nest_offl%tind_p) <= time_since_reference_point ) &
    572                CALL netcdf_data_input_offline_nesting
    573        ENDIF
    574 
     575!--    Input of boundary data.
     576       IF ( nesting_offline )  CALL nesting_offl_input
    575577!
    576578!--    Execute all other module actions routunes
     
    955957!
    956958!--       Map forcing data derived from larger scale model onto domain
    957 !--       boundaries.
     959!--       boundaries. Further, update geostrophic wind components.
    958960          IF ( nesting_offline  .AND.  intermediate_timestep_count ==                              &
    959                                        intermediate_timestep_count_max  )                          &
     961                                       intermediate_timestep_count_max  )  THEN
     962!--          Determine interpolation factor before boundary conditions and geostrophic wind
     963!--          is updated.
     964             CALL nesting_offl_interpolation_factor
    960965             CALL nesting_offl_bc
     966             CALL nesting_offl_geostrophic_wind
     967          ENDIF
    961968!
    962969!--       Impose a turbulent inflow using synthetic generated turbulence.
Note: See TracChangeset for help on using the changeset viewer.