Changeset 3997 for palm/trunk/UTIL/inifor/src/inifor_io.f90
- Timestamp:
- May 23, 2019 12:35:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/inifor/src/inifor_io.f90
r3866 r3997 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Added boolean indicator for --elevation option invocation 29 ! Stop INIFOR if no command-line options given 30 ! 31 ! 32 ! 3866 2019-04-05 14:25:01Z eckhard 28 33 ! Use PALM's working precision 29 34 ! Improved coding style … … 143 148 !------------------------------------------------------------------------------! 144 149 INTERFACE get_netcdf_variable 145 146 150 MODULE PROCEDURE get_netcdf_variable_int 151 MODULE PROCEDURE get_netcdf_variable_real 147 152 END INTERFACE get_netcdf_variable 148 153 … … 411 416 INTEGER :: arg_count, i 412 417 413 cfg%p0_is_set = .FALSE.414 cfg%ug_defined_by_user = .FALSE.415 cfg%vg_defined_by_user = .FALSE.416 418 cfg%flow_prefix_is_set = .FALSE. 417 419 cfg%input_prefix_is_set = .FALSE. 420 cfg%p0_is_set = .FALSE. 418 421 cfg%radiation_prefix_is_set = .FALSE. 419 422 cfg%soil_prefix_is_set = .FALSE. 420 423 cfg%soilmoisture_prefix_is_set = .FALSE. 424 cfg%ug_defined_by_user = .FALSE. 425 cfg%vg_defined_by_user = .FALSE. 426 cfg%z0_is_set = .FALSE. 421 427 422 428 arg_count = COMMAND_ARGUMENT_COUNT() … … 448 454 449 455 CASE( '-z0', '-z', '--elevation' ) 456 cfg%z0_is_set = .TRUE. 450 457 CALL get_option_argument( i, arg ) 451 458 READ(arg, *) cfg%z0 … … 552 559 ELSE 553 560 554 message = "No arguments present, using default input and output files" 555 CALL report('parse_command_line_arguments', message) 561 CALL print_version 562 CALL report( 'parse_command_line_arguments', 'No arguments present, exiting.' ) 563 STOP 556 564 557 565 ENDIF … … 559 567 END SUBROUTINE parse_command_line_arguments 560 568 561 569 562 570 563 571 SUBROUTINE get_datetime_file_list( start_date_string, start_hour, end_hour, &
Note: See TracChangeset
for help on using the changeset viewer.