We are fabricating gas pipe lines as per ASME B31.3. There is a requirement of thermowell to a primary pipeline, so can we weld a socket weld flange directly to primary pipe, or can we weld a weldolet on a primary pipe and weld a flange directly to the weldolet. kindly advise.