Airwhf / MEIAT-CMAQ

MEIAT-CMAQ是一个模块化的CMAQ排放清单分配工具。
29 stars 8 forks source link

can't find a csv file in output folder. #10

Closed HJun16 closed 2 months ago

HJun16 commented 5 months ago

I have tried run your script, but get a error: [Errno 2] No such file or directory: './output/source/source-MEIC-transportation-2017-07.csv'

This might occur Line 612-613 of src.py. I can't find this civ file.

    source_file = f"./output/source/source-{label}-{sector}-{inventory_year}-{mm}.csv"
    data = pd.read_csv(source_file)
Airwhf commented 5 months ago

Hi,

Thanks for the writing. Can you show the namelist.input file.

If you do not set the create_source as 1, there is no source file output.

So you can try to reset the namelist.input as follows, and remove the output directory and try again.

&control
    create_grid = 1,
    grid_info = 1,
    create_factor = 1,
    coarse_emission = 1,
    create_source = 1,
 /

Cheers, Haofan