Changeset 3836 for trunk/LMDZ.COMMON/libf/evolution/reshape_XIOS_output.F90
- Timestamp:
- Jul 7, 2025, 2:46:43 PM (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/reshape_XIOS_output.F90
r3786 r3836 11 11 12 12 use netcdf 13 use version_info_mod, only: print_version_info13 use parse_args_mod, only: parse_args 14 14 15 15 implicit none … … 39 39 integer :: i, j, k 40 40 integer :: numDimsVar, numAttsVar 41 character(100) :: varName , arg41 character(100) :: varName 42 42 integer :: xtypeVar 43 43 integer, allocatable, dimension(:) :: dimids_var_in … … 72 72 73 73 ! CODE 74 ! Handle command‐line argument "version" 75 if (command_argument_count() > 0) then ! Get the number of command-line arguments 76 call get_command_argument(1,arg) ! Read the argument given to the program 77 select case (trim(adjustl(arg))) 78 case('version') 79 call print_version_info() 80 stop 81 case default 82 error stop 'The argument given to the program is unknown!' 83 end select 84 endif 74 ! Parse command-line options 75 call parse_args() 85 76 86 77 ! Main loop: two PCM years
Note: See TracChangeset
for help on using the changeset viewer.