Changeset 4844 for palm


Ignore:
Timestamp:
Jan 18, 2021 9:22:26 AM (3 years ago)
Author:
raasch
Message:

bugfix: size of some profile arrays increased, size check for profile output added

Location:
palm/trunk/SOURCE
Files:
2 edited

Legend:

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

    r4828 r4844  
    2424! -----------------
    2525! $Id$
     26! size check for profile output added
     27!
     28! 4828 2021-01-05 11:21:41Z Giersch
    2629! allow prescribing initial uv_profiles AND geostrophic wind
    2730! by changing error message PA0347 to an informative message
     
    16571660
    16581661!
     1662!--    Size check. Some arrays in the netcdf interface module are internally limited to 300 elements
     1663!--    and would need to be increased for output of more than 300 profiles.
     1664       IF ( dopr_n > 300 )  THEN
     1665          message_string = 'output of more than 300 profiles requested'
     1666          CALL message( 'check_parameters', 'PA0017', 1, 2, 0, 6, 0 )
     1667       ENDIF
     1668
     1669!
    16591670!--    Determine internal profile number (for hom, homs) and store height levels
    16601671       SELECT CASE ( TRIM( data_output_pr(i) ) )
  • palm/trunk/SOURCE/netcdf_interface_mod.f90

    r4828 r4844  
    2424! -----------------
    2525! $Id$
     26! bugfix: size of some profile arrays increased
     27!
     28! 4828 2021-01-05 11:21:41Z Giersch
    2629! file re-formatted to follow the PALM coding standard
    2730!
     
    326329    INTEGER(iwp), DIMENSION(dopts_num,0:10) ::  id_var_dopts
    327330    INTEGER(iwp), DIMENSION(0:1,500)        ::  id_var_do2d, id_var_do3d
    328     INTEGER(iwp), DIMENSION(100,0:99)       ::  id_dim_z_pr, id_var_dopr, id_var_z_pr
     331    INTEGER(iwp), DIMENSION(300,0:99)       ::  id_dim_z_pr, id_var_dopr, id_var_z_pr
    329332    INTEGER(iwp), DIMENSION(dots_max,0:99)  ::  id_var_dots
    330333
Note: See TracChangeset for help on using the changeset viewer.