Changeset 4853 for palm/trunk/SOURCE


Ignore:
Timestamp:
Jan 25, 2021 7:56:09 AM (4 years ago)
Author:
raasch
Message:

array sizes for output profiles increased from 300 to 400

Location:
palm/trunk/SOURCE
Files:
4 edited

Legend:

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

    r4844 r4853  
    2424! -----------------
    2525! $Id$
     26! number of allowed profiles increased from 300 to 400
     27!
     28! 4844 2021-01-18 09:22:26Z raasch
    2629! size check for profile output added
    2730!
     
    16621665!--    Size check. Some arrays in the netcdf interface module are internally limited to 300 elements
    16631666!--    and would need to be increased for output of more than 300 profiles.
    1664        IF ( dopr_n > 300 )  THEN
     1667       IF ( dopr_n > 400 )  THEN
    16651668          message_string = 'output of more than 300 profiles requested'
    16661669          CALL message( 'check_parameters', 'PA0017', 1, 2, 0, 6, 0 )
  • palm/trunk/SOURCE/modules.f90

    r4845 r4853  
    2424! -----------------
    2525! $Id$
     26! array size for profiles increased from 300 to 400
     27!
     28! 4845 2021-01-18 11:15:37Z raasch
    2629! -use_cmax and arrays required for radiation boundary conditions
    2730!
     
    758761
    759762    CHARACTER (LEN=varnamelength), DIMENSION(200) ::  data_output_pr_user = ' '  !< namelist parameter
    760     CHARACTER (LEN=varnamelength), DIMENSION(300) ::  data_output_pr = ' '       !< namelist parameter
     763    CHARACTER (LEN=varnamelength), DIMENSION(400) ::  data_output_pr = ' '       !< namelist parameter
    761764    CHARACTER (LEN=varnamelength), DIMENSION(500) ::  data_output = ' '          !< namelist parameter
    762765    CHARACTER (LEN=varnamelength), DIMENSION(500) ::  data_output_user = ' '     !< namelist parameter
     
    16171620    INTEGER(iwp) ::  profile_rows = 3     !< number of coordinate systems on a profile plot per row
    16181621
    1619     INTEGER(iwp) ::  dopr_index(300) = 0                !< index number of respective profile quantity
    1620     INTEGER(iwp) ::  dopr_initial_index(300) = 0        !< index number of initial profiles to be output
     1622    INTEGER(iwp) ::  dopr_index(400) = 0                !< index number of respective profile quantity
     1623    INTEGER(iwp) ::  dopr_initial_index(400) = 0        !< index number of initial profiles to be output
    16211624
    16221625    SAVE
  • palm/trunk/SOURCE/netcdf_interface_mod.f90

    r4844 r4853  
    2424! -----------------
    2525! $Id$
     26! size of some local arrays for profiles increased from 300 to 400
     27!
     28! 4844 2021-01-18 09:22:26Z raasch
    2629! bugfix: size of some profile arrays increased
    2730!
     
    193196         (/ 'wtheta0', 'w*2    ', 't*w2   ', 'w*3    ', 'w*2t*w ', 'w*t*w2 ', 'z_i    ' /)
    194197
    195     CHARACTER (LEN=9), DIMENSION(300) ::  dopr_unit = 'unknown'
     198    CHARACTER (LEN=9), DIMENSION(400) ::  dopr_unit = 'unknown'
    196199
    197200    CHARACTER (LEN=7), DIMENSION(dopts_num) :: dopts_label =                                       &
     
    329332    INTEGER(iwp), DIMENSION(dopts_num,0:10) ::  id_var_dopts
    330333    INTEGER(iwp), DIMENSION(0:1,500)        ::  id_var_do2d, id_var_do3d
    331     INTEGER(iwp), DIMENSION(300,0:99)       ::  id_dim_z_pr, id_var_dopr, id_var_z_pr
     334    INTEGER(iwp), DIMENSION(400,0:99)       ::  id_dim_z_pr, id_var_dopr, id_var_z_pr
    332335    INTEGER(iwp), DIMENSION(dots_max,0:99)  ::  id_var_dots
    333336
  • palm/trunk/SOURCE/user_module.f90

    r4843 r4853  
    2525! -----------------
    2626! $Id$
     27! array size for profiles increased
     28!
     29! 4843 2021-01-15 15:22:11Z raasch
    2730! local namelist parameter added to switch off the module although the respective module namelist
    2831! appears in the namelist file
     
    306309       IF ( data_output_pr_user(1) /= ' ' )  THEN
    307310          i = 1
    308           DO WHILE ( data_output_pr(i) /= ' '  .AND.  i <= 100 )
     311          DO WHILE ( data_output_pr(i) /= ' '  .AND.  i <= 200 )
    309312             i = i + 1
    310313          ENDDO
    311314          j = 1
    312           DO WHILE ( data_output_pr_user(j) /= ' '  .AND.  j <= 100 )
     315          DO WHILE ( data_output_pr_user(j) /= ' '  .AND.  j <= 200 )
    313316             data_output_pr(i) = data_output_pr_user(j)
    314317             max_pr_user_tmp   = max_pr_user_tmp + 1
Note: See TracChangeset for help on using the changeset viewer.