Preheat oven to 375°F (190°C). Line baking sheets with parchment paper.
In a small bowl, stir together flour, baking soda, and baking powder. Set aside.
In a large bowl, cream together the butter and sugar until smooth. Beat in egg, vanilla extract, and almond extract. Gradually blend in the dry ingredients. Add sour cream and mix until dough is soft and smooth.
Roll rounded teaspoonfuls of dough into balls, and place onto prepared baking sheets. Flatten each ball slightly with the bottom of a glass.
Bake 8 to 10 minutes in the preheated oven, or until golden. Let cool on wire racks.