MOM6
write_ocean_obs_mod Module Reference

Detailed Description

Dummy interfaces for writing ODA data.

Functions/Subroutines

integer function, public open_profile_file (name, nvar, grid_lon, grid_lat, thread, fset)
 Open a profile file. More...
 
subroutine, public write_profile (unit, profile)
 Write a profile. More...
 
subroutine, public close_profile_file (unit)
 Close a profile file. More...
 
subroutine, public write_ocean_obs_init ()
 Initialize write_ocean_obs module.
 

Function/Subroutine Documentation

◆ close_profile_file()

subroutine, public write_ocean_obs_mod::close_profile_file ( integer, intent(in)  unit)

Close a profile file.

Parameters
[in]unitFile unit

Definition at line 38 of file write_ocean_obs.F90.

39  integer, intent(in) :: unit !< File unit
40 
41  return

◆ open_profile_file()

integer function, public write_ocean_obs_mod::open_profile_file ( character(len=*), intent(in)  name,
integer, intent(in), optional  nvar,
real, dimension(:), intent(in), optional  grid_lon,
real, dimension(:), intent(in), optional  grid_lat,
integer, intent(in), optional  thread,
integer, intent(in), optional  fset 
)

Open a profile file.

Parameters
[in]nameFile name
[in]nvarNumber of variables
[in]grid_lonLongitude [degreeE]
[in]grid_latLatitude [degreeN]
[in]threadThread number
[in]fsetFile set

Definition at line 18 of file write_ocean_obs.F90.

19  character(len=*), intent(in) :: name !< File name
20  integer, intent(in), optional :: nvar !< Number of variables
21  real, dimension(:), optional, intent(in) :: grid_lon !< Longitude [degreeE]
22  real, dimension(:), optional, intent(in) :: grid_lat !< Latitude [degreeN]
23  integer, optional, intent(in) :: thread !< Thread number
24  integer, optional, intent(in) :: fset !< File set
25 
26  open_profile_file=-1

◆ write_profile()

subroutine, public write_ocean_obs_mod::write_profile ( integer, intent(in)  unit,
type(ocean_profile_type), intent(in)  profile 
)

Write a profile.

Parameters
[in]unitFile unit
[in]profileProfile to write

Definition at line 30 of file write_ocean_obs.F90.

31  integer, intent(in) :: unit !< File unit
32  type(ocean_profile_type), intent(in) :: profile !< Profile to write
33 
34  return