 &fms_affinity_nml
     affinity = .F.
	 debug_affinity = .true.
	 debug_cpuset = .true.
/

 &amip_interp_nml
     interp_oi_sst = .true.
     use_ncep_sst = .true.
     use_ncep_ice = .false.
     no_anom_sst = .false.
     data_set = 'reynolds_oi',
     date_out_of_range = 'climo',
/

 &atmos_model_nml
     blocksize = <BLOCKSIZE>
     chksum_debug = .false.
     dycore_only = .F.
     fdiag = 1.
/

&diag_manager_nml
     prepend_date = .F.
   !diag_manager_forecast_mode = .T.
/

 &fms_io_nml
       checksum_required   = .false.
       max_files_r = 100,
       max_files_w = 100,
/

 &fms_nml
       clock_grain = 'ROUTINE',
       domains_stack_size = 30000000,
       print_memory_usage = .F.
/

 &fv_grid_nml
!      grid_file = 'INPUT/grid_spec.nc'
/


 &fv_core_nml
       layout   = <LAYOUTX>,<LAYOUTY>
       io_layout= 1,1
       npx      = 769 ! 211
       npy      = 769 ! 193
       ntiles   = 6,
       npz      = 63
       !grid_type = -1
       make_nh  = .F.
       fv_debug = .f.
       range_warn = .T.
       reset_eta = .F.
       nudge_qv = .T.
       d2_bg_k1 = 0.15
       d2_bg_k2 = 0.02
       kord_tm = -9 
       kord_mt =  9
       kord_wz =  9
       kord_tr =  9
       fill = .T.     
       fill_gfs = .F. 
       hydrostatic = .F.
       phys_hydrostatic = .F.
       use_hydro_pressure = .F.
       beta = 0.
       a_imp = 1.
       p_fac = 0.1
       k_split  = 1
       n_split  = 8
       nwat = 6 
       na_init = 1
       d_ext = 0.0
       dnats = 1 
       fv_sg_adj = 600 
       d2_bg = 0.
       nord =  3  
       dddmp = 0.2
       d4_bg = 0.15
       vtdm4 = 0.03
       do_vort_damp = .T.
       external_ic = .T.
       nggps_ic = .T.
       mountain = .F.
       ncep_ic = .F.
       d_con = 1.0
       hord_mt = 5
       hord_vt = 5
       hord_tm = 5
       hord_dp = 5
       hord_tr = 5 
       adjust_dry_mass = .F.
       consv_te = 0.
       do_sat_adj = .F.
       do_inline_mp = .T.
       consv_am = .F.
       dwind_2d = .F.
       print_freq = -1
       warm_start = .F.
       no_dycore = .F.
       rf_fast = .F.
       tau = 5.
       rf_cutoff = 7.5e2
       delt_max = 0.002
       write_3d_diags = .F.

/


 &coupler_nml
       months = 0
       days  = 0
       hours = <PREDICT_HOURS>
       minutes = 0
       seconds = 0
       dt_atmos = 150
       dt_ocean = 150
       current_date =  2020,08,26,12,0,0
       calendar = 'julian'
       memuse_verbose = .T.
       atmos_nthreads = <THREADS>
       use_hyper_thread = .F.
/

 &external_ic_nml 
       filtered_terrain = .true.
       levp = 64
       gfs_dwinds = .true.
       checker_tr = .F.
       nt_checker = 0
/


 &gfs_physics_nml
       fhzero         = 1.
       ldiag3d        = .T.
       fhcyc          = 24.
       nst_anl        = .true.
       use_ufo        = .true.
       pre_rad        = .false.
       ncld           = 5
       zhao_mic       = .false.
       pdfcld         = .true.
       cloud_gfdl     = .true.
       fhswr          = 3600.
       fhlwr          = 3600. 
       ialb           = 1 
       iems           = 1
       IAER           = 111
       ico2           = 2
       isubc_sw       = 2
       isubc_lw       = 2
       isol           = 2
       lwhtr          = .true.
       swhtr          = .true.
       cnvgwd         = .false.
       shal_cnv       = .true.
       cal_pre        = .false.
       redrag         = .true.
       dspheat        = .true.
       hybedmf        = .t.
       random_clds    = .false.
       trans_trac     = .true.
       cnvcld         = .false.
       imfshalcnv     = 2
       imfdeepcnv     = 2
       cdmbgwd        = 3.5, 0.25
       prslrd0        = 0.
       ivegsrc        = 1
       isot           = 1
       debug          = .f.
       do_deep        = .true.
       do_ocean       = .true.
       ysupbl         = .f. 
       do_inline_mp   = .true.
       xkzminv        = 1.0  
       xkzm_h         = 0.02  
       xkzm_m         = 0.02 
       do_z0_hwrf17_hwonly = .true.
