# HARP

**URL:** https://forum.atmospherictoolbox.org/c/harp/6.md?page=2

[Latest](https://forum.atmospherictoolbox.org/latest.md) · [Categories](https://forum.atmospherictoolbox.org/categories.md) · [Tags](https://forum.atmospherictoolbox.org/tags.md)

**Page:** 3

---

## [Truncated file error with HARP for 2022 RPRO L2\_\_NO2 Files for 2018-2019](https://forum.atmospherictoolbox.org/t/truncated-file-error-with-harp-for-2022-rpro-l2-no2-files-for-2018-2019/704)

<div class="topic-metadata">

**Author:** [@Amanda.murray19](https://forum.atmospherictoolbox.org/u/Amanda.murray19)\
**Replies:** 3\
**Last updated:** [October 30, 2023, 3:02pm UTC](https://forum.atmospherictoolbox.org/t/truncated-file-error-with-harp-for-2022-rpro-l2-no2-files-for-2018-2019/704 "2023-10-30T15:02:46Z")

</div>

I keep getting a truncated file error when trying to process certain files from 2018 to 2019 using this code. The “week relative paths” is the paths to the s3 bucket for all the files in a given week. The code works if I…

---

## [SCIAMACHY CH4 L2 to L3 with HARP](https://forum.atmospherictoolbox.org/t/sciamachy-ch4-l2-to-l3-with-harp/272)

<div class="topic-metadata">

**Author:** [@corisanucci](https://forum.atmospherictoolbox.org/u/corisanucci)\
**Replies:** 12\
**Last updated:** [February 23, 2021, 8:16pm UTC](https://forum.atmospherictoolbox.org/t/sciamachy-ch4-l2-to-l3-with-harp/272 "2021-02-23T20:16:10Z")

</div>

Hi everyone! I’m working with HARP in R, currently with SCIAMACHY CH4 data. I’m fairly new so it’s having a bit of a hard time fully understanding what I’m doing at HARP. So far I have managed to obtain the CH4 data fro…

---

## [S5P PAL AOT 2D validity flag](https://forum.atmospherictoolbox.org/t/s5p-pal-aot-2d-validity-flag/701)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 2\
**Last updated:** [October 13, 2023, 1:56pm UTC](https://forum.atmospherictoolbox.org/t/s5p-pal-aot-2d-validity-flag/701 "2023-10-13T13:56:12Z")

</div>

Dear Sander, As you know we are working with the S5P\_PAL\_\_L2\_\_AER\_OT data files. As the AOT is reported on five wavelengths, the validity parameter also has a second dimension, spectral, of 5. Are you planning to intro…

---

## [Problem with harp 1.20 and the S5P\_PAL\_\_L2\_\_AER\_OT via spyder/python ingestion](https://forum.atmospherictoolbox.org/t/problem-with-harp-1-20-and-the-s5p-pal-l2-aer-ot-via-spyder-python-ingestion/699)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 8\
**Last updated:** [October 6, 2023, 10:44am UTC](https://forum.atmospherictoolbox.org/t/problem-with-harp-1-20-and-the-s5p-pal-l2-aer-ot-via-spyder-python-ingestion/699 "2023-10-06T10:44:11Z")

</div>

Dear Sander, We are trying to ingest the S5P\_PAL\_\_L2\_\_AER\_OT product using harp 1.20, running via Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) \[GCC 12.3.0\] IPython 8.16.1 – An enhanced Intera…

---

## [OMI\_L3\_OMNO2d unsupported product?](https://forum.atmospherictoolbox.org/t/omi-l3-omno2d-unsupported-product/697)

<div class="topic-metadata">

**Author:** [@Talvalde](https://forum.atmospherictoolbox.org/u/Talvalde)\
**Replies:** 5\
**Last updated:** [October 3, 2023, 11:53am UTC](https://forum.atmospherictoolbox.org/t/omi-l3-omno2d-unsupported-product/697 "2023-10-03T11:53:07Z")

</div>

Hi! I’ve been having troubles importing OMI\_MINDS\_NO2d L3 datasets with HARP. Judging from the documentation it should be supported. Do you know what might be the issue? Data is downloaded from NASA IT Security Warning…

---

## [Is 'weight' variable used in bin() operation?](https://forum.atmospherictoolbox.org/t/is-weight-variable-used-in-bin-operation/686)

<div class="topic-metadata">

**Author:** [@thomasd](https://forum.atmospherictoolbox.org/u/thomasd)\
**Replies:** 1\
**Last updated:** [September 15, 2023, 8:37am UTC](https://forum.atmospherictoolbox.org/t/is-weight-variable-used-in-bin-operation/686 "2023-09-15T08:37:46Z")

</div>

My use case is the following: when I want to create daily grids of S5P L2 data, I can either merge L2 files for all orbits of a day, and use a single bin\_spatial() operation on the merged L2 data, or use bin\_spatial() …

---

## [Harpmerge error relating to CODA and HDF5](https://forum.atmospherictoolbox.org/t/harpmerge-error-relating-to-coda-and-hdf5/679)

<div class="topic-metadata">

**Author:** [@mosaichaoyan](https://forum.atmospherictoolbox.org/u/mosaichaoyan)\
**Replies:** 4\
**Last updated:** [August 29, 2023, 1:40pm UTC](https://forum.atmospherictoolbox.org/t/harpmerge-error-relating-to-coda-and-hdf5/679 "2023-08-29T13:40:52Z")

</div>

I installed CODA (2.24.2), HDF4 (hdf-4.2.16), HDF5 (1.10.10) and HARP (1.19) from source on a ubuntu 20.04 machine following instructions on Installation — HARP 1.21 documentation. For CODA, the following steps were run…

---

## [Is pip install available for HARP?](https://forum.atmospherictoolbox.org/t/is-pip-install-available-for-harp/676)

<div class="topic-metadata">

**Author:** [@mosaichaoyan](https://forum.atmospherictoolbox.org/u/mosaichaoyan)\
**Replies:** 1\
**Last updated:** [August 22, 2023, 2:34pm UTC](https://forum.atmospherictoolbox.org/t/is-pip-install-available-for-harp/676 "2023-08-22T14:34:18Z")

</div>

Hi, I have been using HARP to preprocess S5P data on my computer. Recently, I wanted to migrate the processing pipeline to DataBricks. But installing HARP on DataBricks is challenging for me. Is there a place where whl …

---

## [How to use Ingestion options to process v01 version S5P O3 data](https://forum.atmospherictoolbox.org/t/how-to-use-ingestion-options-to-process-v01-version-s5p-o3-data/674)

<div class="topic-metadata">

**Author:** [@canace](https://forum.atmospherictoolbox.org/u/canace)\
**Replies:** 4\
**Last updated:** [August 16, 2023, 3:33pm UTC](https://forum.atmospherictoolbox.org/t/how-to-use-ingestion-options-to-process-v01-version-s5p-o3-data/674 "2023-08-16T15:33:35Z")

</div>

I used the following code to calculate the monthly mean of ozone for March 2022 in my previous research: input\_files=r"D:\\Downloads\\S5P\\1903\_O3\_S5P\\xx\\S5P\*.nc" export\_path=r"D:\\Downloads\\S5P\\monthly mean\\1903\_O3\_GZ1.nc…

---

## [Segmentation Fault during harpmerge of s5p\_pal\_\_l2\_\_aer\_ot files](https://forum.atmospherictoolbox.org/t/segmentation-fault-during-harpmerge-of-s5p-pal-l2-aer-ot-files/671)

<div class="topic-metadata">

**Author:** [@ShobithaShetty](https://forum.atmospherictoolbox.org/u/ShobithaShetty)\
**Replies:** 4\
**Last updated:** [August 15, 2023, 1:35pm UTC](https://forum.atmospherictoolbox.org/t/segmentation-fault-during-harpmerge-of-s5p-pal-l2-aer-ot-files/671 "2023-08-15T13:35:30Z")

</div>

I want to regrid S5P PAL AOT product using harp and the support for the same was extended in the recent harp 1.19 release. But when I execute the below commands in the command line, I get ‘segmentation fault’ error. har…

---

## [Issue with Changing Pixel Area](https://forum.atmospherictoolbox.org/t/issue-with-changing-pixel-area/660)

<div class="topic-metadata">

**Author:** [@jawi289o](https://forum.atmospherictoolbox.org/u/jawi289o)\
**Replies:** 7\
**Last updated:** [July 24, 2023, 9:15am UTC](https://forum.atmospherictoolbox.org/t/issue-with-changing-pixel-area/660 "2023-07-24T09:15:32Z")

</div>

Hello, I am currently facing an issue while working with S02 Sentinel-5P data using the HARP tool. Specifically, I have noticed that the pixel area is undergoing unexpected changes, which is not in line with the consist…

---

## [HARP regridding s5p\_pal\_\_l2\_\_aer\_ot](https://forum.atmospherictoolbox.org/t/harp-regridding-s5p-pal-l2-aer-ot/623)

<div class="topic-metadata">

**Author:** [@kerstin](https://forum.atmospherictoolbox.org/u/kerstin)\
**Replies:** 4\
**Last updated:** [July 21, 2023, 9:24am UTC](https://forum.atmospherictoolbox.org/t/harp-regridding-s5p-pal-l2-aer-ot/623 "2023-07-21T09:24:28Z")

</div>

Hi, is there a way to regrid s5p\_pal\_\_l2\_\_aer\_ot data using HARP (it is not in the parameter list for harp 1.17). Do you plan to add the pal\_l2\_aer\_ot to harp ? regards, Kerstin

---

## [Best bin\_spatial resolution to match TROPOMI sensor data](https://forum.atmospherictoolbox.org/t/best-bin-spatial-resolution-to-match-tropomi-sensor-data/247)

<div class="topic-metadata">

**Author:** [@DM256](https://forum.atmospherictoolbox.org/u/DM256)\
**Replies:** 11\
**Last updated:** [July 20, 2023, 12:26pm UTC](https://forum.atmospherictoolbox.org/t/best-bin-spatial-resolution-to-match-tropomi-sensor-data/247 "2023-07-20T12:26:07Z")

</div>

Hello, I’m working with HARP merge and I’m wondering what the best resolution is to use the bin\_spatial tool for the 7x3.5km resolution available from S5P. Obviously it would depend on the latitude but is there a rule …

---

## [Random error propagation with harp spatial binning](https://forum.atmospherictoolbox.org/t/random-error-propagation-with-harp-spatial-binning/605)

<div class="topic-metadata">

**Author:** [@christl](https://forum.atmospherictoolbox.org/u/christl)\
**Replies:** 39\
**Last updated:** [July 17, 2023, 3:02pm UTC](https://forum.atmospherictoolbox.org/t/random-error-propagation-with-harp-spatial-binning/605 "2023-07-17T15:02:17Z")

</div>

I’m searching a way to account for the number of observations when spatially binning data with harp some random error variables. As you know, those errors are generally considered to be reduced by sqrt(N\_obs) when averag…

---

## [Problem to reproject HARP netcdf output file in EPSG:4326](https://forum.atmospherictoolbox.org/t/problem-to-reproject-harp-netcdf-output-file-in-epsg-4326/653)

<div class="topic-metadata">

**Author:** [@TheRed86](https://forum.atmospherictoolbox.org/u/TheRed86)\
**Replies:** 5\
**Last updated:** [June 13, 2023, 5:13pm UTC](https://forum.atmospherictoolbox.org/t/problem-to-reproject-harp-netcdf-output-file-in-epsg-4326/653 "2023-06-13T17:13:46Z")

</div>

Hi, I must convert the HARP output file to raster data projected in EPSG:4326 CRS. However, using gdal to extract latitude\_bounds or longitude\_bounds, I get the following error: gdal\_translate -of VRT HDF5:S5P\_OFFL\_L2…

---

## [Create a time series of SP5 NO2 data merging tiles to cover Europe country](https://forum.atmospherictoolbox.org/t/create-a-time-series-of-sp5-no2-data-merging-tiles-to-cover-europe-country/652)

<div class="topic-metadata">

**Author:** [@TheRed86](https://forum.atmospherictoolbox.org/u/TheRed86)\
**Replies:** 11\
**Last updated:** [June 13, 2023, 11:25am UTC](https://forum.atmospherictoolbox.org/t/create-a-time-series-of-sp5-no2-data-merging-tiles-to-cover-europe-country/652 "2023-06-13T11:25:22Z")

</div>

Hi, I discovered the HARP module while struggling with SP5 data a few days ago. I must create a .nc file containing a time series (e.g., ten consecutive days) of merged tiles (I need to cover a delimited area, so I nee…

---

## [Extract Date from Data](https://forum.atmospherictoolbox.org/t/extract-date-from-data/644)

<div class="topic-metadata">

**Author:** [@jawi289o](https://forum.atmospherictoolbox.org/u/jawi289o)\
**Replies:** 5\
**Last updated:** [June 12, 2023, 11:05am UTC](https://forum.atmospherictoolbox.org/t/extract-date-from-data/644 "2023-06-12T11:05:13Z")

</div>

Hello I want to extract date of that particular nc file from the CH4 data. Is it possible? I am following the usecase 3 while converting the nc data to geodataframe. But I need date in the final geodataframe. operation…

---

## [Unexplained harp error with v1.17](https://forum.atmospherictoolbox.org/t/unexplained-harp-error-with-v1-17/647)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 2\
**Last updated:** [May 16, 2023, 11:50am UTC](https://forum.atmospherictoolbox.org/t/unexplained-harp-error-with-v1-17/647 "2023-05-16T11:50:35Z")

</div>

Dear Sander, I am encountering a harp error, via python, on a code that I was using back in February. The code is attached to the end of this message. It reads, via coda, the NASA OMI L2G daily product and outputs in ha…

---

## [Speed things up with operations?](https://forum.atmospherictoolbox.org/t/speed-things-up-with-operations/577)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 7\
**Last updated:** [May 15, 2023, 2:58pm UTC](https://forum.atmospherictoolbox.org/t/speed-things-up-with-operations/577 "2023-05-15T14:58:52Z")

</div>

try: # import the entire product in lat/lon but only keep the variables we want product = harp.import\_product(infile,operations = ‘keep(latitude, longitude, solar\_zenith\_angle,viewing\_zenith\_angle, scan\_subindex, da…

---

## [Reading TROPOSIF data, error while using harp.import\_product](https://forum.atmospherictoolbox.org/t/reading-troposif-data-error-while-using-harp-import-product/642)

<div class="topic-metadata">

**Author:** [@oscarrojas](https://forum.atmospherictoolbox.org/u/oscarrojas)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 3:32pm UTC](https://forum.atmospherictoolbox.org/t/reading-troposif-data-error-while-using-harp-import-product/642 "2023-05-02T15:32:15Z")

</div>

Hello, I’m working with TROPOSIF data, and I’m triying to regrid it to compare it with some outputs from an assimilation tool at the European scale. When I’m trying to import the data using harp I got the following erro…

---

## [How to install harp without using ./configure on Unix](https://forum.atmospherictoolbox.org/t/how-to-install-harp-without-using-configure-on-unix/629)

<div class="topic-metadata">

**Author:** [@oscarrojas](https://forum.atmospherictoolbox.org/u/oscarrojas)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 1:48pm UTC](https://forum.atmospherictoolbox.org/t/how-to-install-harp-without-using-configure-on-unix/629 "2023-05-02T13:48:26Z")

</div>

Hello, I’m trying to install HARP on my works computer (Unix) but I do not have permission to do it. Indeed, when I tap the ./configure command on the terminal I have the following message: ./configure: Permission denie…

---

## [How to deal with SO2 from COBRA after QA\>0.5 and with Nan values](https://forum.atmospherictoolbox.org/t/how-to-deal-with-so2-from-cobra-after-qa-0-5-and-with-nan-values/609)

<div class="topic-metadata">

**Author:** [@makr\_is](https://forum.atmospherictoolbox.org/u/makr_is)\
**Replies:** 7\
**Last updated:** [April 5, 2023, 1:52pm UTC](https://forum.atmospherictoolbox.org/t/how-to-deal-with-so2-from-cobra-after-qa-0-5-and-with-nan-values/609 "2023-04-05T13:52:31Z")

</div>

I am trying now to regridd SO2-COBRA Data with a QA\_flag\>=0.5. But I don’t know what HARP does with the other values where QA\<0.5 and Nan values. I want to compare model with COBRA SO2. So this is my script: ##### COBRA…

---

## [Merge same date orbit and cut to polygon](https://forum.atmospherictoolbox.org/t/merge-same-date-orbit-and-cut-to-polygon/621)

<div class="topic-metadata">

**Author:** [@fnbellomo](https://forum.atmospherictoolbox.org/u/fnbellomo)\
**Replies:** 1\
**Last updated:** [March 18, 2023, 11:36am UTC](https://forum.atmospherictoolbox.org/t/merge-same-date-orbit-and-cut-to-polygon/621 "2023-03-18T11:36:10Z")

</div>

Hello everyone. I am analyzing the methane from a big polygon involving two images (two orbits) of the 5P from the same day. I would like to use harp to generate L3 images, cut to my area of interest and merge to one im…

---

## [What are the errors in my code to visualize Sentinel 5P Ozone using python](https://forum.atmospherictoolbox.org/t/what-are-the-errors-in-my-code-to-visualize-sentinel-5p-ozone-using-python/618)

<div class="topic-metadata">

**Author:** [@kmmrao](https://forum.atmospherictoolbox.org/u/kmmrao)\
**Replies:** 2\
**Last updated:** [March 5, 2023, 1:31pm UTC](https://forum.atmospherictoolbox.org/t/what-are-the-errors-in-my-code-to-visualize-sentinel-5p-ozone-using-python/618 "2023-03-05T13:31:55Z")

</div>

I am trying to visualize Sentinel 5P Ozone using python. I am getting the following errors and how can I fix these ?

---

## [How to neglect Nan values](https://forum.atmospherictoolbox.org/t/how-to-neglect-nan-values/611)

<div class="topic-metadata">

**Author:** [@makr\_is](https://forum.atmospherictoolbox.org/u/makr_is)\
**Replies:** 2\
**Last updated:** [February 16, 2023, 4:19pm UTC](https://forum.atmospherictoolbox.org/t/how-to-neglect-nan-values/611 "2023-02-16T16:19:09Z")

</div>

Hello, I used the qa\_flag\>0.5 for SO2 values and I got some missing spots in the plot. My question is: How can I neglect these Nan values so that the function gives me the mean value of a Box without counting the NAN v…

---

## [Command line harpmerge | sequence of filters](https://forum.atmospherictoolbox.org/t/command-line-harpmerge-sequence-of-filters/607)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 7:15am UTC](https://forum.atmospherictoolbox.org/t/command-line-harpmerge-sequence-of-filters/607 "2023-02-13T07:15:45Z")

</div>

Good evening Sander, I wanted to ask about the sequence of operations/options in harpmerge, command line edition. I am using harpmerge -a ‘SO2\_column\_number\_density\>0.8; SO2\_column\_number\_density\_validity!& 255;scan\_d…

---

## [Harpmerge on the command line | ingestion question on GOME2AB SO2 flags](https://forum.atmospherictoolbox.org/t/harpmerge-on-the-command-line-ingestion-question-on-gome2ab-so2-flags/581)

<div class="topic-metadata">

**Author:** [@mariliza](https://forum.atmospherictoolbox.org/u/mariliza)\
**Replies:** 18\
**Last updated:** [February 10, 2023, 7:11pm UTC](https://forum.atmospherictoolbox.org/t/harpmerge-on-the-command-line-ingestion-question-on-gome2ab-so2-flags/581 "2023-02-10T19:11:55Z")

</div>

Dear Sander, dear all forum users, I wish to make some daily gridded files for the GOME2AB SO2 operational GDP4.8 product. I am using : harpmerge -o ‘detailed\_results=SO2;corrected=true;so2\_column=2.5km’ -ap ‘bin\_spati…

---

## [Tropo NO2\_column\_number\_density\_avk product derivation](https://forum.atmospherictoolbox.org/t/tropo-no2-column-number-density-avk-product-derivation/596)

<div class="topic-metadata">

**Author:** [@ramesh](https://forum.atmospherictoolbox.org/u/ramesh)\
**Replies:** 4\
**Last updated:** [January 25, 2023, 10:18am UTC](https://forum.atmospherictoolbox.org/t/tropo-no2-column-number-density-avk-product-derivation/596 "2023-01-25T10:18:33Z")

</div>

I am using sentinel 5p NO2 offline data. I am using harp tool for deriving \*'tropospheric\_NO2\_column\_number\_density\_avk product .I am not able to save this product to be store as a netcdf file. When i use derive command…

---

## [Pre-processing S-5P fire emission using Python](https://forum.atmospherictoolbox.org/t/pre-processing-s-5p-fire-emission-using-python/590)

<div class="topic-metadata">

**Author:** [@LilyLewis](https://forum.atmospherictoolbox.org/u/LilyLewis)\
**Replies:** 9\
**Last updated:** [January 23, 2023, 1:44pm UTC](https://forum.atmospherictoolbox.org/t/pre-processing-s-5p-fire-emission-using-python/590 "2023-01-23T13:44:48Z")

</div>

Hi, I am trying to pre-process S-5P files to clip the files to ROI so they can be merged. The code I have is not causing an error but it is not processing any files either. After running it just shows the statement: Pre…

---

## [Inconsistencies for GOME-2 using harp for python](https://forum.atmospherictoolbox.org/t/inconsistencies-for-gome-2-using-harp-for-python/593)

<div class="topic-metadata">

**Author:** [@chrisbo](https://forum.atmospherictoolbox.org/u/chrisbo)\
**Replies:** 6\
**Last updated:** [January 17, 2023, 10:17am UTC](https://forum.atmospherictoolbox.org/t/inconsistencies-for-gome-2-using-harp-for-python/593 "2023-01-17T10:17:50Z")

</div>

Hi, I have just processed GOME-2 L1b data (reprocessed GOME-2 data from the recently published FDR) and wanted to combine and compare it with the results of QA4ECV. To do this, I first analysed the same L1B file with th…

[Previous page](https://forum.atmospherictoolbox.org/c/harp/6.md?page=1)

[Next page](https://forum.atmospherictoolbox.org/c/harp/6.md?page=3)
