Atmospheric Toolbox

How to convert L2 TROPOMI data to L3 with coordinate?

when I use the command to convert a region data to grid L3 data,the outfile netcdf don’t have the longitude and lontitude variable.

harpconvert -a “bin_spatial(301,30.0,0.01,251 ,116,0.01);keep(NO2_column_number_density,tropospheric_NO2_column_number_density, stratospheric_NO2_column_number_density,absorbing_aerosol_index,cloud_fraction)”
I had looked the harp document ,but don’t find some useful operation to handle this, So I want to ask,how to write a command ,that can take coordinate as a variable in the netcdf4 file?

If you don’t include the latitude and longitude variables in your keep() operation then, of course, they will not be included in the output.
If you want to understand what is going on, then first remove the whole keep() operation. It will show you all the variables that are available.

Note that there are also derivations that you can perform (to derive latitude from latitude_bounds for instance). You might want to read through other topics on this forum. There are already many posts regarding the use of bin_spatial.

Thanks! I understand.Thanks