- Timestamp:
- 2020-06-03T16:27:48+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools_dev_r12970_AGRIF_CMEMS/WEIGHTS/src/scripshape.F90
r2448 r13025 24 24 REAL(KIND=8), ALLOCATABLE :: src1(:,:),dst1(:,:),wgt1(:,:) 25 25 LOGICAL :: around, verbose 26 #if defined ARGC27 INTEGER(KIND=4) :: iargc28 EXTERNAL :: iargc29 #endif30 26 31 27 CHARACTER(LEN=256) :: interp_file, output_file, name_file … … 45 41 ! ew_wrap = 2 46 42 ! 47 #if defined ARGC 48 IF (iargc() == 1) THEN 49 CALL getarg(1, name_file) 50 ELSE 51 WRITE(*,*) 'Usage: scripshape namelist_file' 52 STOP 53 ENDIF 54 #else 55 WRITE(6,*) 'enter name of namelist file' 56 READ(5,*) name_file 57 #endif 43 44 if (COMMAND_ARGUMENT_COUNT() == 1) then 45 CALL GET_COMMAND_ARGUMENT(1, name_file) 46 else 47 write(6,*) 'enter name of namelist file' 48 read(5,*) name_file 49 endif 50 58 51 interp_file = 'none' 59 52 output_file = 'none'
Note: See TracChangeset
for help on using the changeset viewer.