When it comes to shooting Sunrises and sunsets, there are two options. You can shoot the sun in the picture or you can shoot the effect that the sun has on the scenery but the latter of the two requires that you stay on the scene longer to get the effect you want. After the sun sets, the sky will calm down and then light back up with the most brilliant and vibrant colors giving it a stunning effect on the scene you are trying to capture.
The technique for getting a stunning photo is to set it on a long exposure and using a long shutter speed so you can get the effects of say like the water of the ocean rippling.
Exposure can be tricky especially if your shooting at the sun itself and when the sun is in the picture, its going to cause the camera to underexpose.
D7000, AF-S DX Zoom-NIKKOR 10-24mm f/3.5-4.5G ED, 1/200 second, f/16, ISO 100, aperture priority, Matrix metering (A three-exposure HDR [for sky] with auto bracketing at -2, 0, +2. A graduated ND filter held back the sky exposure)