Ignore:
Timestamp:
Nov 18, 2020 1:05:58 PM (3 years ago)
Author:
eckhard
Message:

inifor: Validate netCDF dimensions of COSMO input files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/inifor/src/inifor_grid.f90

    r4715 r4790  
    2626! -----------------
    2727! $Id$
     28! Call dataset validation
     29! Fixed error message
     30!
     31!
     32! 4715 2020-09-30 13:14:43Z eckhard
    2833! Make LODs for top boundary conditions consistent with PALM
    2934!
     
    205210               PIDS_ORIGIN_Z
    206211    USE inifor_io,                                                             &
    207         ONLY:  file_is_present, get_cosmo_grid, get_input_file_list, get_netcdf_attribute,      &
    208                get_netcdf_dim_vector, get_netcdf_variable, set_palm_origin,    &
    209                netcdf_variable_present_in_file, parse_command_line_arguments, validate_config,                  &
    210                has_surface_value
     212        ONLY:  file_is_present, get_cosmo_grid, get_input_file_list,           &
     213               get_netcdf_attribute, get_netcdf_dim_vector,                    &
     214               get_netcdf_variable, set_palm_origin,                           &
     215               netcdf_variable_present_in_file, parse_command_line_arguments,  &
     216               validate_config, validate_dataset, has_surface_value
    211217    USE inifor_transform,                                                      &
    212218        ONLY:  average_2d, rotate_to_cosmo, find_horizontal_neighbours,        &
     
    591597! Section 3: Check for consistency
    592598!------------------------------------------------------------------------------
     599    CALL validate_dataset( flow_files, cfg%hhl_file )
    593600
    594601!
     
    612619    CALL log_runtime('time', 'read')
    613620
    614     CALL get_cosmo_grid( cfg % hhl_file, soil_files(1), rlon, rlat, hhl, hfl,  &
     621    CALL get_cosmo_grid( cfg%hhl_file, soil_files(1), rlon, rlat, hhl, hfl,    &
    615622                         depths, d_depth, d_depth_rho_inv, phi_n, lambda_n,    &
    616623                         phi_equat,                                            &
     
    23842391             ELSE
    23852392                message = "Set up input file name '" // TRIM(filename) // "'"
    2386                 CALL report('verify_file', message)
     2393                CALL report('validate_io_groups', message)
    23872394             ENDIF
    23882395
Note: See TracChangeset for help on using the changeset viewer.