20 use missing_values_mod
21 use fckit_log_module,
only : fckit_log
42 real(kind_real),
intent(inout) :: hofx(:)
43 type(c_ptr),
value,
intent(in) :: obss
44 real(c_double) :: missing
46 character(len=*),
parameter :: myname_=
"ufo_gnssgb_refropp1d_simobs"
49 character(max_string) :: err_msg
50 integer :: nlev, nobs, iobs,nvprof, obss_nobs
51 type(
ufo_geoval),
pointer :: t, q, prs, gph, gph_sfc
52 real(kind_real),
allocatable :: obslat(:), obslon(:)
54 write(err_msg,*)
"TRACE: ufo_gnssgb_refropp1d_simobs_stub: begin"
55 call fckit_log%info(err_msg)
58 if (geovals%nlocs /=
size(hofx))
then
59 write(err_msg,*) myname_,
' error: nlocs inconsistent!'
60 call abor1_ftn(err_msg)
70 missing = missing_value(missing)
73 nobs = obsspace_get_nlocs(obss)
79 allocate(obslon(nobs))
80 allocate(obslat(nobs))
82 call obsspace_get_db(obss,
"MetaData",
"longitude", obslon)
83 call obsspace_get_db(obss,
"MetaData",
"latitude", obslat)
88 write(err_msg,*)
"TRACE: ufo_gnssgb_refropp1d_simobs_stub: completed"
89 call fckit_log%info(err_msg)
Fortran module to prepare for Lagrange polynomial interpolation. based on GSI: lagmod....
subroutine, public lag_interp_const(q, x, n)
subroutine, public lag_interp_smthweights(x, xt, aq, bq, w, dw, n)
type(registry_t), public ufo_geovals_registry
Linked list interface - defines registry_t type.
integer, parameter max_string
subroutine, public ufo_geovals_get_var(self, varname, geoval)
Fortran module for ground-based gnss refractivity ropp1d forward operator following the ROPP (2018 Au...
subroutine ufo_gnssgb_refropp1d_simobs(self, geovals, hofx, obss)
character(len=maxvarlen), parameter, public var_prs
character(len=maxvarlen), parameter, public var_q
character(len=maxvarlen), parameter, public var_sfc_geomz
character(len=maxvarlen), parameter, public var_z
character(len=maxvarlen), parameter, public var_ts
Fortran module to perform linear interpolation.
type to hold interpolated field for one variable, one observation
type to hold interpolated fields required by the obs operators
Fortran derived type for ground based gnss trajectory.