Hi!
I am trying to create an ICON file base on two ICON file with netCDF4 package in python. then I checked new ICON file in a test run, But there is an ERROR :
“”""GR_EM_SYM_DATE_0 | F
Error opening file at path-name:
netCDF error number -51 processing file “INIT_CONC_1”
NetCDF: Unknown file format
NetCDF: Unknown file format
/home/wrf-cmaq/CMAQ/data/Global_Tehran/icon/ICON_v532_Tehran_6km
*** ERROR ABORT in subroutine gridded_files_se on PE 000
Open failure for INIT_CONC_1
PM3EXIT: date&time specified as 0
Date&time specified as 0"""""
As Carlie notes above, the error you are seeing is likely from your python code writing files using a form of netCDF that is incompatible with the version compiled with your version of IOAPI.
But even if you fix that issue, you will likely run into other problems. IOAPI is an interface, and you should use that interface to create the files. If you want to combine species from different existing ICON files (assuming they have the same time stamp and are on the same domain), then you can use EPA’s combine program, or one of the IOAPI tools, perhaps m3combo.