Presented here is a cost-effective and transportable method/facility for measuring the primary productivity of microbial mats under actual in situ environmental temperature and light conditions. The experimental setup is based on widely available materials and can be used under various conditions while offering the advantages of laboratory-based models.