Hi @eyth.alison ,
Please see the terminal output from csh -xv script command. I am using a modifed emissions file (onetime script is working)
% csh -xv Annual_ptnonipm_daily_12US1_2023gf_16j_TRIAL.csh
limit stacksize unlimited
limit stacksize unlimited
setenv SECTOR “ptnonipm”
setenv SECTOR ptnonipm
if ( $?SLURM_SUBMIT_DIR ) then
if ( 0 ) then
source …/directory_definitions_12US2.csh
source …/directory_definitions_12US2.csh
setenv INSTALL_DIR “/Air/emismod/2016/v3”
setenv INSTALL_DIR /Air/emismod/2016/v3
setenv MET_ROOT “/work/EMIS/met/MCIP_v4.3/WRFv3.8_12US2_2016_35aL”
setenv MET_ROOT /work/EMIS/met/MCIP_v4.3/WRFv3.8_12US2_2016_35aL
setenv MET_ROOT_3D $MET_ROOT
setenv MET_ROOT_3D /work/EMIS/met/MCIP_v4.3/WRFv3.8_12US2_2016_35aL
if ( $SECTOR == ptfire3D || $SECTOR == ptfire_othna3D || $SECTOR == ptagfire3D ) setenv MET_ROOT $MET_ROOT_3D
if ( ptnonipm == ptfire3D || ptnonipm == ptfire_othna3D || ptnonipm == ptagfire3D ) setenv MET_ROOT /work/EMIS/met/MCIP_v4.3/WRFv3.8_12US2_2016_35aL
setenv CASE “2023gf_16j”
setenv CASE 2023gf_16j
setenv REGION “Continental US 12km small”
setenv REGION Continental US 12km small
setenv REGION_ABBREV “12US2”
setenv REGION_ABBREV 12US2
setenv REGION_IOAPI_GRIDNAME “12US2”
setenv REGION_IOAPI_GRIDNAME 12US2
setenv EMF_SPC “cmaq_cb6ae7”
setenv EMF_SPC cmaq_cb6ae7
setenv SMOKE_LOCATION /home/SMOKE/subsys/smoke/Linux2_x86_64pg
setenv SMOKE_LOCATION /home/SMOKE/subsys/smoke/Linux2_x86_64pg
setenv IOAPI_LOCATION /home/IOAPI/Linux2_x86_64pg
setenv IOAPI_LOCATION /home/IOAPI/Linux2_x86_64pg
setenv MODEL_LABEL “SMOKE4.9”
setenv MODEL_LABEL SMOKE4.9
setenv PROJECT “$CASE”
setenv PROJECT 2023gf_16j
setenv OUT_ROOT “$INSTALL_DIR”
setenv OUT_ROOT /Air/emismod/2016/v3
setenv PROJECT_ROOT “$INSTALL_DIR”
setenv PROJECT_ROOT /Air/emismod/2016/v3
setenv IMD_ROOT “$PROJECT_ROOT/$CASE/intermed”
setenv IMD_ROOT /Air/emismod/2016/v3/2023gf_16j/intermed
setenv DAT_ROOT $PROJECT_ROOT
setenv DAT_ROOT /Air/emismod/2016/v3
setenv SMK_HOME “$INSTALL_DIR”
setenv SMK_HOME /Air/emismod/2016/v3
setenv CASEINPUTS “$INSTALL_DIR/2023emissions/$CASE/inputs”
setenv CASEINPUTS /Air/emismod/2016/v3/2023emissions/2023gf_16j/inputs
setenv GE_DAT “$INSTALL_DIR/ancillary_data/ge_dat”
setenv GE_DAT /Air/emismod/2016/v3/ancillary_data/ge_dat
setenv CASESCRIPTS “$PROJECT_ROOT/$CASE/scripts”
setenv CASESCRIPTS /Air/emismod/2016/v3/2023gf_16j/scripts
setenv RUNSCRIPTS “$INSTALL_DIR/smoke4.9/scripts”
setenv RUNSCRIPTS /Air/emismod/2016/v3/smoke4.9/scripts
setenv RUNSET “$CASESCRIPTS/run_settings.txt”
setenv RUNSET /Air/emismod/2016/v3/2023gf_16j/scripts/run_settings.txt
setenv ASSIGNS_FILE “$INSTALL_DIR/smoke4.9/assigns/ASSIGNS.emf”
setenv ASSIGNS_FILE /Air/emismod/2016/v3/smoke4.9/assigns/ASSIGNS.emf
setenv EMF_CLIENT false
setenv EMF_CLIENT false
setenv EMF_AQM “CMAQ v5.2”
setenv EMF_AQM CMAQ v5.2
setenv EMF_JOBNAME “Annual_area”
setenv EMF_JOBNAME Annual_area
setenv EMF_SCRIPTDIR “{CASESCRIPTS}"
setenv EMF_SCRIPTDIR /Air/emismod/2016/v3/2023gf_16j/scripts
setenv EMF_SCRIPTNAME "{CASESCRIPTS}/{EMF_JOBNAME}.csh"
setenv EMF_SCRIPTNAME /Air/emismod/2016/v3/2023gf_16j/scripts/Annual_area.csh
setenv EMF_LOGNAME "{CASESCRIPTS}/logs/$EMF_SCRIPTNAME.log”
setenv EMF_LOGNAME /Air/emismod/2016/v3/2023gf_16j/scripts/logs//Air/emismod/2016/v3/2023gf_16j/scripts/Annual_area.csh.log
setenv EMF_JOBKEY “28310_1312400444602”
setenv EMF_JOBKEY 28310_1312400444602
setenv EMF_QUEUE_OPTIONS_C “–mem-per-cpu=20g -n 1 -p compute -A emis --gid=emis-hpc -t 168:00:00”
setenv EMF_QUEUE_OPTIONS_C --mem-per-cpu=20g -n 1 -p compute -A emis --gid=emis-hpc -t 168:00:00
setenv EMF_LOGGERPYTHONDIR “$EMF_SCRIPTDIR/case_logs_python”
setenv EMF_LOGGERPYTHONDIR /Air/emismod/2016/2023gf_16j/scripts/case_logs_python
setenv EMF_JOBID “1”
setenv EMF_JOBID 1
setenv RUN_MONTHS “1 2 3 4 5 6 7 8 9 10 11 12”
setenv RUN_MONTHS 1 2 3 4 5 6 7 8 9 10 11 12
setenv SPINUP_DURATION “0”
setenv SPINUP_DURATION 0
setenv SPINUP_MONTH_END “Y”
setenv SPINUP_MONTH_END Y
setenv BASE_YEAR “2016”
setenv BASE_YEAR 2016
setenv EPI_STDATE_TIME “{BASE_YEAR}-01-01 00:00:00.0"
setenv EPI_STDATE_TIME 2016-01-01 00:00:00.0
setenv EPI_ENDATE_TIME "{BASE_YEAR}-12-31 23:59:00.0”
setenv EPI_ENDATE_TIME 2016-12-31 23:59:00.0
setenv EFTABLES “{CASEINPUTS}/onroad/eftables/rateperdistance_smoke_aq_cb6_saprc_20210217_2016v3-2023-noim-20220519_47037_1.csv"
setenv EFTABLES /Air/emismod/2016/v3/2023emissions/2023gf_16j/inputs/onroad/eftables/rateperdistance_smoke_aq_cb6_saprc_20210217_2016v3-2023-noim-20220519_47037_1.csv
setenv ATPRO_HOURLY_NCF "{GE_DAT}/temporal/Gentpro_TPRO_HOUR_HOURLY_BASH_NH3.agNH3_bash_16j_12US1_smk37_newFIPS.ncf”
setenv ATPRO_HOURLY_NCF /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/Gentpro_TPRO_HOUR_HOURLY_BASH_NH3.agNH3_bash_16j_12US1_smk37_newFIPS.ncf
setenv MTPRO_HOURLY “{GE_DAT}/temporal/mtpro_hourly_MOVES_2014v2_25feb2021_nf_v3"
setenv MTPRO_HOURLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/mtpro_hourly_MOVES_2014v2_25feb2021_nf_v3
setenv MTPRO_WEEKLY "{GE_DAT}/temporal/mtpro_weekly_MOVES_2014v2_25feb2021_nf_v3”
setenv MTPRO_WEEKLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/mtpro_weekly_MOVES_2014v2_25feb2021_nf_v3
setenv PTPRO_HOURLY “{GE_DAT}/temporal/amptpro_general_2011platform_tpro_hourly_6nov2014_18apr2022_v11"
setenv PTPRO_HOURLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_hourly_6nov2014_18apr2022_v11
setenv PTPRO_MONTHLY "{GE_DAT}/temporal/amptpro_general_2011platform_tpro_monthly_6nov2014_12oct2021_v9”
setenv PTPRO_MONTHLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_monthly_6nov2014_12oct2021_v9
setenv SOURCE_GROUPS “{GE_DAT}/sa/smkmerge_groups_2011ed_ussa_US_08sep2021_v2"
setenv SOURCE_GROUPS /Air/emismod/2016/v3/ancillary_data/ge_dat/sa/smkmerge_groups_2011ed_ussa_US_08sep2021_v2
setenv PTPRO_WEEKLY "{GE_DAT}/temporal/amptpro_general_2011platform_tpro_weekly_6nov2014_09sep2016_v2”
setenv PTPRO_WEEKLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_weekly_6nov2014_09sep2016_v2
setenv ATPRO_HOURLY “{GE_DAT}/temporal/amptpro_general_2011platform_tpro_hourly_6nov2014_18apr2022_v11"
setenv ATPRO_HOURLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_hourly_6nov2014_18apr2022_v11
setenv ATPRO_WEEKLY "{GE_DAT}/temporal/amptpro_general_2011platform_tpro_weekly_6nov2014_09sep2016_v2”
setenv ATPRO_WEEKLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_weekly_6nov2014_09sep2016_v2
setenv ATPRO_MONTHLY “{GE_DAT}/temporal/amptpro_general_2011platform_tpro_monthly_6nov2014_12oct2021_v9"
setenv ATPRO_MONTHLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptpro_general_2011platform_tpro_monthly_6nov2014_12oct2021_v9
setenv MTPRO_MONTHLY "{GE_DAT}/temporal/mtpro_monthly_MOVES_03aug2016_v1”
setenv MTPRO_MONTHLY /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/mtpro_monthly_MOVES_03aug2016_v1
setenv SRGPRO “{GE_DAT}/surrogates/CONUS12_2017NEI_04mar2021/USA_100_NOFILL.txt"
setenv SRGPRO /Air/emismod/2016/v3/ancillary_data/ge_dat/surrogates/CONUS12_2017NEI_04mar2021/USA_100_NOFILL.txt
setenv MRGDATE_FILES "{INSTALL_DIR}/smoke4.9/scripts/smk_dates/2016/smk_merge_dates_201512.txt”
setenv MRGDATE_FILES /Air/emismod/2016/v3/smoke4.9/scripts/smk_dates/2016/smk_merge_dates_201512.txt
setenv NAICSDESC “{GE_DAT}/smkreport/naicsdesc_02jan2008_v0.txt"
setenv NAICSDESC /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/naicsdesc_02jan2008_v0.txt
setenv MTREF "{GE_DAT}/temporal/mtref_onroad_MOVES3_2017NEI_08nov2021_v2”
setenv MTREF /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/mtref_onroad_MOVES3_2017NEI_08nov2021_v2
setenv PTREF “{GE_DAT}/temporal/amptref_general_2017platform_26aug2022_nf_v10"
setenv PTREF /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptref_general_2017platform_26aug2022_nf_v10
setenv AGREF "{GE_DAT}/gridding/agref_us_2017platform_02aug2022_nf_v14.txt”
setenv AGREF /Air/emismod/2016/v3/ancillary_data/ge_dat/gridding/agref_us_2017platform_02aug2022_nf_v14.txt
setenv PSTK “{GE_DAT}/point/pstk_13nov2018_v1.txt"
setenv PSTK /Air/emismod/2016/v3/ancillary_data/ge_dat/point/pstk_13nov2018_v1.txt
setenv ORISDESC "{GE_DAT}/smkreport/orisdesc_04dec2006_v0.txt”
setenv ORISDESC /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/orisdesc_04dec2006_v0.txt
setenv PELVCONFIG “{GE_DAT}/point/pelvconfig_elevate_everything_17apr2020_v0.txt"
setenv PELVCONFIG /Air/emismod/2016/v3/ancillary_data/ge_dat/point/pelvconfig_elevate_everything_17apr2020_v0.txt
setenv GSCNV "{GE_DAT}/speciation/gscnv_Create_CB6R3AE7_Spec_5_2_full_06may2022_v1.txt”
setenv GSCNV /Air/emismod/2016/v3/ancillary_data/ge_dat/speciation/gscnv_Create_CB6R3AE7_Spec_5_2_full_06may2022_v1.txt
setenv HOLIDAYS “{GE_DAT}/temporal/holidays_13feb2017_v1.txt"
setenv HOLIDAYS /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/holidays_13feb2017_v1.txt
setenv ARTOPNT "{GE_DAT}/artopnt_2002detroit_20aug2019_v2.txt”
setenv ARTOPNT /Air/emismod/2016/v3/ancillary_data/ge_dat/artopnt_2002detroit_20aug2019_v2.txt
setenv SRGDESC “{GE_DAT}/gridding/srgdesc_CONUS12_2017NEI_17dec2019_13may2021_v3.txt"
setenv SRGDESC /Air/emismod/2016/v3/ancillary_data/ge_dat/gridding/srgdesc_CONUS12_2017NEI_17dec2019_13may2021_v3.txt
setenv ATREF "{GE_DAT}/temporal/amptref_general_2017platform_18apr2022_v7”
setenv ATREF /Air/emismod/2016/v3/ancillary_data/ge_dat/temporal/amptref_general_2017platform_18apr2022_v7
setenv SCCDESC “${GE_DAT}/smkreport/sccdesc_2014platform_13dec2019_v3.txt”
setenv SCCDESC /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/sccdesc_2014platform_13dec2019_v3.txt
setenv COSTCY “{GE_DAT}/costcy_for_2017platform_20aug2020_v1.txt"
setenv COSTCY /Air/emismod/2016/v3/ancillary_data/ge_dat/costcy_for_2017platform_20aug2020_v1.txt
setenv GRIDDESC "{GE_DAT}/gridding/griddesc_lambertonly_18jan2019_v7.txt”
setenv GRIDDESC /Air/emismod/2016/v3/ancillary_data/ge_dat/gridding/griddesc_lambertonly_18jan2019_v7.txt
setenv REPCONFIG_GRID “{GE_DAT}/smkreport/repconfig/repconfig_point_invgrid_2011platform_11aug2014_v0.txt"
setenv REPCONFIG_GRID /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/repconfig/repconfig_point_invgrid_2011platform_11aug2014_v0.txt
setenv EMISINV_A "{CASEINPUTS}/ptnonipm/FLATFILE.csv”
setenv EMISINV_A /Air/emismod/2016/v3/2023emissions/2023gf_16j/inputs/ptnonipm/FLATFILE.csv
setenv REPCONFIG_TEMP “{GE_DAT}/smkreport/repconfig/repconfig_point_temporal_2016beta_07feb2019_v0.txt"
setenv REPCONFIG_TEMP /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/repconfig/repconfig_point_temporal_2016beta_07feb2019_v0.txt
setenv REPCONFIG_INV "{GE_DAT}/smkreport/repconfig/repconfig_point_inv_2016beta_14june2021_nf_v1.txt”
setenv REPCONFIG_INV /Air/emismod/2016/v3/ancillary_data/ge_dat/smkreport/repconfig/repconfig_point_inv_2016beta_14june2021_nf_v1.txt
setenv INVTABLE “{GE_DAT}/invtable_2014platform_nointegrate_01may2019_v2.txt"
setenv INVTABLE /Air/emismod/2016/v3/ancillary_data/ge_dat/invtable_2014platform_nointegrate_01may2019_v2.txt
setenv GSREFTMP_A "{GE_DAT}/speciation/gsref_ptnonipm_cmaq_cb6ae7_2023gf_16j_nf.txt”
setenv GSREFTMP_A /Air/emismod/2016/v3/ancillary_data/ge_dat/speciation/gsref_ptnonipm_cmaq_cb6ae7_2023gf_16j_nf.txt
setenv GSPROTMP_A “${GE_DAT}/speciation/gspro_ptnonipm_cmaq_cb6ae7_2023gf_16j_08nov2021.txt”
setenv GSPROTMP_A /Air/emismod/2016/v3/ancillary_data/ge_dat/speciation/gspro_ptnonipm_cmaq_cb6ae7_2023gf_16j_08nov2021.txt
setenv SPC “$EMF_SPC”
setenv SPC cmaq_cb6ae7
setenv PLATFORM “v7.5”
setenv PLATFORM v7.5
setenv DEFAULT_CONV_FAC_ERROR “Y”
setenv DEFAULT_CONV_FAC_ERROR Y
setenv WRF_VERSION “3”
setenv WRF_VERSION 3
setenv MTMP_OUTPUT_YN “N”
setenv MTMP_OUTPUT_YN N
setenv NO_SPC_ZERO_EMIS “Y”
setenv NO_SPC_ZERO_EMIS Y
setenv RUN_PYTHON_ANNUAL “Y”
setenv RUN_PYTHON_ANNUAL Y
setenv INLINE_MODE “only”
setenv INLINE_MODE only
setenv SMK_PING_METHOD “0”
setenv SMK_PING_METHOD 0
setenv SMK_SPECELEV_YN “Y”
setenv SMK_SPECELEV_YN Y
setenv RAW_DUP_CHECK “N”
setenv RAW_DUP_CHECK N
setenv L_TYPE “mwdss”
setenv L_TYPE mwdss
setenv RUN_HOLIDAYS “Y”
setenv RUN_HOLIDAYS Y
setenv FULLSCC_ONLY “Y”
setenv FULLSCC_ONLY Y
setenv SMK_MAXERROR “10000”
setenv SMK_MAXERROR 10000
setenv SMK_MAXWARNING “10”
setenv SMK_MAXWARNING 10
setenv SMK_AVEDAY_YN “N”
setenv SMK_AVEDAY_YN N
setenv REPORT_DEFAULTS “Y”
setenv REPORT_DEFAULTS Y
setenv SMK_DEFAULT_SRGID “100”
setenv SMK_DEFAULT_SRGID 100
setenv SMKINVEN_FORMULA “PMC=PM10-PM2_5”
setenv SMKINVEN_FORMULA PMC=PM10-PM2_5
setenv FILL_ANNUAL “N”
setenv FILL_ANNUAL N
setenv MRG_MARKETPEN_YN “N”
setenv MRG_MARKETPEN_YN N
setenv WEST_HSPHERE “Y”
setenv WEST_HSPHERE Y
setenv MRG_REPCNY_YN “Y”
setenv MRG_REPCNY_YN Y
setenv OUTZONE “0”
setenv OUTZONE 0
setenv RENORM_TPROF “Y”
setenv RENORM_TPROF Y
setenv POLLUTANT_CONVERSION “Y”
setenv POLLUTANT_CONVERSION Y
setenv IOAPI_ISPH “20”
setenv IOAPI_ISPH 20
setenv MRG_REPSTA_YN “N”
setenv MRG_REPSTA_YN N
setenv SMKMERGE_CUSTOM_OUTPUT “Y”
setenv SMKMERGE_CUSTOM_OUTPUT Y
setenv OUTPUT_FORMAT “$EMF_AQM”
setenv OUTPUT_FORMAT CMAQ v5.2
setenv SMK_SRCGROUP_OUTPUT_YN “N”
setenv SMK_SRCGROUP_OUTPUT_YN N
setenv MRG_BYDAY “P”
setenv MRG_BYDAY P
setenv M_TYPE “mwdss”
setenv M_TYPE mwdss
source $RUNSCRIPTS/emf/smk_pt_annual_byday_emf.csh $REGION_ABBREV $REGION_IOAPI_GRIDNAME -m “$RUN_MONTHS” $SPINUP_DURATION byday
source /Air/emismod/2016/v3/smoke4.9/scripts/emf/smk_pt_annual_byday_emf.csh 12US2_WC 12US2 -m 1 2 3 4 5 6 7 8 9 10 11 12 0 byday
source: Too many arguments.