UFO
test_locations Module Reference

Functions/Subroutines

integer function test_locations_lonslats_c (c_locs, c_conf)
 Tests whether latitudes and longitudes from ufo::Locations object are matching references in yaml file. More...
 
integer function test_locations_timemask_c (c_locs, c_conf)
 Tests whether ufo::Locations time mask method results are matching references in yaml file. More...
 

Function/Subroutine Documentation

◆ test_locations_lonslats_c()

integer function test_locations::test_locations_lonslats_c ( type(c_ptr), intent(in), value  c_locs,
type(c_ptr), intent(in), value  c_conf 
)
private

Tests whether latitudes and longitudes from ufo::Locations object are matching references in yaml file.

Parameters
[in]c_locsufo::Locations object
[in]c_conftest configuration (described in LocationsTestParameters

local variables

default value: test passed

read reference longitudes and latitudes

get longitudes and latitudes from locations object

compare to reference

Definition at line 19 of file locations_test.F90.

Here is the call graph for this function:

◆ test_locations_timemask_c()

integer function test_locations::test_locations_timemask_c ( type(c_ptr), intent(in), value  c_locs,
type(c_ptr), intent(in), value  c_conf 
)

Tests whether ufo::Locations time mask method results are matching references in yaml file.

Parameters
[in]c_locsufo::Locations object
[in]c_conftest configuration (described in LocationsTestParameters

local variables

default value: test passed

loop over all the tests for time masks

call ufo::Locations method to compute time mask

compare to reference

Definition at line 70 of file locations_test.F90.

Here is the call graph for this function: