FV3 Bundle
ncdr_state.f90
Go to the documentation of this file.
1 module ncdr_state
2  use ncd_kinds, only: i_long, i_short
3  use ncdr_types, only: ncdr_file
4 
5  implicit none
6 
7  integer(i_long) :: current_ncdr_id = -1
8  integer(i_long), dimension(:), allocatable :: ncdr_id_stack
9  integer(i_long) :: ncdr_id_stack_size = 0, ncdr_id_stack_count = 0
10  logical :: init_done = .false.
11 
12  character(len=200) :: cur_nc_file
13 
14  type(ncdr_file), dimension(:), allocatable :: ncdr_files
15  integer(i_long) :: ncdr_file_count = 0
16  integer(i_long) :: ncdr_file_total = 0
17  integer(i_long) :: ncdr_file_highest = 0
18 
19  ! Default number of starting entries
20  integer(i_short), parameter :: ncdr_default_ent = 1024
21 
22  ! NetCDF chunking size
23  integer(i_long), parameter :: ncdr_chunking = 16384
24 end module ncdr_state
integer, parameter, public i_long
Definition: ncd_kinds.F90:47
integer(i_long) current_ncdr_id
Definition: ncdr_state.f90:7
type(ncdr_file), dimension(:), allocatable ncdr_files
Definition: ncdr_state.f90:14
character(len=200) cur_nc_file
Definition: ncdr_state.f90:12
integer(i_long) ncdr_file_highest
Definition: ncdr_state.f90:17
integer(i_short), parameter ncdr_default_ent
Definition: ncdr_state.f90:20
logical init_done
Definition: ncdr_state.f90:10
integer(i_long) ncdr_file_total
Definition: ncdr_state.f90:16
integer, parameter, public i_short
Definition: ncd_kinds.F90:46
integer(i_long) ncdr_file_count
Definition: ncdr_state.f90:15
integer(i_long), dimension(:), allocatable ncdr_id_stack
Definition: ncdr_state.f90:8
integer(i_long) ncdr_id_stack_count
Definition: ncdr_state.f90:9
integer(i_long), parameter ncdr_chunking
Definition: ncdr_state.f90:23
integer(i_long) ncdr_id_stack_size
Definition: ncdr_state.f90:9