Hi, I am matlab user. I would like to extract Sentinel 5p CO L2 product using HARP. I have been using with GEE L3 product but to make comparison with other dataset, co-location has to be performed. Can anyone tell me how i do it using matlab ?
If you want to use L3 data then it is probably easiest to use the pre-generated L3 data that are made available via the S5P-PAL Data Portal. These harp files can then be read directly into matlab using the harp_import routine. And with the OPERATIONS argument you can then provide a list of harp operations such as lat/lon filters (e.g. latitude>=52;latitude<=53;longitude>=4;longitude<=5) to only get the data around a certain location.
Thank for the response and for pointing out the L3 data. I inspected the contents of the L3 data and I found the very few number of variables. I wanted to get the a priori files, averaging kernel,… all the variables that could help to reconstruct the data for comparison with other datasets. But L2 has all of the need variables ? what can i do ?
Then you would indeed have to use the L2 data. And converting to a gridded L3 is then perhaps not the right approach.
What other dataset do you want to compare to? Is that global covering data, such as a model or satellite data, or ground based data, covering just a single ground position.
Thank you Sander, I can see how helpful you are !
I want to compare TROPOMI with EAC4 reanalysis, MOPITT, IASI … all are global coverage. Can you give a demo ?
This would be a bit more involved, especially if you would want to apply averaging kernels (which HARP is not able to do with global grids). This is unfortunately not something I can capture in a short reply on the forum. Maybe someone else on the forum can point you to some existing code in how to perform such an exercise?