source:
trunk/NEMOGCM/TOOLS/WEIGHTS/src/scripinterp.F90
@
8809
Last change on this file since 8809 was 2718, checked in by sga, 13 years ago | |
---|---|
File size: 490 bytes |
Rev | Line | |
---|---|---|
[2352] | 1 | ! ========================================================================== |
2 | ||
3 | program scripinterp | |
4 | ||
5 | use scripinterp_mod | |
6 | ||
7 | character (char_len) :: nm_in | |
8 | #if defined ARGC | |
9 | integer :: iargc | |
10 | external iargc | |
11 | ||
12 | if (iargc() == 1) then | |
13 | call getarg(1, nm_in) | |
14 | call process_grid(nm_in) | |
15 | else | |
16 | write(6,*) 'need the name of an input namelist' | |
17 | endif | |
18 | #else | |
19 | write(6,*) 'enter the name of an input namelist' | |
20 | read(5,*) nm_in | |
[2718] | 21 | call process_grid(nm_in) |
[2352] | 22 | #endif |
23 | ||
24 | end program scripinterp |
Note: See TracBrowser
for help on using the repository browser.