Changeset 3579 for trunk/LMDZ.COMMON/libf/evolution/reshape_XIOS_output.F90
- Timestamp:
- Jan 15, 2025, 1:50:20 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/reshape_XIOS_output.F90
r3214 r3579 11 11 !======================================================================= 12 12 use netcdf 13 use version_info_mod, only: print_version_info 13 14 14 15 implicit none … … 23 24 character(1) :: str 24 25 character(30) :: name_, namevar 26 character(100) :: arg ! To read command-line arguments 25 27 integer :: xtype_var, len_, len_1, len_2, len_lat, len_lon, len_time, len_soil 26 28 integer :: dimid_lon, dimid_lat, dimid_time, dimid_soil, dimid_2, numdims, numatts, numyear 27 29 logical :: yes 30 31 32 if (command_argument_count() > 0) then ! Get the number of command-line arguments 33 call get_command_argument(1,arg) ! Read the argument given to the program 34 select case (trim(adjustl(arg))) 35 case('version') 36 call print_version_info() 37 stop 38 case default 39 error stop 'The argument given to the program is unknown!' 40 end select 41 endif 28 42 29 43 do numyear = 1,2
Note: See TracChangeset
for help on using the changeset viewer.