Collocating between EAC4 and Sentinel 5p CO product

There is some basic support for reading CAMS model data in HARP, but there is no direct support for EAC4. The general approach to bringing external data into HARP format when this is not already supported in the HARP library is to create your own converter. Some sample code for this for satellite data is provided in Add additional support for more product files by producing similar product files with already-supported product files - #2 by sander.niemeijer, but a similar approach can be used to turn gridded data into HARP format.

However, the important point is that harpcollocate was written with ground based data in mind. It is more tailored towards comparing satellite data vs. ground based data and finding the collocation pairs between both datasets that match in space and time (i.e. overpasses).

When comparing global data such as model vs. satellite, satellite vs. satellite, or model vs. model, you generally won’t be using a measurement by measurement matchup.
One approach is to create regular grids at the same resolution where the data matches in time and space. If a quantity is long-lived and doesn’t move that much you can often simply compare daily grids (e.g. the daily L3 from satellite vs. a daily average of the model data). And you don’t need any harp collocation for this. But when you have to deal with diurnal variations you will have to (for polar orbiting satellites) align each satellite L3 grid cell with a model grid cell of the same ‘local time’, which means that you have to slice your different model steps during the day based on the satellite local overpass time. But that is currently not a type of operation that is supported in the harp toolset.

Another approach is to regrid your L3 data to the grid of the satellite. See Using HARP and CAMS AQ forecast profile as an apriori to derive TROPOMI NO2 tropospheric column - #2 by sander.niemeijer for some information on that.