Ignore:
Timestamp:
Jan 26, 2019 5:03:42 PM (5 years ago)
Author:
knoop
Message:

Moved user_define_netdf_grid into user_module.f90
Added module interface for the definition of additional timeseries

File:
1 edited

Legend:

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

    r3685 r3700  
    617617
    618618    USE netcdf_interface,                                                      &
    619         ONLY:  dots_max, dots_num, dots_unit, dots_label
     619        ONLY:  dots_max
    620620
    621621    USE netcdf_data_input_mod,                                                 &
     
    734734              sums_l(nzb:nzt+1,pr_palm+max_pr_user+max_pr_cs,0:threads_per_task-1),      &
    735735              sums_l_l(nzb:nzt+1,0:statistic_regions,0:threads_per_task-1),    &
    736               sums_wsts_bc_l(nzb:nzt+1,0:statistic_regions),                   &
    737               ts_value(dots_max,0:statistic_regions) )
     736              sums_wsts_bc_l(nzb:nzt+1,0:statistic_regions) )
     737    ALLOCATE( ts_value(dots_max,0:statistic_regions) )
    738738    ALLOCATE( ptdf_x(nxlg:nxrg), ptdf_y(nysg:nyng) )
    739739
     
    20412041    rmask(:,nxlg:nxl-1,:) = 0.0_wp;  rmask(:,nxr+1:nxrg,:) = 0.0_wp
    20422042    rmask(nysg:nys-1,:,:) = 0.0_wp;  rmask(nyn+1:nyng,:,:) = 0.0_wp
    2043 
    2044 !
    2045 !-- Temporary solution to add LSM and radiation time series to the default
    2046 !-- output
    2047     IF ( land_surface  .OR.  radiation )  THEN
    2048        IF ( TRIM( radiation_scheme ) == 'rrtmg' )  THEN
    2049           dots_num = dots_num + 15
    2050        ELSE
    2051           dots_num = dots_num + 11
    2052        ENDIF
    2053     ENDIF
    20542043!
    20552044!-- To do: New concept for these non-topography grid points!
     
    23822371       ENDDO
    23832372    ENDIF
    2384 !
    2385 !-- Check if maximum number of allowed timeseries is exceeded
    2386     IF ( dots_num > dots_max )  THEN
    2387        WRITE( message_string, * ) 'number of time series quantities exceeds',  &
    2388                                   ' its maximum of dots_max = ', dots_max,     &
    2389                                   '&Please increase dots_max in modules.f90.'
    2390        CALL message( 'init_3d_model', 'PA0194', 1, 2, 0, 6, 0 )   
    2391     ENDIF
    23922373
    23932374!
Note: See TracChangeset for help on using the changeset viewer.