UFO
ufo_locations_mod Module Reference

Fortran interface to ufo::Locations. More...

Data Types

interface  ufo_locations
 

Functions/Subroutines

type(ufo_locations) function ctor_from_ptr (ptr)
 Saves pointer to locations. More...
 
integer function nlocs (this)
 Return the number of observational locations in this Locations object. More...
 
subroutine get_lons (this, lons)
 Get longitudes from the Locations object. More...
 
subroutine get_lats (this, lats)
 Get latitudes from the Locations object. More...
 
subroutine get_timemask (this, t1, t2, mask)
 Get time mask (obs that are between t1 & t2) from the Locations object. More...
 

Detailed Description

Fortran interface to ufo::Locations.

Function/Subroutine Documentation

◆ ctor_from_ptr()

type(ufo_locations) function ufo_locations_mod::ctor_from_ptr ( type(c_ptr), intent(in)  ptr)
private

Saves pointer to locations.

Definition at line 38 of file ufo_locations_mod.F90.

Here is the caller graph for this function:

◆ get_lats()

subroutine ufo_locations_mod::get_lats ( class(ufo_locations), intent(in)  this,
real(c_double), dimension(:), intent(inout)  lats 
)
private

Get latitudes from the Locations object.

Definition at line 73 of file ufo_locations_mod.F90.

◆ get_lons()

subroutine ufo_locations_mod::get_lons ( class(ufo_locations), intent(in)  this,
real(c_double), dimension(:), intent(inout)  lons 
)
private

Get longitudes from the Locations object.

Definition at line 58 of file ufo_locations_mod.F90.

◆ get_timemask()

subroutine ufo_locations_mod::get_timemask ( class(ufo_locations), intent(in)  this,
type(datetime), intent(in)  t1,
type(datetime), intent(in)  t2,
logical(c_bool), dimension(:), intent(inout)  mask 
)
private

Get time mask (obs that are between t1 & t2) from the Locations object.

Definition at line 88 of file ufo_locations_mod.F90.

◆ nlocs()

integer function ufo_locations_mod::nlocs ( class(ufo_locations), intent(in)  this)
private

Return the number of observational locations in this Locations object.

Definition at line 47 of file ufo_locations_mod.F90.

Here is the caller graph for this function: