I’m trying to run MCIP for Dec. 2017 to create Met files required by CMAQ’s onroad sectors.
The MCIP finishes with no error and generates these files in $OutDir: GRIDBDY2D_1712.nc GRIDCRO2D_1712.nc GRIDDESC GRIDDOT2D_1712.nc LUFRAC_CRO_1712.nc METBDY3D_1712.nc METCRO2D_1712.nc METCRO3D_1712.nc METDOT3D_1712.nc namelist.mcip SOI_CRO_1712.nc
However, after running onroad RPD sector in SMOKE, I receive this error:
MET_CRO_2D :/home/sen/cmaq/CMAQ_REPO/data/mcip/2017_12CONUS1/METCRO2D_171230
>>--->> WARNING in subroutine
File not available.
Could not open file "MET_CRO_2D".
*** ERROR ABORT in subroutine OPENMRGIN
Could not open file "MET_CRO_2D".
It seems SMOKE is looking for daily MET_CRO_2D files, while MCIP output file is only one file for the whole month.
Does anyone have any idea what I’m doing wrong? Also, my “run.mcip.csh” is attached.
Please let me know if you need more details.
The custom is to run mcip with start date and end date covering one day so that the output files do not get too large. The APPL environment variable is used in the naming of the MCIP output files.
I don’t think there should be an issue with having all of the output in the *1712.nc file, but this may be tricky if SMOKE also needs meteorology from the month prior or month after to the 201712 month.
Thanks for the reply.
Yes, I’m running for 12US1 grid. So, I’ll check CMAS data Warehouse for 2017 met data, while keeping an eye here for any suggestions.
Can you modify the SMOKE script to use
setenv MET_CRO_2D /home/sen/cmaq/CMAQ_REPO/data/mcip/2017_12CONUS1/METCRO2D_1712
rather than
setenv MET_CRO_2D /home/sen/cmaq/CMAQ_REPO/data/mcip/2017_12CONUS1/METCRO2D_171230
I tried modifying MET_CRO_2D environment parameters in “smk_or_monthly_MOVES_emf.csh” and “smk_or_annual_forQA_MOVES_emf.csh” (I’m using NEI 2017 platform). I removed $locday from MET_CRO_2D path:
from:
> if ($days_this_run > 1) then
> if (! -e ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO2D_$locyr2$locmon$locday) then
> echo "ERROR: Multi-day METCRO2D file not found. Create multi-day METCRO2D files and store in $MET_ROOT/../[]_${DAYS_PER_RUN}day/ directory."
> set exitstat = 1
> else
> setenv MET_CRO_2D ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO2D_$locyr2$locmon$locday
> setenv MET_CRO_3D ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO3D_$locyr2$locmon$locday
> echo TESTING: $MET_CRO_2D
> endif
> endif
to:
> if ($days_this_run > 1) then
> if (! -e ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO2D_$locyr2$locmon) then
> echo "ERROR: Multi-day METCRO2D file not found. Create multi-day METCRO2D files and store in $MET_ROOT/../[]_${DAYS_PER_RUN}day/ directory."
> set exitstat = 1
> else
> setenv MET_CRO_2D ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO2D_$locyr2$locmon
> setenv MET_CRO_3D ${MET_ROOT}_${DAYS_PER_RUN}day/METCRO3D_$locyr2$locmon
> echo TESTING: $MET_CRO_2D
> endif
> endif
However, I’m still getting the same error. I guess there should be another script that needs to be modified along with those I mentioned.
Just to update this topic, I couldn’t find any way out of the error. So, I wrote a shell script to repeat running daily MCIP for all days of the month. It worked.