You are trying to adapt a script that was designed to be used for merged emissions and are applying it to premerged emissions which have a slightly different file name convention.
What should happen is that the script loops through each day, and for days with emissions (which won’t be every day b/c of representative day processing), it should create a 12US2 file, but for days without emissions, it should simply display the would-be 12US1 filename (which doesn’t exist) and then move on to the next day without doing anything. What happened in this case is it looped through all of the days and did not find any 12US1 emissions with the expected filenames, due to the different filename convention between premerged and merged emissions.
Hi @eyth.alison
Thank you so much. It works. But one question:
I can see a file size for 36US3 is 141M, and 12US1 is 760M (meaning smaller grid size resulting bigger file size, am I right?). If so , should 12US2 file be larger than 12US1?. My output showing file size 539M for 12US2.