OOPS
qg_obsdb_interface Module Reference

Functions/Subroutines

subroutine qg_obsdb_setup_c (c_key_self, c_conf, c_winbgn, c_winend)
 Setup observation data. More...
 
subroutine qg_obsdb_delete_c (c_key_self)
 Delete observation data. More...
 
subroutine qg_obsdb_get_c (c_key_self, lgrp, c_grp, lcol, c_col, c_key_ovec)
 Get observation data. More...
 
subroutine qg_obsdb_get_local_c (c_key_self, lgrp, c_grp, lcol, c_col, c_idxsize, c_idx, c_key_ovec)
 Get observations data for a local subset. More...
 
subroutine qg_obsdb_put_c (c_key_self, lgrp, c_grp, lcol, c_col, c_key_ovec)
 Put observation data. More...
 
subroutine qg_obsdb_has_c (c_key_self, lgrp, c_grp, lcol, c_col, c_has)
 Test observation data existence. More...
 
subroutine qg_obsdb_locations_c (c_key_self, lgrp, c_grp, c_t1, c_t2, c_fields, c_times)
 Get locations from observation data. More...
 
subroutine qg_obsdb_generate_c (c_key_self, lgrp, c_grp, c_conf, c_bgn, c_step, ktimes, kobs)
 Generate observation data. More...
 
subroutine qg_obsdb_nobs_c (c_key_self, lgrp, c_grp, kobs)
 Get observation data size. More...
 

Function/Subroutine Documentation

◆ qg_obsdb_delete_c()

subroutine qg_obsdb_interface::qg_obsdb_delete_c ( integer(c_int), intent(inout)  c_key_self)
private

Delete observation data.

Parameters
[in,out]c_key_selfObservation data

Definition at line 59 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_generate_c()

subroutine qg_obsdb_interface::qg_obsdb_generate_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
type(c_ptr), intent(in), value  c_conf,
type(c_ptr), intent(in), value  c_bgn,
type(c_ptr), intent(in), value  c_step,
integer(c_int), intent(in)  ktimes,
integer(c_int), intent(inout)  kobs 
)
private

Generate observation data.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]c_confConfiguration
[in]c_bgnStart time
[in]c_stepTime-step
[in]ktimesNumber of time-slots
[in,out]kobsNumber of observations

Definition at line 235 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_get_c()

subroutine qg_obsdb_interface::qg_obsdb_get_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
integer(c_int), intent(in)  lcol,
character(kind=c_char,len=1), dimension(lcol+1), intent(in)  c_col,
integer(c_int), intent(in)  c_key_ovec 
)
private

Get observation data.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]lcolColumn size
[in]c_colColumn name
[in]c_key_ovecObservation vector

Definition at line 81 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_get_local_c()

subroutine qg_obsdb_interface::qg_obsdb_get_local_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
integer(c_int), intent(in)  lcol,
character(kind=c_char,len=1), dimension(lcol+1), intent(in)  c_col,
integer(c_int), intent(in)  c_idxsize,
integer(c_int), dimension(c_idxsize), intent(in)  c_idx,
integer(c_int), intent(in)  c_key_ovec 
)
private

Get observations data for a local subset.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]lcolColumn size
[in]c_colColumn name
[in]c_key_ovecObservation vector
[in]c_idxsizesize of local obs index vector
[in]c_idxIndex vector for local obs

Definition at line 111 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_has_c()

subroutine qg_obsdb_interface::qg_obsdb_has_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
integer(c_int), intent(in)  lcol,
character(kind=c_char,len=1), dimension(lcol+1), intent(in)  c_col,
integer(c_int), intent(out)  c_has 
)
private

Test observation data existence.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]lcolColumn size
[in]c_colColumn name
[out]c_hasTest flag

Definition at line 173 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_locations_c()

subroutine qg_obsdb_interface::qg_obsdb_locations_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
type(c_ptr), intent(in), value  c_t1,
type(c_ptr), intent(in), value  c_t2,
type(c_ptr), intent(in), value  c_fields,
type(c_ptr), intent(in), value  c_times 
)
private

Get locations from observation data.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]c_t1Time 1
[in]c_t2Time 2
[in]c_fieldsLocations fieldset
[in]c_timestimes

Definition at line 201 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_nobs_c()

subroutine qg_obsdb_interface::qg_obsdb_nobs_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
integer(c_int), intent(inout)  kobs 
)
private

Get observation data size.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in,out]kobsNumber of observations

Definition at line 269 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_put_c()

subroutine qg_obsdb_interface::qg_obsdb_put_c ( integer(c_int), intent(in)  c_key_self,
integer(c_int), intent(in)  lgrp,
character(kind=c_char,len=1), dimension(lgrp+1), intent(in)  c_grp,
integer(c_int), intent(in)  lcol,
character(kind=c_char,len=1), dimension(lcol+1), intent(in)  c_col,
integer(c_int), intent(in)  c_key_ovec 
)
private

Put observation data.

Parameters
[in]c_key_selfObservation data
[in]lgrpGroup size
[in]c_grpGroup name
[in]lcolColumn size
[in]c_colColumn name
[in]c_key_ovecObservation vector

Definition at line 143 of file qg_obsdb_interface.F90.

Here is the call graph for this function:

◆ qg_obsdb_setup_c()

subroutine qg_obsdb_interface::qg_obsdb_setup_c ( integer(c_int), intent(inout)  c_key_self,
type(c_ptr), intent(in), value  c_conf,
type(c_ptr), intent(in), value  c_winbgn,
type(c_ptr), intent(in), value  c_winend 
)
private

Setup observation data.

Parameters
[in,out]c_key_selfObservation data
[in]c_confConfiguration
[in]c_winbgnStart of window
[in]c_winendEnd of window

Definition at line 29 of file qg_obsdb_interface.F90.

Here is the call graph for this function: