# flist_* can hold lists of files, separated by commas
flist_sst=\'tosbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-3_gn_187001-201706.nc\'
flist_sic=\'siconcbcs_input4MIPs_SSTsAndSeaIce_CMIP_PCMDI-AMIP-1-1-3_gn_187001-201706.nc\'
#to generate VHR amip files for Edu...
#flist_sst=\'amip_EC-Earth3P-VHR_hist-1950_r1i1p1f1_19950101-20141231_sst_2010.nc\'
#flist_sic=\'amip_EC-Earth3P-VHR_hist-1950_r1i1p1f1_19950101-20141231_sic_2010.nc\'

cat << EOF
!-----------------------------------------------------------------------
&NAMAMIP
!-----------------------------------------------------------------------
    RunLengthSec = ${leg_length_sec}
    TimeStepSec  = ${cpl_freq_amip_sec}
    StartYear    = ${leg_start_date_yyyymmdd:0:4}
    StartMonth   = ${leg_start_date_yyyymmdd:4:2}
    StartDay     = ${leg_start_date_yyyymmdd:6:2}
    FixYear      = ${ifs_cmip_fixyear}
    FileListSST  = ${flist_sst}
    FileListSIC  = ${flist_sic}
    LDebug       = false
    LInterpolate = ${amip_interpolate}
!-----------------------------------------------------------------------
/
EOF
