## hafs_input.conf
## Configures input sources for the HAFS system

# This file is read in after the hafs.conf file, and specifies where
# to get input data.

[wcoss_fcst_nco]
gfs={ENV[COMINgfs]}/gfs.{aYMD}/{aHH}/atmos/                  ;; GFS directory
gdas1={ENV[COMINgdas]}/gdas.{aYMD}/{aHH}/atmos/              ;; GDAS directory
enkf={ENV[COMINgfs]}/enkfgdas.{aYMD}/{aHH}/atmos/            ;; GFS ENKF directory
messages={ENV[COMINmsg]}/                                    ;; Hurricane message file directory
syndatdir={ENV[COMINarch]}                                   ;; TCVitals directory
dcom={ENV[DCOMROOT]}                                         ;; dcom directory
gfswave={ENV[COMINgfs]}/gfs.{aYMD}/{aHH}/wave/station        ;; gfswave root directory for wave boundary condition
gdaswave={ENV[COMINgdas]}/gdas.{aYMD}/{aHH}/wave/restart     ;; gdaswave root directory for wave initial condition
rtofs={ENV[COMINrtofs]}/rtofs.{aYMD}/                        ;; RTOFS root directory for each cycle.
rtofsstage={WORKhwrf}/hycominit/RTOFSDIR
@inc=gfs2021_naming,rtofs_naming,ww3_naming                  ;; Include naming info from other sections

[fcst_PROD2021]
gfs={COMINgfs}/gfs.{aYMD}/{aHH}/atmos/                       ;; GFS directory
gdas1={COMINgdas}/gdas.{aYMD}/{aHH}/atmos/                   ;; GDAS directory
enkf={COMINgfs}/enkf.{aYMD}/{aHH}/{aHH}/atmos/               ;; GFS ENKF directory
messages={COMINmsg}/                                         ;; Hurricane message file directory
syndatdir={COMINarch}/                                       ;; TCVitals directory
dcom={DCOMROOT}                                              ;; dcom directory
gfswave={COMINgfs}/gfs.{aYMD}/{aHH}/wave/station             ;; gfswave root directory for wave boundary condition
gdaswave={COMINgdas}/gdas.{aYMD}/{aHH}/wave/restart          ;; gdaswave root directory for wave initial condition
rtofs={COMINrtofs}/rtofs.{aYMD}/                             ;; RTOFS root directory for each cycle.
rtofsstage={WORKhwrf}/hycominit/RTOFSDIR
@inc=gfs2021_naming,rtofs_naming,ww3_naming                  ;; Include naming info from other sections

[gfs2021_naming]
gfs_sf            = gfs.t{aHH}z.atmf{fahr:03d}.nc            ;; GFS NEMSIO forecast
gfs_sfcanl        = gfs.t{aHH}z.sfcanl.nc                    ;; GFS NEMSIO surface analysis
gfs_sanl          = gfs.t{aHH}z.atmanl.nc                    ;; GFS NEMSIO analysis
gfs_bufr          = gfs.t{aHH}z.{obstype}.tm00.bufr_d        ;; GFS bufr files
gfs_abias         = gfs.t{aHH}z.abias                        ;; bias correction
tcvitals_tm00     = gfs.t{aHH}z.syndata.tcvitals.tm00        ;; time 0 tcvitals
gfs_prepbufr_rst  = gfs.t{aHH}z.prepbufr                     ;; prepbufr data, restricted
gfs_prepbufr_nr   = gfs.t{aHH}z.prepbufr.nr                  ;; prepbufr data, non-restricted
enkf_sfg          = gdas.t{aHH}z.atmf{fahr:03d}s.mem{enkfmem:03d}.nc ;; GFS ENKF forecast
enkf_siganl       = gdas.t{aHH}z.atmanl.mem{enkfmem:03d}.nc  ;; GFS ENKF analysis
gdas1_bufr        = gdas.t{aHH}z.{obstype}.tm00.bufr_d       ;; GDAS bufr data
gdas1_biascr      = gdas.t{aHH}z.abias                       ;; GDAS bias correction abias file
gdas1_biascr_pc   = gdas.t{aHH}z.abias_pc                    ;; GDAS bias correction abias_pc file
gdas1_sf          = gdas.t{aHH}z.atmf{fahr:03d}.nc           ;; GDAS spectral forecast
gfs_gribA         = gfs.t{aHH}z.pgrb2.0p25.f{fahr:03d}       ;; GFS GRIB on standard levels
gfs_gribB         = gfs.t{aHH}z.pgrb2b.0p25.f{fahr:03d}      ;; GFS GRIB on "in-between" levels
gdas1_gribA       = gdas.t{aHH}z.pgrb2.0p25.f{fahr:03d}      ;; GDAS GRIB on standard levels
gdas1_gribB       = gdas.t{aHH}z.pgrb2b.0p25.f{fahr:03d}     ;; GDAS GRIB on "in-between" levels
gfs_sfluxgrb      = gfs.t{aHH}z.pgrb2.0p25.f{fahr:03d}       ;; GFS surface flux files
gdas1_sfluxgrb    = gdas.t{aHH}z.pgrb2.0p25.f{fahr:03d}      ;; GDAS surface flux files

[rtofs_naming]
rtofs_fcst_name=./rtofs_glo.t00z.f{fahr:02d}.archv.{ab}
rtofs_now_name=./rtofs_glo.t00z.n00.archv.{ab}
rtofs_rst_name=./rtofs_glo.t00z.n00.restart.{ab}
rtofs_past_name=./rtofs_glo.t00z.n{fahr:03d}.archv.{ab}
rtofs_fcst=./rtofs_glo.t00z.f{fahr:02d}.archv.{ab}
rtofs_now=./rtofs_glo.t00z.n00.archv.{ab}
rtofs_rst=./rtofs_glo.t00z.n00.restart.{ab}
rtofs_past=./rtofs_glo.t00z.n{fahr:03d}.archv.{ab}

[ww3_naming]
ww3bdy_ibp=gfswave.t{aHH}z.ibp_tar
ww3rst_gnh_10m={ap6YMD}.{ap6HH}0000.restart.gnh_10m