Creating L3 grids for MIPAS data

Hi All.

I am using the HARP v1.11 command line which is included in anaconda3 just now. I want to get daily or monthly average level 3 data for the MIPAS/ENVISAT device. There is my code below:

harpmerge -ap 'bin(); squash(time, (latitude,longitude))' -a 'latitude > 45 [degree_north]; latitude < 75 [degree_north]; bin_spatial(48,45,0.5,96,40,0.5); derive(latitude {latitude}); derive(longitude {longitude})' MIPAS_2PS_CH4_____20020731T*.nc out.nc

Result:
ERROR: MIPAS_2PS_CH4_____20020731T002938_20020731T020934_02175_01.nc: unsupported product

What’s wrong with my code?

It works well for S5P.

Where can I find examples of using HARP tools for other satellite devices?

Regards,
zion0210

It seems that last year they released MIPAS L2 data with a new netcdf format. Although this can be read with the CODA software, it is not yet supported with HARP. We will put it on our list of things to implement.

Hi!

So, now I have two versions of the data - 7.03 and 8.22. 8.22 is netcdf data. I got v7.03 data and run HARP. But I got the following error:
ERROR: dimension 3 (of type 'vertical') of variable 'HNO3_number_density_weight' is incompatible with product; variable = 18, product = 17 (/home/jenkins/workspace/CondaPackages/conda3-linux-64/miniconda3/conda-bld/harp_1589906949770/work/libharp/harp-product.c:1300)
How can I fix this problem?

Maybe you can suggest me another software to create L3 data.

Regards,
zion0210

What command are you running and using which product(s) exactly?
I would need to be able to replicate what you are doing if you want assistance.

Hi.

There is my code below:
harpmerge -ap 'bin(); squash(time, (latitude,longitude))' -a 'latitude > 45 [degree_north]; latitude < 75 [degree_north]; bin_spatial(48,45,0.5,96,40,0.5); derive(latitude {latitude}); derive(longitude {longitude})' MIP_NL__2PWDSI20020725_*.N1 MIP_NL__2P.nc
Result:
ERROR: dimension 3 (of type ‘vertical’) of variable 'HNO3_number_density_weight' is incompatible with product; variable = 18, product = 17 (/home/jenkins/workspace/CondaPackages/conda3-linux-64/miniconda3/conda-bld/harp_1589906949770/work/libharp/harp-product.c:1300)

Regards,
zion0210

You are probably using an older HARP version. I don’t get that error myself.
Make sure you install harp using the conda-forge channel: conda install -c conda-forge harp.

Hi.

I updated conda and installed HARP from conda-forge repository again.
I had HARP v1.11 before, after update v1.13.
It worked for my issue.
I hope that in the future HARP will support MIPAS netCDF data.

Regards,
zion0210