Preheat oven to 350°F (175°C). Grease a 9x5-inch loaf pan and line with parchment paper, leaving an overhang on two sides.
In a medium bowl, whisk together flour, baking soda, baking powder, salt, cinnamon, and nutmeg.
In a large bowl, whisk both sugars, eggs, oil, sour cream, and vanilla until smooth. Stir in grated zucchini.
Add dry ingredients to wet ingredients and fold gently with a spatula until just combined; do not overmix.
In a small bowl, mix 1/4 cup sugar and 1 tablespoon cinnamon for the swirl. In another small bowl, toss pecans with melted butter.
Pour half the batter into the prepared pan. Sprinkle cinnamon sugar evenly over the batter. Top with remaining batter and smooth the surface. Sprinkle buttered pecans on top.
Bake for 50-60 minutes, until a toothpick inserted in the center comes out clean. Tent with foil if browning too quickly. Cool in pan for 15 minutes, then transfer to a wire rack to cool completely.