12 use fckit_configuration_module,
only: fckit_configuration
33 character(len=255) :: pseudo_type
55 type(fckit_configuration),
intent(in) :: conf
57 character(len=:),
allocatable :: str
60 call conf%get_or_die(
"pseudo_type",str)
61 self%pseudo_type = str
64 if (trim(self%pseudo_type) ==
"geos")
then
65 call self%geos%setup_conf(geom, conf)
66 elseif (trim(self%pseudo_type) ==
"gfs")
then
67 call self%gfs%setup_conf(conf)
69 call abor1_ftn(
"fv3jedi_pseudo_mod: pseudo_type must be geos or gfs")
81 if (trim(self%pseudo_type) ==
"geos")
call self%geos%delete()
97 subroutine step(self, state, geom, vdate)
103 type(datetime),
intent(inout) :: vdate
105 if (trim(self%pseudo_type) ==
"gfs")
then
106 call self%gfs%setup_date(vdate)
107 call self%gfs%read_fields(geom, state%fields)
108 elseif (trim(self%pseudo_type) ==
"geos")
then
109 call self%geos%setup_date(vdate)
110 call self%geos%read_fields(geom, state%fields)
112 call abor1_ftn(
"fv3jedi_pseudo_mod: pseudo_model, model choice must be geos or gfs")