1 | SUBROUTINE wrf_auxhist4in ( fid , grid , config_flags , switch , ierr ) |
---|
2 | USE module_domain |
---|
3 | USE module_state_description |
---|
4 | USE module_configure |
---|
5 | USE module_io |
---|
6 | USE module_io_wrf |
---|
7 | USE module_date_time |
---|
8 | USE module_bc_time_utilities |
---|
9 | USE module_utility |
---|
10 | IMPLICIT NONE |
---|
11 | #include <wrf_io_flags.h> |
---|
12 | #include <wrf_status_codes.h> |
---|
13 | TYPE(domain) :: grid |
---|
14 | TYPE(grid_config_rec_type), INTENT(INOUT) :: config_flags |
---|
15 | INTEGER, INTENT(IN) :: fid |
---|
16 | INTEGER, INTENT(IN) :: switch |
---|
17 | INTEGER, INTENT(INOUT) :: ierr |
---|
18 | |
---|
19 | ! Local data |
---|
20 | INTEGER ids , ide , jds , jde , kds , kde , & |
---|
21 | ims , ime , jms , jme , kms , kme , & |
---|
22 | ips , ipe , jps , jpe , kps , kpe |
---|
23 | |
---|
24 | INTEGER itrace |
---|
25 | INTEGER iname(9) |
---|
26 | INTEGER iordering(3) |
---|
27 | INTEGER icurrent_date(24) |
---|
28 | INTEGER i,j,k |
---|
29 | INTEGER icnt |
---|
30 | INTEGER ndim |
---|
31 | INTEGER ilen |
---|
32 | INTEGER , DIMENSION(3) :: domain_start , domain_end |
---|
33 | INTEGER , DIMENSION(3) :: memory_start , memory_end |
---|
34 | INTEGER , DIMENSION(3) :: patch_start , patch_end |
---|
35 | CHARACTER*256 errmess |
---|
36 | CHARACTER*40 :: this_datestr, next_datestr |
---|
37 | CHARACTER*9 NAMESTR |
---|
38 | INTEGER IBDY, NAMELEN |
---|
39 | LOGICAL wrf_dm_on_monitor |
---|
40 | EXTERNAL wrf_dm_on_monitor |
---|
41 | CHARACTER*19 new_date |
---|
42 | CHARACTER*24 base_date |
---|
43 | INTEGER idt |
---|
44 | INTEGER itmp, dyn_opt |
---|
45 | INTEGER :: ide_compare , jde_compare , kde_compare |
---|
46 | ierr = 0 |
---|
47 | |
---|
48 | CALL get_ijk_from_grid ( grid , & |
---|
49 | ids, ide, jds, jde, kds, kde, & |
---|
50 | ims, ime, jms, jme, kms, kme, & |
---|
51 | ips, ipe, jps, jpe, kps, kpe ) |
---|
52 | |
---|
53 | CALL nl_get_dyn_opt ( 1 , dyn_opt ) |
---|
54 | |
---|
55 | #include <wrf_auxhist4in.inc> |
---|
56 | |
---|
57 | RETURN |
---|
58 | END |
---|