I recently purchased a bag of medium roasted coffee beans that is from a popular coffee chain to try to start grinding my own coffee. However, I've found that these beans smell a lot like dirt or even manure with some sort of nauseating nutty smell. This is very different from the same brand's ground coffee which has the usually good smelling coffee.
This is a new bag, so I've decided not to purchase that brand again however I didn't think coffee could smell this way.
What is the smell of this "dirty" scent of the coffee coming from? Is it from the roasting process? Would I get this if I were to roast my own beans?