FV3 Bundle
odb_helper_mod Module Reference

Fortran module with ODB API utility routines. More...

Functions/Subroutines

subroutine count_query_results (filename, query, num_results)
 
subroutine get_vars (filename, columns, filter, data)
 
subroutine create_query_sql (column_names, filename, filter, sql)
 
subroutine create_table_sql (column_names, column_types, filename, sql)
 
subroutine insert_into_sql (column_names, sql)
 

Variables

integer, parameter, private real32 = selected_real_kind(6)
 
integer, parameter, private real64 = selected_real_kind(15)
 

Detailed Description

Fortran module with ODB API utility routines.

Function/Subroutine Documentation

◆ count_query_results()

subroutine odb_helper_mod::count_query_results ( character(len=*), intent(in)  filename,
character(len=*), intent(in)  query,
integer, intent(out)  num_results 
)

Definition at line 20 of file odb_helper_mod.F90.

Here is the caller graph for this function:

◆ create_query_sql()

subroutine odb_helper_mod::create_query_sql ( character(len=*), dimension(:), intent(in)  column_names,
character(len=*), intent(in)  filename,
character(len=*), intent(in)  filter,
character(len=*), intent(out)  sql 
)

Definition at line 210 of file odb_helper_mod.F90.

Here is the caller graph for this function:

◆ create_table_sql()

subroutine odb_helper_mod::create_table_sql ( character(len=*), dimension(:), intent(in)  column_names,
integer, dimension(:), intent(in)  column_types,
character(len=*), intent(in)  filename,
character(len=*), intent(out)  sql 
)

Definition at line 238 of file odb_helper_mod.F90.

Here is the caller graph for this function:

◆ get_vars()

subroutine odb_helper_mod::get_vars ( character(len=*), intent(in)  filename,
character(len=*), dimension(:), intent(in)  columns,
character(len=*), intent(in)  filter,
real(kind=real64), dimension(:,:), intent(out), allocatable  data 
)

Definition at line 96 of file odb_helper_mod.F90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insert_into_sql()

subroutine odb_helper_mod::insert_into_sql ( character(len=*), dimension(:), intent(in)  column_names,
character(len=*), intent(out)  sql 
)

Definition at line 276 of file odb_helper_mod.F90.

Here is the caller graph for this function:

Variable Documentation

◆ real32

integer, parameter, private odb_helper_mod::real32 = selected_real_kind(6)
private

Definition at line 12 of file odb_helper_mod.F90.

◆ real64

integer, parameter, private odb_helper_mod::real64 = selected_real_kind(15)
private

Definition at line 13 of file odb_helper_mod.F90.