  family stofs
    edit PACKAGEHOME '/lfs/h1/ops/%ENVIR%/packages/stofs.%stofs_ver%'
    edit PROJ 'STOFS'
    edit COLDSTART 'NO'
    family v2.1
      family 2d_glo
        task jstofs_2d_glo_cold_adcprep
          trigger :TIME >= 1230 and :TIME <= 1830
        task jstofs_2d_glo_cold_spinup
          trigger jstofs_2d_glo_cold_adcprep == complete
        task jstofs_2d_glo_prep_nowcast
          trigger ( :TIME >= 1505 and :TIME <=2105 ) and jstofs_2d_glo_cold_spinup == complete
        task jstofs_2d_glo_prep_forecast
          trigger jstofs_2d_glo_prep_nowcast == complete
        task jstofs_2d_glo_fcst_nowcast
          trigger ( :TIME >= 1550 and :TIME <= 2150 ) and jstofs_2d_glo_cold_spinup == complete and /prod_clone/primary/12/gfs/v16.3/gfs/atmos/post/jgfs_atmos_post_f000 == complete or /prod_clone/primary/12/gfs/v16.3/gfs/atmos/post/jgfs_atmos_post_f000 == active
        task jstofs_2d_glo_fcst_forecast
          trigger jstofs_2d_glo_fcst_nowcast == complete
        task jstofs_2d_glo_post_anomaly
          trigger jstofs_2d_glo_fcst_forecast == complete
        task jstofs_2d_glo_post_ncdiff
          trigger jstofs_2d_glo_fcst_forecast == complete
        task jstofs_2d_glo_post_grib2
          trigger jstofs_2d_glo_post_ncdiff == complete
        task jstofs_2d_glo_gempak
          trigger jstofs_2d_glo_post_grib2 == complete
      endfamily
      family 3d_atl
        task jstofs_3d_atl_cleanup
          trigger :TIME >= 1530 and :TIME <=2130
        task jstofs_3d_atl_prep
          trigger (:TIME >= 1600 and :TIME <=2200) and jstofs_3d_atl_cleanup == complete
        task jstofs_3d_atl_now_forecast
          trigger jstofs_3d_atl_prep == complete
        task jstofs_3d_atl_post1
          trigger jstofs_3d_atl_now_forecast == complete
        task jstofs_3d_atl_post2
          trigger jstofs_3d_atl_now_forecast == complete and ( jstofs_3d_atl_post1 == active or jstofs_3d_atl_post1 == complete )
          event run_temp_salt_restart
        task jstofs_3d_atl_temp_salt_restart
          defstatus complete
          complete jstofs_3d_atl_post2 == complete and jstofs_3d_atl_post2:run_temp_salt_restart == clear
          trigger jstofs_3d_atl_post2:run_temp_salt_restart
      endfamily
    endfamily
  endfamily

