39 real(c_double),
intent(inout) :: hofx(:)
41 character(len=*),
parameter :: myname_=
"ufo_seaicefrac_simobs" 42 character(max_string) :: err_msg
48 integer(kind=4) :: incid
49 integer(kind=4) :: idimstation_id, idimlev_id
50 integer(kind=4) :: ivarlev_id, ivargom_id
54 character(len=120) :: filename
55 character(len=MAXVARLEN) :: dim_name
59 if (geovals%nobs /=
size(hofx,1))
then 60 write(err_msg,*) myname_,
' error: nobs inconsistent!' 61 call abor1_ftn(err_msg)
68 filename=
'sic-test.nc' 69 call sic_out%init(
size(hofx,1),filename)
72 do iobs = 1,
size(hofx,1)
73 hofx(iobs) = sum(geoval%vals(:,iobs))
77 call sic_out%write_geoval(
var_seaicefrac,geoval,arg_dim_name=dim_name)
78 call sic_out%finalize()
Fortran module to handle temperature profile observations.
subroutine, public ufo_geovals_get_var(self, varname, geoval, status)
integer, parameter max_string
type to hold interpolated fields required by the obs operators
subroutine, public ufo_seaicefrac_simobs(self, geovals, hofx)
Fortran module to handle ice concentration observations.
Fortran derived type for sea ice fraction observation operator.
character(len=maxvarlen), public var_seaicefrac
type to hold interpolated field for one variable, one observation