# Product contains no variables, or variables without data

**URL:** https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437
**Category:** HARP
**Created:** [December 15, 2021, 11:18pm UTC](https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437 "2021-12-15T23:18:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![almmartinezme](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@almmartinezme](https://forum.atmospherictoolbox.org/u/almmartinezme)
#### Post date: [December 15, 2021, 11:18pm UTC](https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437/1 "2021-12-15T23:18:53Z")

</div>

Cordial greeting.  
Download multiple files from S5P\_OFFL\_L2\_\_CH4 \_\_\_\_ 20200101 …  
as shown in the following figure:

 ![Download_files](https://forum.atmospherictoolbox.org/uploads/default/original/1X/7edbb17369a2b2f1735481efd348af5cad52591c.png)

I used the following code to convert CH4\_L2 to CH4\_L3:

> for i in input\_files\_OFFL:  
> harp\_L2\_L3 = harp.import\_product(i, operations="   
> CH4\_column\_volume\_mixing\_ratio\_dry\_air\_validity\>0.75;   
> latitude \> -4.5 ; latitude \< 14; longitude \> -82 ; longitude \< -66;   
> bin\_spatial(1800,-4,0.01,2000,-83,0.01);   
> keep(CH4\_column\_volume\_mixing\_ratio\_dry\_air,cloud\_fraction,latitude\_bounds,longitude\_bounds)")

```
export_folder = "{export_path}/{name}".format(export_path=export_path, name=i.split('/')[-1].replace('L2','L3'))
harp.export_product(harp_L2_L3, export_folder, file_format='netcdf')

```

print(colored(‘All L2 products converted to L3’, ‘green’))

But I get an error

 ![Error](https://forum.atmospherictoolbox.org/uploads/default/original/1X/36312c6c2dad1a959678e0b53337c2fb5643adee.png)

Thank you for your cooperation

---

<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: [December 16, 2021, 11:04am UTC](https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437/2 "2021-12-16T11:04:04Z")

</div>

Have a look at this post: [Issues with CH4 between January 11 and January 18](https://forum.atmospherictoolbox.org/t/issues-with-ch4-between-january-11-and-january-18/87)  
You are likely hitting the same problem. There just isn’t any valid data for your area and time period.

---

<div class="post-metadata">

### Author: ![almmartinezme](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@almmartinezme](https://forum.atmospherictoolbox.org/u/almmartinezme)
#### Post date: [December 16, 2021, 11:11am UTC](https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437/3 "2021-12-16T11:11:44Z")

</div>

Cordial greeting. Thanks for the reply.  
However, the file weights appear to show that there is data in the area.

---

<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: [December 16, 2021, 11:24am UTC](https://forum.atmospherictoolbox.org/t/product-contains-no-variables-or-variables-without-data/437/4 "2021-12-16T11:24:27Z")

</div>

If you have weights, then you won’t get a NoDataError.  
Note that this problem probably appears for _some_ of your `input_files_OFFL`, not _all_.