/


 &ocean_nml
     mld_option       = "obs"
     ocean_option     = "MLM"
     restore_method   = 2
     mld_obs_ratio    = 1.
     use_rain_flux    = .true.
     sst_restore_tscale = 2.
     start_lat        = -45.
     end_lat          = 45.
     Gam              = 0.2
     use_old_mlm      = .true.
     do_mld_restore   = .true.
     mld_restore_tscale = 2.
     stress_ratio     = 1.
     eps_day          = 10.
/

 &gfdl_mp_nml
       sedi_transport = .true.
       do_sedi_w = .true.
       do_sedi_heat = .false.
       disp_heat = .true.
       rad_snow = .true.
       rad_graupel = .true.
       rad_rain = .true.
       const_vi = .false.
       const_vs = .false.
       const_vg = .false.
       const_vr = .false.
       vi_fac = 1.
       vs_fac = 1.
       vg_fac = 1.
       vr_fac = 1.
       vi_max = 1.
       vs_max = 2.
       vg_max = 12.
       vr_max = 12.
       qi_lim = 1.
       prog_ccn = .false.
       do_qa = .true.
       fast_sat_adj = .false.
       tau_l2v = 225.
       tau_v2l = 150.
       tau_g2v = 900.
       rthresh = 10.e-6
       dw_land  = 0.16
       dw_ocean = 0.10
       ql_gen = 1.0e-3
       ql_mlt = 1.0e-3
       qi0_crt = 8.0e-5
       qs0_crt = 1.0e-3
       tau_i2s = 1000.
       c_psaci = 0.05
       c_pgacs = 0.01
       rh_inc = 0.30
       rh_inr = 0.30
       rh_ins = 0.30
       ccn_l = 300.
       ccn_o = 200.
       c_paut = 0.5
       c_cracw = 0.8
       use_ppm = .false.
       use_ccn = .true.
       mono_prof = .true.
       z_slope_liq  = .true.
       z_slope_ice  = .true.
       fix_negative = .true.
       icloud_f = 0
/


 &cloud_diagnosis_nml
       reiflag = 4      
       rewmin  = 5.0
       rewmax  = 10.0
       reimin  = 10.0
       reimax  = 150.0
/


  &interpolator_nml
       interp_method = 'conserve_great_circle'
/

&namsfc
       FNGLAC   = "../GFS_fix/global_glacier.2x2.grb",
       FNMXIC   = "../GFS_fix/global_maxice.2x2.grb",
       FNTSFC   = "../GFS_fix/RTGSST.1982.2012.monthly.clim.grb",
       FNSNOC   = "../GFS_fix/global_snoclim.1.875.grb",
       FNZORC   = "igbp",
       FNALBC   = "../GFS_fix/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb",
       FNALBC2  = "../GFS_fix/global_albedo4.1x1.grb",
       FNAISC   = "../GFS_fix/CFSR.SEAICE.1982.2012.monthly.clim.grb",
       FNTG3C   = "../GFS_fix/global_tg3clim.2.6x1.5.grb",
       FNVEGC   = "../GFS_fix/global_vegfrac.0.144.decpercent.grb",
       FNVETC   = "../GFS_fix/global_vegtype.igbp.t1534.3072.1536.rg.grb",
       FNSOTC   = "../GFS_fix/global_soiltype.statsgo.t1534.3072.1536.rg.grb",
       FNSMCC   = "../GFS_fix/global_soilmgldas.t1534.3072.1536.grb",
       FNMSKH   = "../GFS_fix/seaice_newland.grb",
       FNTSFA   = "",
       FNACNA   = "",
       FNSNOA   = "",
       FNVMNC   = "../GFS_fix/global_shdmin.0.144x0.144.grb",
       FNVMXC   = "../GFS_fix/global_shdmax.0.144x0.144.grb",
       FNSLPC   = "../GFS_fix/global_slope.1x1.grb",
       FNABSC   = "../GFS_fix/global_mxsnoalb.uariz.t1534.3072.1536.rg.grb",
       LDEBUG   =.false.,
       FSMCL(2) = 99999
       FSMCL(3) = 99999
       FSMCL(4) = 99999
       FTSFS    = 90
       FAISS    = 99999
       FSNOL    = 99999
       FSICL    = 99999
       FTSFL    = 99999,
       FAISL    = 99999,
       FVETL    = 99999,
       FSOTL    = 99999,
       FvmnL    = 99999,
       FvmxL    = 99999,
       FSLPL    = 99999,
       FABSL    = 99999,
       FSNOS    = 99999,
       FSICS    = 99999,
/

