# Use methane mixing ratio bias\_corrected in harp with python

**URL:** https://forum.atmospherictoolbox.org/t/use-methane-mixing-ratio-bias-corrected-in-harp-with-python/200
**Category:** HARP
**Tags:** sentinel-5p, python
**Created:** [August 14, 2020, 10:06pm UTC](https://forum.atmospherictoolbox.org/t/use-methane-mixing-ratio-bias-corrected-in-harp-with-python/200 "2020-08-14T22:06:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wannh](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@wannh](https://forum.atmospherictoolbox.org/u/wannh)
#### Post date: [August 14, 2020, 10:06pm UTC](https://forum.atmospherictoolbox.org/t/use-methane-mixing-ratio-bias-corrected-in-harp-with-python/200/1 "2020-08-14T22:06:47Z")

</div>

Hi, sir, from my methane dataset it has methane\_mixing\_ratio and methane\_mixing\_ratio\_bias\_corrected dataset, when I use harp to processing the data, how should I know which data was used ? Here is my python code,

 ![image](https://forum.atmospherictoolbox.org/uploads/default/original/1X/9bf8c6a184b044010951c8d7ba7388bda8f9925e.png)  
I read harp document [S5P\_L2\_CH4 — HARP 1.13 documentation](http://stcorp.github.io/harp/doc/html/ingestions/S5P_L2_CH4.html),  
 ![image](https://forum.atmospherictoolbox.org/uploads/default/original/1X/2cdb58b78d5c94180da9db1f3aec44d379776f39.png)  
my understanding is the default data used is methane\_mixing\_ratio, what if I want to use methane\_mixing\_ratio\_bias\_corrected, how should I edit the code? many thanks

---

<div class="post-metadata">

### Author: ![wannh](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/w/b9bd4f/32.png) [@wannh](https://forum.atmospherictoolbox.org/u/wannh)
#### Post date: [August 16, 2020, 6:00am UTC](https://forum.atmospherictoolbox.org/t/use-methane-mixing-ratio-bias-corrected-in-harp-with-python/200/2 "2020-08-16T06:00:56Z")

</div>

From this question, [Questions on Cloud\_fraction in L2\_NO2 and S5P\_L2\_CLOUD](https://forum.atmospherictoolbox.org/t/questions-on-cloud-fraction-in-l2-no2-and-s5p-l2-cloud/150)  
I thought the python code shoud be like this, and it works

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

---

<div class="post-metadata">

### Author: ![luigi](https://forum.atmospherictoolbox.org/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://forum.atmospherictoolbox.org/u/luigi)
#### Post date: [August 17, 2020, 8:59am UTC](https://forum.atmospherictoolbox.org/t/use-methane-mixing-ratio-bias-corrected-in-harp-with-python/200/3 "2020-08-17T08:59:00Z")

</div>

Hi,i’m sorry I don’t know Python language
