# Use qdoas2harp for format conversion

**URL:** https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755
**Category:** QDOAS
**Tags:** sentinel-5p
**Created:** [February 26, 2024, 12:59pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755 "2024-02-26T12:59:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![lijie](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@lijie](https://forum.atmospherictoolbox.org/u/lijie)
#### Post date: [February 26, 2024, 12:59pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/1 "2024-02-26T12:59:27Z")

</div>

When I successfully used qdoas software to invert and output the inversion file, I used qdoas2harp for format conversion, but used this command (qd2hp -outdir ./harp\_out/2020/08/10 -fitwin w320\_h2co\_radasref -slcol "ch2o = HCHO " .//2020/08/10/S5P\_RPRO\_L1B\_RA\_BD3\_20200810T014139\_20200810T032308\_14637\_03\_020100\_20220707T114433.nc) and encountered the error shown in the figure below. I don’t know what caused this error? I hope to receive your answer.

 ![image](https://forum.atmospherictoolbox.org/uploads/default/original/1X/e711f8efa2d4835cf2b44bd27c01831910647cb8.png)

---

<div class="post-metadata">

### Author: ![jonasv](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/j/22d042/32.png) [@jonasv](https://forum.atmospherictoolbox.org/u/jonasv)
#### Post date: [February 26, 2024, 1:44pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/2 "2024-02-26T13:44:00Z")

</div>

Hi, I dont see immediately what the cause could be here. Can you check the chunksizes in the qdoas output file?

---

<div class="post-metadata">

### Author: ![lijie](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@lijie](https://forum.atmospherictoolbox.org/u/lijie)
#### Post date: [February 26, 2024, 1:57pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/3 "2024-02-26T13:57:18Z")

</div>

Thank you for your reply，The chunksizes is shown in the figure

 ![image](https://forum.atmospherictoolbox.org/uploads/default/original/1X/5453ea4af350ce2aab71a741d20a2a21fcbc37de.png)

---

<div class="post-metadata">

### Author: ![lijie](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@lijie](https://forum.atmospherictoolbox.org/u/lijie)
#### Post date: [February 26, 2024, 2:07pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/4 "2024-02-26T14:07:31Z")

</div>

Is it a version issue with my HDF5 library? What version of the HDF5 library do I need?

---

<div class="post-metadata">

### Author: ![sander.niemeijer](https://forum.atmospherictoolbox.org/user_avatar/forum.atmospherictoolbox.org/sander.niemeijer/32/5_2.png) [@sander.niemeijer](https://forum.atmospherictoolbox.org/u/sander.niemeijer)
#### Post date: [February 26, 2024, 2:20pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/5 "2024-02-26T14:20:35Z")

</div>

This looks more like a potential issue in either qdoas2harp or harp itself.  
HARP is the one setting the chunking, which seems to fail.  
Do any of the variables have more than 4294967295 elements?  
Is (question for Jonas) qdoas2harp perhaps passing a harp variable with incorrect dimensions (e.g. with a negative value for a dimension)?

---

<div class="post-metadata">

### Author: ![lijie](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/3d9bf3/32.png) [@lijie](https://forum.atmospherictoolbox.org/u/lijie)
#### Post date: [February 26, 2024, 2:35pm UTC](https://forum.atmospherictoolbox.org/t/use-qdoas2harp-for-format-conversion/755/6 "2024-02-26T14:35:52Z")

</div>

My qdoas files chunksizes are all as shown in the figure, and it is true.

but，This error occurred in my Windows system, and when I executed this command on my Linux, the error disappeared. So is it because of an issue with my HDF5 version? I have installed harp and qdoas2harp correctly and there are no errors displayed
