Factors impacting gas content measurements using gas desorption by drilling underground boreholes