Use lowest hybrid level as surface temperature & dewpoint instead of 2m data. This is because 2m is largely affected by the surface of the earth which then skews the lifting of the particle: starting values are too high and too much CAPE is generated. When lowest hybrid level data (~10m) is used, the results are generally better and more in line with qdsoundingindex. Also assert that mixing ratio can't be larger than 60 (which already is a too large value).
Use lowest hybrid level as surface temperature & dewpoint instead of 2m data. This is because 2m is largely affected by the surface of the earth which then skews the lifting of the particle: starting values are too high and too much CAPE is generated. When lowest hybrid level data (~10m) is used, the results are generally better and more in line with qdsoundingindex. Also assert that mixing ratio can't be larger than 60 (which already is a too large value).

fmidev/himan,fmidev/himan,fmidev/himan